pub struct I2C_ANA_MST { /* private fields */ }
Expand description
I2C_ANA_MST Peripheral
Implementations§
Source§impl I2C_ANA_MST
impl I2C_ANA_MST
Sourcepub const PTR: *const RegisterBlock = {0x600af800 as *const i2c_ana_mst::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x600af800 as *const i2c_ana_mst::RegisterBlock}
Pointer to the register block
Sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
Sourcepub fn i2c_ctrl_iter(&self) -> impl Iterator<Item = &I2C_CTRL>
pub fn i2c_ctrl_iter(&self) -> impl Iterator<Item = &I2C_CTRL>
Iterator for array of: 0x00..0x08 - I2C%s_CTRL register
Sourcepub fn burst_conf(&self) -> &BURST_CONF
pub fn burst_conf(&self) -> &BURST_CONF
0x10 - BURST_CONF register
Sourcepub fn burst_status(&self) -> &BURST_STATUS
pub fn burst_status(&self) -> &BURST_STATUS
0x14 - BURST_STATUS register
Sourcepub fn i2c_ctrl1_iter(&self) -> impl Iterator<Item = &I2C_CTRL1>
pub fn i2c_ctrl1_iter(&self) -> impl Iterator<Item = &I2C_CTRL1>
Iterator for array of: 0x24..0x2c - I2C%s_CTRL1 register
Sourcepub fn i2c0_ctrl1(&self) -> &I2C_CTRL1
pub fn i2c0_ctrl1(&self) -> &I2C_CTRL1
0x24 - I2C0_CTRL1 register
Sourcepub fn i2c1_ctrl1(&self) -> &I2C_CTRL1
pub fn i2c1_ctrl1(&self) -> &I2C_CTRL1
0x28 - I2C1_CTRL1 register