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

pub struct MSTSTATE_R(_);
Expand description

Field MSTSTATE reader - Master State code. The master state code reflects the master state when the MSTPENDING bit is set, that is the master is pending or in the idle state. Each value of this field indicates a specific required service for the Master function. All other values are reserved. See Table 400 for details of state values and appropriate responses.

Implementations

Get enumerated values variant

Checks if the value of the field is IDLE

Checks if the value of the field is RECEIVE_READY

Checks if the value of the field is TRANSMIT_READY

Checks if the value of the field is NACK_ADDRESS

Checks if the value of the field is NACK_DATA

Methods from Deref<Target = FieldReader<u8, MSTSTATE_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.