pub enum WakeReason {
Received(RxInfo),
TimerExpired,
}Expand description
Why Mac::poll_wait_for_wake returned ready.
Returned by the sync phase-2 poll so that callers sharing a coordinator
across tasks can decide when to re-acquire the exclusive borrow for
Mac::process_wake_reason.
Variants§
Received(RxInfo)
A frame was received; its metadata is attached and the caller-provided
buffer has been populated with rx.len bytes.
TimerExpired
At least one coordinator timer has elapsed (ACK deadline, post-TX listen window, or a deferred transmit becoming ready).