Type Definition lpc81x_pac::lpc810::i2c0::stat::SLVSTATE_R
source · pub type SLVSTATE_R = FieldReader<u8, SLVSTATE_A>;
Expand description
Field SLVSTATE
reader - Slave State code. Each value of this field indicates a specific required service for the Slave function. All other values are reserved. See Table 401 for state values and actions. note that the occurrence of some states and how they are handled are affected by DMA mode and Automatic Operation modes.
Implementations§
source§impl SLVSTATE_R
impl SLVSTATE_R
sourcepub fn variant(&self) -> Option<SLVSTATE_A>
pub fn variant(&self) -> Option<SLVSTATE_A>
Get enumerated values variant
sourcepub fn is_slave_address(&self) -> bool
pub fn is_slave_address(&self) -> bool
Checks if the value of the field is SLAVE_ADDRESS
sourcepub fn is_slave_receive(&self) -> bool
pub fn is_slave_receive(&self) -> bool
Checks if the value of the field is SLAVE_RECEIVE
sourcepub fn is_slave_transmit(&self) -> bool
pub fn is_slave_transmit(&self) -> bool
Checks if the value of the field is SLAVE_TRANSMIT