Type Alias esp32s3::i2c0::slave_addr::R

source ·
pub type R = R<SLAVE_ADDR_SPEC>;
Expand description

Register SLAVE_ADDR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn slave_addr(&self) -> SLAVE_ADDR_R

Bits 0:14 - When configured as an I2C Slave, this field is used to configure the slave address.

source

pub fn addr_10bit_en(&self) -> ADDR_10BIT_EN_R

Bit 31 - This field is used to enable the slave 10-bit addressing mode in master mode.