Enum lpc81x_pac::lpc810::i2c0::stat::MSTSTSTPERR_A
source · pub enum MSTSTSTPERR_A {
NO_ERROR,
ERROR,
}
Expand description
Master Start/Stop Error flag. This flag can be cleared by software writing a 1 to this bit. It is also cleared automatically a 1 is written to MSTCONTINUE.
Value on reset: 0
Variants§
NO_ERROR
0: No Start/Stop Error has occurred.
ERROR
1: The Master function has experienced a Start/Stop Error. A Start or Stop was detected at a time when it is not allowed by the I2C specification. The Master interface has stopped driving the bus and gone to an idle state, no action is required. A request for a Start could be made, or software could attempt to insure that the bus has not stalled.
Trait Implementations§
source§impl Clone for MSTSTSTPERR_A
impl Clone for MSTSTSTPERR_A
source§fn clone(&self) -> MSTSTSTPERR_A
fn clone(&self) -> MSTSTSTPERR_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 MSTSTSTPERR_A
impl Debug for MSTSTSTPERR_A
source§impl From<MSTSTSTPERR_A> for bool
impl From<MSTSTSTPERR_A> for bool
source§fn from(variant: MSTSTSTPERR_A) -> Self
fn from(variant: MSTSTSTPERR_A) -> Self
Converts to this type from the input type.