[][src]Type Definition esp32::i2c::i2c_slave_addr_reg::W

type W = W<u32, I2C_SLAVE_ADDR_REG>;

Writer for register I2C_SLAVE_ADDR_REG

Methods

impl W[src]

pub fn i2c_addr_10bit_en(&mut self) -> I2C_ADDR_10BIT_EN_W[src]

Bit 31 - This register is used to enable slave 10bit address mode.

pub fn i2c_slave_addr(&mut self) -> I2C_SLAVE_ADDR_W[src]

Bits 0:14 - when configured as i2c slave this register is used to configure slave's address.