pub struct R(_);
Expand description
Register SLVCTL
reader
Implementations
sourceimpl R
impl R
sourcepub fn slvcontinue(&self) -> SLVCONTINUE_R
pub fn slvcontinue(&self) -> SLVCONTINUE_R
Bit 0 - Slave Continue.
sourcepub fn autoack(&self) -> AUTOACK_R
pub fn autoack(&self) -> AUTOACK_R
Bit 8 - Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt.
sourcepub fn automatchread(&self) -> AUTOMATCHREAD_R
pub fn automatchread(&self) -> AUTOMATCHREAD_R
Bit 9 - 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.
Methods from Deref<Target = R<SLVCTL_SPEC>>
Trait Implementations
sourceimpl From<R<SLVCTL_SPEC>> for R
impl From<R<SLVCTL_SPEC>> for R
sourcefn from(reader: R<SLVCTL_SPEC>) -> Self
fn from(reader: R<SLVCTL_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more