[−][src]Enum lpc55_pac::i2c0::slvctl::AUTOMATCHREAD_A
pub enum AUTOMATCHREAD_A { I2C_WRITE, I2C_READ, }
When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation.
Value on reset: 0
Variants
0: The expected next operation in Automatic Mode is an I2C write.
1: The expected next operation in Automatic Mode is an I2C read.
Trait Implementations
impl Clone for AUTOMATCHREAD_A
[src][+]
impl Copy for AUTOMATCHREAD_A
[src]
impl Debug for AUTOMATCHREAD_A
[src][+]
impl From<AUTOMATCHREAD_A> for bool
[src][+]
impl PartialEq<AUTOMATCHREAD_A> for AUTOMATCHREAD_A
[src][+]
impl StructuralPartialEq for AUTOMATCHREAD_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,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,