Type Definition lpc81x_pac::lpc811::i2c0::stat::MSTPENDING_R

source ·
pub type MSTPENDING_R = BitReader<MSTPENDING_A>;
Expand description

Field MSTPENDING reader - Master Pending. Indicates that the Master is waiting to continue communication on the I2C-bus (pending) or is idle. When the master is pending, the MSTSTATE bits indicate what type of software service if any the master expects. This flag will cause an interrupt when set if, enabled via the INTENSET register. The MSTPENDING flag is not set when the DMA is handling an event (if the MSTDMA bit in the MSTCTL register is set). If the master is in the idle state, and no communication is needed, mask this interrupt.

Implementations§

Get enumerated values variant

Checks if the value of the field is IN_PROGRESS

Checks if the value of the field is PENDING