Type Definition lpc81x_pac::lpc810::i2c0::stat::MSTSTATE_R

source ·
pub type MSTSTATE_R = FieldReader<u8, MSTSTATE_A>;
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