pub struct I3C1 { /* private fields */ }Expand description
Improved inter-integrated circuit
Implementations§
Source§impl I3C1
impl I3C1
Sourcepub const PTR: *const RegisterBlock = {0x40005c00 as *const stm32h503::i3c1::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40005c00 as *const stm32h503::i3c1::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 i3c_cr_alternate(&self) -> &I3C_CR_ALTERNATE
pub fn i3c_cr_alternate(&self) -> &I3C_CR_ALTERNATE
0x00 - I3C message control register alternate
Sourcepub fn i3c_tgttdr(&self) -> &I3C_TGTTDR
pub fn i3c_tgttdr(&self) -> &I3C_TGTTDR
0x24 - I3C target transmit configuration register
Sourcepub fn i3c_maxrlr(&self) -> &I3C_MAXRLR
pub fn i3c_maxrlr(&self) -> &I3C_MAXRLR
0x90 - I3C maximum read length register
Sourcepub fn i3c_maxwlr(&self) -> &I3C_MAXWLR
pub fn i3c_maxwlr(&self) -> &I3C_MAXWLR
0x94 - I3C maximum write length register
Sourcepub fn i3c_timingr0(&self) -> &I3C_TIMINGR0
pub fn i3c_timingr0(&self) -> &I3C_TIMINGR0
0xa0 - I3C timing register 0
Sourcepub fn i3c_timingr1(&self) -> &I3C_TIMINGR1
pub fn i3c_timingr1(&self) -> &I3C_TIMINGR1
0xa4 - I3C timing register 1
Sourcepub fn i3c_timingr2(&self) -> &I3C_TIMINGR2
pub fn i3c_timingr2(&self) -> &I3C_TIMINGR2
0xa8 - I3C timing register 2
Sourcepub fn i3c_getcapr(&self) -> &I3C_GETCAPR
pub fn i3c_getcapr(&self) -> &I3C_GETCAPR
0xc8 - I3C get capability register
Sourcepub fn i3c_crcapr(&self) -> &I3C_CRCAPR
pub fn i3c_crcapr(&self) -> &I3C_CRCAPR
0xcc - I3C controller-role capability register
Sourcepub fn i3c_getmxdsr(&self) -> &I3C_GETMXDSR
pub fn i3c_getmxdsr(&self) -> &I3C_GETMXDSR
0xd0 - I3C get capability register