pub struct SLVIDX_R(_);
Expand description
Field SLVIDX
reader - Slave address match Index. This field is valid when the I2C slave function has been selected by receiving an address that matches one of the slave addresses defined by any enabled slave address registers, and provides an identification of the address that was matched. It is possible that more than one address could be matched, but only one match can be reported here.
Implementations
sourceimpl SLVIDX_R
impl SLVIDX_R
sourcepub fn is_address0(&self) -> bool
pub fn is_address0(&self) -> bool
Checks if the value of the field is ADDRESS0
sourcepub fn is_address1(&self) -> bool
pub fn is_address1(&self) -> bool
Checks if the value of the field is ADDRESS1
sourcepub fn is_address2(&self) -> bool
pub fn is_address2(&self) -> bool
Checks if the value of the field is ADDRESS2
sourcepub fn is_address3(&self) -> bool
pub fn is_address3(&self) -> bool
Checks if the value of the field is ADDRESS3
Methods from Deref<Target = FieldReader<u8, SLVIDX_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SLVIDX_R
impl Send for SLVIDX_R
impl Sync for SLVIDX_R
impl Unpin for SLVIDX_R
impl UnwindSafe for SLVIDX_R
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