[−][src]Enum lpc55_pac::i2c0::stat::MSTSTATE_A
Master State code. The master state code reflects the master state when the MSTPENDING bit is set, that is the master is pending or in the idle state. Each value of this field indicates a specific required service for the Master function. All other values are reserved. See Table 400 for details of state values and appropriate responses.
Value on reset: 0
Variants
0: Idle. The Master function is available to be used for a new transaction.
1: Receive ready. Received data available (Master Receiver mode). Address plus Read was previously sent and Acknowledged by slave.
2: Transmit ready. Data can be transmitted (Master Transmitter mode). Address plus Write was previously sent and Acknowledged by slave.
3: NACK Address. Slave NACKed address.
4: NACK Data. Slave NACKed transmitted data.
Trait Implementations
impl Clone for MSTSTATE_A
[src]
pub fn clone(&self) -> MSTSTATE_A
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MSTSTATE_A
[src]
impl Debug for MSTSTATE_A
[src]
impl From<MSTSTATE_A> for u8
[src]
pub fn from(variant: MSTSTATE_A) -> Self
[src]
impl PartialEq<MSTSTATE_A> for MSTSTATE_A
[src]
pub fn eq(&self, other: &MSTSTATE_A) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for MSTSTATE_A
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,