pub type TX_ABRT_R = BitReader<TX_ABRT_A>;
Expand description

Field TX_ABRT reader - This bit indicates if DW_apb_i2c, as an I2C transmitter, is unable to complete the intended actions on the contents of the transmit FIFO. This situation can occur both as an I2C master or an I2C slave, and is referred to as a ‘transmit abort’. When this bit is set to 1, the IC_TX_ABRT_SOURCE register indicates the reason why the transmit abort takes places.

Note: The DW_apb_i2c flushes/resets/empties the TX_FIFO and RX_FIFO whenever there is a transmit abort caused by any of the events tracked by the IC_TX_ABRT_SOURCE register. The FIFOs remains in this flushed state until the register IC_CLR_TX_ABRT is read. Once this read is performed, the Tx FIFO is then ready to accept more data bytes from the APB interface.

Reset value: 0x0

Aliased Type§

struct TX_ABRT_R { /* private fields */ }

Implementations§

source§

impl TX_ABRT_R

source

pub const fn variant(&self) -> TX_ABRT_A

Get enumerated values variant

source

pub fn is_inactive(&self) -> bool

TX_ABRT interrupt is inactive

source

pub fn is_active(&self) -> bool

TX_ABRT interrupt is active