Enum lpc81x_pac::lpc810::i2c0::stat::SLVNOTSTR_A
source · pub enum SLVNOTSTR_A {
STRETCHING,
NOT_STRETCHING,
}
Expand description
Slave Not Stretching. Indicates when the slave function is stretching the I2C clock. This is needed in order to gracefully invoke Deep Sleep or Power-down modes during slave operation. This read-only flag reflects the slave function status in real time.
Value on reset: 1
Variants§
STRETCHING
0: Stretching. The slave function is currently stretching the I2C bus clock. Deep-Sleep or Power-down mode cannot be entered at this time.
NOT_STRETCHING
1: Not stretching. The slave function is not currently stretching the I 2C bus clock. Deep-sleep or Power-down mode could be entered at this time.
Trait Implementations§
source§impl Clone for SLVNOTSTR_A
impl Clone for SLVNOTSTR_A
source§fn clone(&self) -> SLVNOTSTR_A
fn clone(&self) -> SLVNOTSTR_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SLVNOTSTR_A
impl Debug for SLVNOTSTR_A
source§impl From<SLVNOTSTR_A> for bool
impl From<SLVNOTSTR_A> for bool
source§fn from(variant: SLVNOTSTR_A) -> Self
fn from(variant: SLVNOTSTR_A) -> Self
Converts to this type from the input type.