pub enum Send {
OpenBuffer(Register),
WritePayload(u16),
CloseBuffer(Register),
SetStartDelay(u16),
SetTimerTrigger(u32),
ResetTrigger(Register),
ArmTrigger(Register),
}Expand description
A step in sending a packet.
The order is carried as data, so a driver walks it against a bus and a test walks it against nothing.
Variants§
OpenBuffer(Register)
Open the transmit buffer for writing.
WritePayload(u16)
Write the payload, starting here. For frequency shift keying the length goes first.
CloseBuffer(Register)
Close the buffer again.
SetStartDelay(u16)
Set the delay the chip starts early by, as a pair of bytes.
SetTimerTrigger(u32)
Program the counter value a timed send goes out at.
ResetTrigger(Register)
Reset a trigger, which the chip needs before it will take a new one.
ArmTrigger(Register)
Arm it.
Trait Implementations§
impl Copy for Send
impl Eq for Send
impl StructuralPartialEq for Send
Auto Trait Implementations§
impl Freeze for Send
impl RefUnwindSafe for Send
impl Send for Send
impl Sync for Send
impl Unpin for Send
impl UnsafeUnpin for Send
impl UnwindSafe for Send
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more