Enum lpc81x_pac::lpc811::i2c0::stat::MSTARBLOSS_A
source · pub enum MSTARBLOSS_A {
NO_LOSS,
ARBITRATION_LOSS,
}
Expand description
Master Arbitration Loss 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_LOSS
0: No Arbitration Loss has occurred.
ARBITRATION_LOSS
1: Arbitration loss. The Master function has experienced an Arbitration Loss. At this point, the Master function has already stopped driving the bus and gone to an idle state. Software can respond by doing nothing, or by sending a Start in order to attempt to gain control of the bus when it next becomes idle.
Trait Implementations§
source§impl Clone for MSTARBLOSS_A
impl Clone for MSTARBLOSS_A
source§fn clone(&self) -> MSTARBLOSS_A
fn clone(&self) -> MSTARBLOSS_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 MSTARBLOSS_A
impl Debug for MSTARBLOSS_A
source§impl From<MSTARBLOSS_A> for bool
impl From<MSTARBLOSS_A> for bool
source§fn from(variant: MSTARBLOSS_A) -> Self
fn from(variant: MSTARBLOSS_A) -> Self
Converts to this type from the input type.