Type Alias R

Source
pub type R = R<SLAVE_ADDR_SPEC>;
Expand description

Register SLAVE_ADDR reader

Aliased Type§

pub 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.