Struct lpc845_pac::i2c0::stat::MSTPENDING_R[][src]

pub struct MSTPENDING_R(_);
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

Methods from Deref<Target = FieldReader<bool, MSTPENDING_A>>

Reads raw bits from field.

Value of the field as raw bits.

Returns true if the bit is clear (0).

Returns true if the bit is set (1).

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.