Struct rk3399_pac::Mailbox0
source · pub struct Mailbox0 { /* private fields */ }
Expand description
Mailbox 0 Registers
Implementations§
source§impl Mailbox0
impl Mailbox0
sourcepub const PTR: *const RegisterBlock = {0xff6b0000 as *const mailbox::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xff6b0000 as *const mailbox::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 a2b_inten(&self) -> &A2bInten
pub fn a2b_inten(&self) -> &A2bInten
0x00 - Cortex-A53/Cortex-A72 to Cortex-M0 interrupt enable register
sourcepub fn a2b_status(&self) -> &A2bStatus
pub fn a2b_status(&self) -> &A2bStatus
0x04 - Cortex-A53/Cortex-A72 to Cortex-M0 interrupt status register
sourcepub fn b2a_inten(&self) -> &B2aInten
pub fn b2a_inten(&self) -> &B2aInten
0x28 - Cortex-A53/Cortex-A72 to Cortex-M0 interrupt enable register
sourcepub fn b2a_status(&self) -> &B2aStatus
pub fn b2a_status(&self) -> &B2aStatus
0x2c - Cortex-M0 to Cortex-A53/Cortex-A72 interrupt status register
sourcepub fn atomic_lock_00(&self) -> &AtomicLock00
pub fn atomic_lock_00(&self) -> &AtomicLock00
0x100 - Lock flag register 00
sourcepub fn atomic_lock_01(&self) -> &AtomicLock01
pub fn atomic_lock_01(&self) -> &AtomicLock01
0x104 - Lock flag register 01
sourcepub fn atomic_lock_02(&self) -> &AtomicLock02
pub fn atomic_lock_02(&self) -> &AtomicLock02
0x108 - Lock flag register 02
sourcepub fn atomic_lock_03(&self) -> &AtomicLock03
pub fn atomic_lock_03(&self) -> &AtomicLock03
0x10c - Lock flag register 03
sourcepub fn atomic_lock_04(&self) -> &AtomicLock04
pub fn atomic_lock_04(&self) -> &AtomicLock04
0x110 - Lock flag register 04
sourcepub fn atomic_lock_05(&self) -> &AtomicLock05
pub fn atomic_lock_05(&self) -> &AtomicLock05
0x114 - Lock flag register 05
sourcepub fn atomic_lock_06(&self) -> &AtomicLock06
pub fn atomic_lock_06(&self) -> &AtomicLock06
0x118 - Lock flag register 06
sourcepub fn atomic_lock_07(&self) -> &AtomicLock07
pub fn atomic_lock_07(&self) -> &AtomicLock07
0x11c - Lock flag register 07
sourcepub fn atomic_lock_08(&self) -> &AtomicLock08
pub fn atomic_lock_08(&self) -> &AtomicLock08
0x120 - Lock flag register 08
sourcepub fn atomic_lock_09(&self) -> &AtomicLock09
pub fn atomic_lock_09(&self) -> &AtomicLock09
0x124 - Lock flag register 09
sourcepub fn atomic_lock_10(&self) -> &AtomicLock10
pub fn atomic_lock_10(&self) -> &AtomicLock10
0x128 - Lock flag register 10
sourcepub fn atomic_lock_11(&self) -> &AtomicLock11
pub fn atomic_lock_11(&self) -> &AtomicLock11
0x12c - Lock flag register 11
sourcepub fn atomic_lock_12(&self) -> &AtomicLock12
pub fn atomic_lock_12(&self) -> &AtomicLock12
0x130 - Lock flag register 12
sourcepub fn atomic_lock_13(&self) -> &AtomicLock13
pub fn atomic_lock_13(&self) -> &AtomicLock13
0x134 - Lock flag register 13
sourcepub fn atomic_lock_14(&self) -> &AtomicLock14
pub fn atomic_lock_14(&self) -> &AtomicLock14
0x138 - Lock flag register 14
sourcepub fn atomic_lock_15(&self) -> &AtomicLock15
pub fn atomic_lock_15(&self) -> &AtomicLock15
0x13c - Lock flag register 15
sourcepub fn atomic_lock_16(&self) -> &AtomicLock16
pub fn atomic_lock_16(&self) -> &AtomicLock16
0x140 - Lock flag register 16
sourcepub fn atomic_lock_17(&self) -> &AtomicLock17
pub fn atomic_lock_17(&self) -> &AtomicLock17
0x144 - Lock flag register 17
sourcepub fn atomic_lock_18(&self) -> &AtomicLock18
pub fn atomic_lock_18(&self) -> &AtomicLock18
0x148 - Lock flag register 18
sourcepub fn atomic_lock_19(&self) -> &AtomicLock19
pub fn atomic_lock_19(&self) -> &AtomicLock19
0x14c - Lock flag register 19
sourcepub fn atomic_lock_20(&self) -> &AtomicLock20
pub fn atomic_lock_20(&self) -> &AtomicLock20
0x150 - Lock flag register 20
sourcepub fn atomic_lock_21(&self) -> &AtomicLock21
pub fn atomic_lock_21(&self) -> &AtomicLock21
0x154 - Lock flag register 21
sourcepub fn atomic_lock_22(&self) -> &AtomicLock22
pub fn atomic_lock_22(&self) -> &AtomicLock22
0x158 - Lock flag register 22
sourcepub fn atomic_lock_23(&self) -> &AtomicLock23
pub fn atomic_lock_23(&self) -> &AtomicLock23
0x15c - Lock flag register 23
sourcepub fn atomic_lock_24(&self) -> &AtomicLock24
pub fn atomic_lock_24(&self) -> &AtomicLock24
0x160 - Lock flag register 24
sourcepub fn atomic_lock_25(&self) -> &AtomicLock25
pub fn atomic_lock_25(&self) -> &AtomicLock25
0x164 - Lock flag register 25
sourcepub fn atomic_lock_26(&self) -> &AtomicLock26
pub fn atomic_lock_26(&self) -> &AtomicLock26
0x168 - Lock flag register 26
sourcepub fn atomic_lock_27(&self) -> &AtomicLock27
pub fn atomic_lock_27(&self) -> &AtomicLock27
0x16c - Lock flag register 27
sourcepub fn atomic_lock_28(&self) -> &AtomicLock28
pub fn atomic_lock_28(&self) -> &AtomicLock28
0x170 - Lock flag register 28
sourcepub fn atomic_lock_29(&self) -> &AtomicLock29
pub fn atomic_lock_29(&self) -> &AtomicLock29
0x174 - Lock flag register 29
sourcepub fn atomic_lock_30(&self) -> &AtomicLock30
pub fn atomic_lock_30(&self) -> &AtomicLock30
0x178 - Lock flag register 30
sourcepub fn atomic_lock_31(&self) -> &AtomicLock31
pub fn atomic_lock_31(&self) -> &AtomicLock31
0x17c - Lock flag register 31