pub enum SLVSEL_A {
NOT_SELECTED,
SELECTED,
}
Expand description
Slave selected flag. SLVSEL is set after an address match when software tells the Slave function to acknowledge the address, or when the address has been automatically acknowledged. It is cleared when another address cycle presents an address that does not match an enabled address on the Slave function, when slave software decides to NACK a matched address, when there is a Stop detected on the bus, when the master NACKs slave data, and in some combinations of Automatic Operation. SLVSEL is not cleared if software NACKs data.
Value on reset: 0
Variants
NOT_SELECTED
0: Not selected. The Slave function is not currently selected.
SELECTED
1: Selected. The Slave function is currently selected.
Trait Implementations
impl Copy for SLVSEL_A
impl StructuralPartialEq for SLVSEL_A
Auto Trait Implementations
impl RefUnwindSafe for SLVSEL_A
impl Send for SLVSEL_A
impl Sync for SLVSEL_A
impl Unpin for SLVSEL_A
impl UnwindSafe for SLVSEL_A
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