[][src]Type Definition lpc82x_pac::i2c0::slvqual0::W

type W = W<u32, SLVQUAL0>;

Writer for register SLVQUAL0

Methods

impl W[src]

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

Bit 0 - Qualify mode for slave address 0.

pub fn slvqual0(&mut self) -> SLVQUAL0_W[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]).