Struct mcxn947_pac::I3C0
source · pub struct I3C0 { /* private fields */ }
Expand description
I3C
Implementations§
source§impl I3C0
impl I3C0
sourcepub const PTR: *const RegisterBlock = {0x40021000 as *const i3c0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40021000 as *const i3c0::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 - Target Interrupt Mask
sourcepub fn scapabilities2(&self) -> &SCAPABILITIES2
pub fn scapabilities2(&self) -> &SCAPABILITIES2
0x5c - Target Capabilities 2
sourcepub fn scapabilities(&self) -> &SCAPABILITIES
pub fn scapabilities(&self) -> &SCAPABILITIES
0x60 - Target Capabilities
sourcepub fn smaxlimits(&self) -> &SMAXLIMITS
pub fn smaxlimits(&self) -> &SMAXLIMITS
0x68 - Target Maximum Limits
sourcepub fn smsgmapaddr(&self) -> &SMSGMAPADDR
pub fn smsgmapaddr(&self) -> &SMSGMAPADDR
0x7c - Target Message Map Address
sourcepub fn mintmasked(&self) -> &MINTMASKED
pub fn mintmasked(&self) -> &MINTMASKED
0x98 - Controller Interrupt Mask
sourcepub fn mwmsg_sdr_mwmsg_sdr_data(&self) -> &MWMSG_SDR_MWMSG_SDR_DATA
pub fn mwmsg_sdr_mwmsg_sdr_data(&self) -> &MWMSG_SDR_MWMSG_SDR_DATA
0xd0 - Controller Write Message Data in SDR mode
sourcepub fn mwmsg_sdr_mwmsg_sdr_control(&self) -> &MWMSG_SDR_MWMSG_SDR_CONTROL
pub fn mwmsg_sdr_mwmsg_sdr_control(&self) -> &MWMSG_SDR_MWMSG_SDR_CONTROL
0xd0 - Controller Write Message Control in SDR mode
sourcepub fn mwmsg_ddr_mwmsg_ddr_data(&self) -> &MWMSG_DDR_MWMSG_DDR_DATA
pub fn mwmsg_ddr_mwmsg_ddr_data(&self) -> &MWMSG_DDR_MWMSG_DDR_DATA
0xd8 - Controller Write Message Data in DDR mode
sourcepub fn mwmsg_ddr_mwmsg_ddr_control2(&self) -> &MWMSG_DDR_MWMSG_DDR_CONTROL2
pub fn mwmsg_ddr_mwmsg_ddr_control2(&self) -> &MWMSG_DDR_MWMSG_DDR_CONTROL2
0xd8 - Controller Write Message in DDR mode Control 2
sourcepub fn mwmsg_ddr_mwmsg_ddr_control(&self) -> &MWMSG_DDR_MWMSG_DDR_CONTROL
pub fn mwmsg_ddr_mwmsg_ddr_control(&self) -> &MWMSG_DDR_MWMSG_DDR_CONTROL
0xd8 - Controller Write Message in DDR mode: First Control Word