[][src]Type Definition lpc55s6x_pac::i2c0::slvqual0::R

type R = R<u32, SLVQUAL0>;

Reader of register SLVQUAL0

Methods

impl R[src]

pub fn qualmode0(&self) -> QUALMODE0_R[src]

Bit 0 - Qualify mode for slave address 0.

pub fn slvqual0(&self) -> SLVQUAL0_R[src]

Bits 1:7 - Slave address Qualifier for address 0. A value of 0 causes the address in SLVADR0 to be used as-is, assuming that it is enabled. If QUALMODE0 = 0, any bit in this field which is set to 1 will cause an automatic match of the corresponding bit of the received address when it is compared to the SLVADR0 register. If QUALMODE0 = 1, an address range is matched for address 0. This range extends from the value defined by SLVADR0 to the address defined by SLVQUAL0 (address matches when SLVADR0[7:1] <= received address <= SLVQUAL0[7:1]).