RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn hs_tmr_irq_en(&self) -> &HS_TMR_IRQ_EN

0x00 - HS Timer IRQ Enable Register

Source

pub const fn hs_tmr_irq_stas(&self) -> &HS_TMR_IRQ_STAS

0x04 - HS Timer Status Register

Source

pub const fn hs_tmr_ctrl(&self, n: usize) -> &HS_TMR_CTRL

0x20..0x28 - HS Timer Control Register

Source

pub const fn hs_tmr0_ctrl(&self) -> &HS_TMR_CTRL

0x20 - HS Timer Control Register

Source

pub const fn hs_tmr1_ctrl(&self) -> &HS_TMR_CTRL

0x40 - HS Timer Control Register

Source

pub const fn hs_tmr_intv_lo(&self, n: usize) -> &HS_TMR_INTV_LO

0x24..0x2c - HS Timer Interval Value Low Register

Source

pub const fn hs_tmr0_intv_lo(&self) -> &HS_TMR_INTV_LO

0x24 - HS Timer Interval Value Low Register

Source

pub const fn hs_tmr1_intv_lo(&self) -> &HS_TMR_INTV_LO

0x44 - HS Timer Interval Value Low Register

Source

pub const fn hs_tmr_intv_hi(&self, n: usize) -> &HS_TMR_INTV_HI

0x28..0x30 - HS Timer Interval Value High Register

Source

pub const fn hs_tmr0_intv_hi(&self) -> &HS_TMR_INTV_HI

0x28 - HS Timer Interval Value High Register

Source

pub const fn hs_tmr1_intv_hi(&self) -> &HS_TMR_INTV_HI

0x48 - HS Timer Interval Value High Register

Source

pub const fn hs_tmr_curnt_lo(&self, n: usize) -> &HS_TMR_CURNT_LO

0x2c..0x34 - HS Timer Current Value Low Register

Source

pub const fn hs_tmr0_curnt_lo(&self) -> &HS_TMR_CURNT_LO

0x2c - HS Timer Current Value Low Register

Source

pub const fn hs_tmr1_curnt_lo(&self) -> &HS_TMR_CURNT_LO

0x4c - HS Timer Current Value Low Register

Source

pub const fn hs_tmr_curnt_hi(&self, n: usize) -> &HS_TMR_CURNT_HI

0x30..0x38 - HS Timer Current Value High Register

Source

pub const fn hs_tmr0_curnt_hi(&self) -> &HS_TMR_CURNT_HI

0x30 - HS Timer Current Value High Register

Source

pub const fn hs_tmr1_curnt_hi(&self) -> &HS_TMR_CURNT_HI

0x50 - HS Timer Current Value High Register

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.