Enum lpc81x_pac::lpc812::i2c0::cfg::MONCLKSTR_A
source · pub enum MONCLKSTR_A {
DISABLED,
ENABLED,
}
Expand description
Monitor function Clock Stretching.
Value on reset: 0
Variants§
DISABLED
0: Disabled. The Monitor function will not perform clock stretching. Software or DMA may not always be able to read data provided by the Monitor function before it is overwritten. This mode may be used when non-invasive monitoring is critical.
ENABLED
1: Enabled. The Monitor function will perform clock stretching in order to ensure that software or DMA can read all incoming data supplied by the Monitor function.
Trait Implementations§
source§impl Clone for MONCLKSTR_A
impl Clone for MONCLKSTR_A
source§fn clone(&self) -> MONCLKSTR_A
fn clone(&self) -> MONCLKSTR_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 MONCLKSTR_A
impl Debug for MONCLKSTR_A
source§impl From<MONCLKSTR_A> for bool
impl From<MONCLKSTR_A> for bool
source§fn from(variant: MONCLKSTR_A) -> Self
fn from(variant: MONCLKSTR_A) -> Self
Converts to this type from the input type.