pub struct I3c { /* private fields */ }Expand description
I3C
Implementations§
Source§impl I3c
impl I3c
Sourcepub const PTR: *const RegisterBlock = {0x40036000 as *const i3c::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40036000 as *const i3c::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 sintmasked(&self) -> &Sintmasked
pub fn sintmasked(&self) -> &Sintmasked
0x18 - Slave Interrupt Mask Register
Sourcepub fn scapabilities(&self) -> &Scapabilities
pub fn scapabilities(&self) -> &Scapabilities
0x60 - Slave Capabilities Register
Sourcepub fn smaxlimits(&self) -> &Smaxlimits
pub fn smaxlimits(&self) -> &Smaxlimits
0x68 - Slave Maximum Limits Register
Sourcepub fn smsgmapaddr(&self) -> &Smsgmapaddr
pub fn smsgmapaddr(&self) -> &Smsgmapaddr
0x7c - Slave Message-Mapped Address Register
Sourcepub fn mibirules(&self) -> &Mibirules
pub fn mibirules(&self) -> &Mibirules
0x8c - Master In-band Interrupt Registry and Rules Register
Sourcepub fn mintmasked(&self) -> &Mintmasked
pub fn mintmasked(&self) -> &Mintmasked
0x98 - Master Interrupt Mask Register
Sourcepub fn mwmsg_sdr_data(&self) -> &MwmsgSdrData
pub fn mwmsg_sdr_data(&self) -> &MwmsgSdrData
0xd0 - Master Write Message Data in SDR mode
Sourcepub fn mwmsg_sdr_control(&self) -> &MwmsgSdrControl
pub fn mwmsg_sdr_control(&self) -> &MwmsgSdrControl
0xd0 - Master Write Message in SDR mode
Sourcepub fn mwmsg_ddr_data(&self) -> &MwmsgDdrData
pub fn mwmsg_ddr_data(&self) -> &MwmsgDdrData
0xd8 - Master Write Message Data in DDR mode
Sourcepub fn mwmsg_ddr_control(&self) -> &MwmsgDdrControl
pub fn mwmsg_ddr_control(&self) -> &MwmsgDdrControl
0xd8 - Master Write Message in DDR mode