pub trait TxRxState {
type Error;
// Required method
fn is_transmitter_idle(&self) -> Result<bool, Self::Error>;
}Expand description
Inspect driver state related to transmit/receive operation.
Required Associated Types§
Required Methods§
Sourcefn is_transmitter_idle(&self) -> Result<bool, Self::Error>
fn is_transmitter_idle(&self) -> Result<bool, Self::Error>
Returns true when the transmitter is idle (no frames pending).
The exact definition of “idle” depends on the hardware/driver (e.g. all mailboxes empty).