pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn hs_tmr_irq_en(&self) -> &HS_TMR_IRQ_EN
pub const fn hs_tmr_irq_en(&self) -> &HS_TMR_IRQ_EN
0x00 - HS Timer IRQ Enable Register
Sourcepub const fn hs_tmr_irq_stas(&self) -> &HS_TMR_IRQ_STAS
pub const fn hs_tmr_irq_stas(&self) -> &HS_TMR_IRQ_STAS
0x04 - HS Timer Status Register
Sourcepub const fn hs_tmr_ctrl(&self, n: usize) -> &HS_TMR_CTRL
pub const fn hs_tmr_ctrl(&self, n: usize) -> &HS_TMR_CTRL
0x20..0x28 - HS Timer Control Register
Sourcepub const fn hs_tmr0_ctrl(&self) -> &HS_TMR_CTRL
pub const fn hs_tmr0_ctrl(&self) -> &HS_TMR_CTRL
0x20 - HS Timer Control Register
Sourcepub const fn hs_tmr1_ctrl(&self) -> &HS_TMR_CTRL
pub const fn hs_tmr1_ctrl(&self) -> &HS_TMR_CTRL
0x40 - HS Timer Control Register
Sourcepub const fn hs_tmr_intv_lo(&self, n: usize) -> &HS_TMR_INTV_LO
pub const fn hs_tmr_intv_lo(&self, n: usize) -> &HS_TMR_INTV_LO
0x24..0x2c - HS Timer Interval Value Low Register
Sourcepub const fn hs_tmr0_intv_lo(&self) -> &HS_TMR_INTV_LO
pub const fn hs_tmr0_intv_lo(&self) -> &HS_TMR_INTV_LO
0x24 - HS Timer Interval Value Low Register
Sourcepub const fn hs_tmr1_intv_lo(&self) -> &HS_TMR_INTV_LO
pub const fn hs_tmr1_intv_lo(&self) -> &HS_TMR_INTV_LO
0x44 - HS Timer Interval Value Low Register
Sourcepub const fn hs_tmr_intv_hi(&self, n: usize) -> &HS_TMR_INTV_HI
pub const fn hs_tmr_intv_hi(&self, n: usize) -> &HS_TMR_INTV_HI
0x28..0x30 - HS Timer Interval Value High Register
Sourcepub const fn hs_tmr0_intv_hi(&self) -> &HS_TMR_INTV_HI
pub const fn hs_tmr0_intv_hi(&self) -> &HS_TMR_INTV_HI
0x28 - HS Timer Interval Value High Register
Sourcepub const fn hs_tmr1_intv_hi(&self) -> &HS_TMR_INTV_HI
pub const fn hs_tmr1_intv_hi(&self) -> &HS_TMR_INTV_HI
0x48 - HS Timer Interval Value High Register
Sourcepub const fn hs_tmr_curnt_lo(&self, n: usize) -> &HS_TMR_CURNT_LO
pub const fn hs_tmr_curnt_lo(&self, n: usize) -> &HS_TMR_CURNT_LO
0x2c..0x34 - HS Timer Current Value Low Register
Sourcepub const fn hs_tmr0_curnt_lo(&self) -> &HS_TMR_CURNT_LO
pub const fn hs_tmr0_curnt_lo(&self) -> &HS_TMR_CURNT_LO
0x2c - HS Timer Current Value Low Register
Sourcepub const fn hs_tmr1_curnt_lo(&self) -> &HS_TMR_CURNT_LO
pub const fn hs_tmr1_curnt_lo(&self) -> &HS_TMR_CURNT_LO
0x4c - HS Timer Current Value Low Register
Sourcepub const fn hs_tmr_curnt_hi(&self, n: usize) -> &HS_TMR_CURNT_HI
pub const fn hs_tmr_curnt_hi(&self, n: usize) -> &HS_TMR_CURNT_HI
0x30..0x38 - HS Timer Current Value High Register
Sourcepub const fn hs_tmr0_curnt_hi(&self) -> &HS_TMR_CURNT_HI
pub const fn hs_tmr0_curnt_hi(&self) -> &HS_TMR_CURNT_HI
0x30 - HS Timer Current Value High Register
Sourcepub const fn hs_tmr1_curnt_hi(&self) -> &HS_TMR_CURNT_HI
pub const fn hs_tmr1_curnt_hi(&self) -> &HS_TMR_CURNT_HI
0x50 - HS Timer Current Value High 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