Enum lpc845_pac::i2c0::stat::MSTPENDING_A [−][src]
pub enum MSTPENDING_A {
IN_PROGRESS,
PENDING,
}
Expand description
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.
Value on reset: 1
Variants
0: In progress. Communication is in progress and the Master function is busy and cannot currently accept a command.
1: Pending. The Master function needs software service or is in the idle state. If the master is not in the idle state, it is waiting to receive or transmit data or the NACK bit.
Trait Implementations
Performs the conversion.