pub type SLVIDX_R = FieldReader<u8, SLVIDX_A>;
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§
source§impl 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