Trait radio::Transmit [−][src]
Transmit trait for radios that can transmit packets
start_transmit
should be called to load data into the radio, with check_transmit
called
periodically (or using interrupts) to continue and finalise the transmission.
Associated Types
Loading content...Required methods
fn start_transmit(&mut self, data: &[u8]) -> Result<(), Self::Error>
[src]
Start sending a packet on the provided channel
Returns an error if send was not started
fn check_transmit(&mut self) -> Result<bool, Self::Error>
[src]
Check for send completion
Returns true for send complete, false otherwise
Implementors
impl<St, Reg, Ch, Inf, Irq, E> Transmit 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,