#[repr(u8)]pub enum Autoack {
NORMAL = 0,
AUTOMATIC_ACK = 1,
}Variants§
NORMAL = 0
Normal, non-automatic operation. If AUTONACK = 0, an SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, received addresses are NACKed (ignored).
AUTOMATIC_ACK = 1
A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, the behavior will depend on the AUTONACK bit in the SLVADR0 register: if AUTONACK is set, then it will be Nacked; else if AUTONACK is clear, then a SlvPending interrupt is generated.
Implementations§
Trait Implementations§
Source§impl Ord for Autoack
impl Ord for Autoack
Source§impl PartialOrd for Autoack
impl PartialOrd for Autoack
impl Copy for Autoack
impl Eq for Autoack
impl StructuralPartialEq for Autoack
Auto Trait Implementations§
impl Freeze for Autoack
impl RefUnwindSafe for Autoack
impl Send for Autoack
impl Sync for Autoack
impl Unpin for Autoack
impl UnwindSafe for Autoack
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more