pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn spinlock_systatus(&self) -> &SPINLOCK_SYSTATUS
pub const fn spinlock_systatus(&self) -> &SPINLOCK_SYSTATUS
0x00 - Spinlock System Status Register
Sourcepub const fn spinlock_status(&self) -> &SPINLOCK_STATUS
pub const fn spinlock_status(&self) -> &SPINLOCK_STATUS
0x10 - Spinlock Status Register
Sourcepub const fn spinlock_irq_en(&self) -> &SPINLOCK_IRQ_EN
pub const fn spinlock_irq_en(&self) -> &SPINLOCK_IRQ_EN
0x20 - Spinlock Interrupt Enable Register
Sourcepub const fn spinlock_irq_sta(&self) -> &SPINLOCK_IRQ_STA
pub const fn spinlock_irq_sta(&self) -> &SPINLOCK_IRQ_STA
0x40 - Spinlock Interrupt Status Register
Sourcepub const fn spinlock_lockid(&self, n: usize) -> &SPINLOCK_LOCKID
pub const fn spinlock_lockid(&self, n: usize) -> &SPINLOCK_LOCKID
0x80..0x94 - Spinlock Lockid Register
Sourcepub const fn spinlock_lock(&self, n: usize) -> &SPINLOCK_LOCK
pub const fn spinlock_lock(&self, n: usize) -> &SPINLOCK_LOCK
0x100..0x180 - Spinlock Register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more