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§
source§impl MSTSTATE_R
impl MSTSTATE_R
sourcepub fn variant(&self) -> Option<MSTSTATE_A>
pub fn variant(&self) -> Option<MSTSTATE_A>
Get enumerated values variant
sourcepub fn is_receive_ready(&self) -> bool
pub fn is_receive_ready(&self) -> bool
Checks if the value of the field is RECEIVE_READY
sourcepub fn is_transmit_ready(&self) -> bool
pub fn is_transmit_ready(&self) -> bool
Checks if the value of the field is TRANSMIT_READY
sourcepub fn is_nack_address(&self) -> bool
pub fn is_nack_address(&self) -> bool
Checks if the value of the field is NACK_ADDRESS
sourcepub fn is_nack_data(&self) -> bool
pub fn is_nack_data(&self) -> bool
Checks if the value of the field is NACK_DATA