Trait radio::State [−][src]
State trait for configuring and reading radio states
Note that drivers will internally configure and read radio states to manage radio operations.
Associated Types
Loading content...Required methods
fn set_state(&mut self, state: Self::State) -> Result<(), Self::Error>
[src]
Set the radio to a specified state
fn get_state(&mut self) -> Result<Self::State, Self::Error>
[src]
Fetch the current radio state
Implementors
impl<St, Reg, Ch, Inf, Irq, E> State for Radio<St, Reg, Ch, Inf, Irq, E> where
St: PartialEq + Debug + Clone,
Reg: PartialEq + Debug + Clone,
Ch: PartialEq + Debug + Clone,
Inf: PartialEq + Debug + Clone,
Irq: PartialEq + Debug + Clone,
E: PartialEq + Debug + Clone,
[src]
St: PartialEq + Debug + Clone,
Reg: PartialEq + Debug + Clone,
Ch: PartialEq + Debug + Clone,
Inf: PartialEq + Debug + Clone,
Irq: PartialEq + Debug + Clone,
E: PartialEq + Debug + Clone,