Enum capsules::ieee802154::framer::TxState   
                   
                       [−]
                   
               [src]
enum TxState {
    Idle,
    ReadyToEncrypt(FrameInfo, &'static mut [u8]),
    Encrypting(FrameInfo),
    ReadyToTransmit(FrameInfo, &'static mut [u8]),
}This state enum describes the state of the transmission pipeline. Conditionally-present state is also included as fields in the enum variants. We can view the transmission process as a state machine driven by the following events:
- calls to Mac#transmit
- send_donecallbacks from the underlying radio
- config_donecallbacks from the underlying radio (if, for example, configuration was in progress when a transmission was requested)
Variants
IdleThere is no frame to be transmitted.
ReadyToEncrypt(FrameInfo, &'static mut [u8])There is a valid frame that needs to be secured before transmission.
Encrypting(FrameInfo)There is currently a frame being encrypted by the encryption facility.
ReadyToTransmit(FrameInfo, &'static mut [u8])There is a frame that is completely secured or does not require security, and is waiting to be passed to the radio.
Trait Implementations
impl Eq for TxState[src]
fn assert_receiver_is_total_eq(&self)[src]
impl PartialEq for TxState[src]
fn eq(&self, __arg_0: &TxState) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TxState) -> bool[src]
This method tests for !=.