pub struct R(_);
Expand description
Register STATUS
reader
Implementations
sourceimpl R
impl R
sourcepub fn rx_buf_st(&self) -> RX_BUF_ST_R
pub fn rx_buf_st(&self) -> RX_BUF_ST_R
Bit 0 - 1: The data in the RX buffer is not empty, with at least one received data packet.
sourcepub fn overrun_st(&self) -> OVERRUN_ST_R
pub fn overrun_st(&self) -> OVERRUN_ST_R
Bit 1 - 1: The RX FIFO is full and data overrun has occurred.
sourcepub fn tx_buf_st(&self) -> TX_BUF_ST_R
pub fn tx_buf_st(&self) -> TX_BUF_ST_R
Bit 2 - 1: The TX buffer is empty, the CPU may write a message into it.
sourcepub fn tx_complete(&self) -> TX_COMPLETE_R
pub fn tx_complete(&self) -> TX_COMPLETE_R
Bit 3 - 1: The TWAI controller has successfully received a packet from the bus.
sourcepub fn rx_st(&self) -> RX_ST_R
pub fn rx_st(&self) -> RX_ST_R
Bit 4 - 1: The TWAI Controller is receiving a message from the bus.
sourcepub fn tx_st(&self) -> TX_ST_R
pub fn tx_st(&self) -> TX_ST_R
Bit 5 - 1: The TWAI Controller is transmitting a message to the bus.
sourcepub fn err_st(&self) -> ERR_ST_R
pub fn err_st(&self) -> ERR_ST_R
Bit 6 - 1: At least one of the RX/TX error counter has reached or exceeded the value set in register TWAI_ERR_WARNING_LIMIT_REG.
sourcepub fn bus_off_st(&self) -> BUS_OFF_ST_R
pub fn bus_off_st(&self) -> BUS_OFF_ST_R
Bit 7 - 1: In bus-off status, the TWAI Controller is no longer involved in bus activities.
Methods from Deref<Target = R<STATUS_SPEC>>
Trait Implementations
sourceimpl From<R<STATUS_SPEC>> for R
impl From<R<STATUS_SPEC>> for R
sourcefn from(reader: R<STATUS_SPEC>) -> Self
fn from(reader: R<STATUS_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more