Type Definition lpc81x_pac::lpc810::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§
source§impl MSTPENDING_R
impl MSTPENDING_R
sourcepub fn variant(&self) -> MSTPENDING_A
pub fn variant(&self) -> MSTPENDING_A
Get enumerated values variant
sourcepub fn is_in_progress(&self) -> bool
pub fn is_in_progress(&self) -> bool
Checks if the value of the field is IN_PROGRESS
sourcepub fn is_pending(&self) -> bool
pub fn is_pending(&self) -> bool
Checks if the value of the field is PENDING