pub type TX_CMD_BLOCK_R = BitReader<TX_CMD_BLOCK_A>;
Expand description

Field TX_CMD_BLOCK reader - In Master mode: - 1’b1: Blocks the transmission of data on I2C bus even if Tx FIFO has data to transmit. - 1’b0: The transmission of data starts on I2C bus automatically, as soon as the first data is available in the Tx FIFO. Note: To block the execution of Master commands, set the TX_CMD_BLOCK bit only when Tx FIFO is empty (IC_STATUS[2]==1) and Master is in Idle state (IC_STATUS[5] == 0). Any further commands put in the Tx FIFO are not executed until TX_CMD_BLOCK bit is unset. Reset value: IC_TX_CMD_BLOCK_DEFAULT

Aliased Type§

struct TX_CMD_BLOCK_R { /* private fields */ }

Implementations§

source§

impl TX_CMD_BLOCK_R

source

pub const fn variant(&self) -> TX_CMD_BLOCK_A

Get enumerated values variant

source

pub fn is_not_blocked(&self) -> bool

Tx Command execution not blocked

source

pub fn is_blocked(&self) -> bool

Tx Command execution blocked