Skip to main content

RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn abnor_intr_raw(&self) -> &AbnorIntrRaw

0x60 - Abnormal interrupt raw status

Source

pub const fn abnor_imsk(&self) -> &AbnorImsk

0x64 - Abnormal interrupt mask

Source

pub const fn abnor_intr_stat(&self) -> &AbnorIntrStat

0x68 - Abnormal interrupt status

Source

pub const fn eoi_ren(&self) -> &EoiRen

0x78 - End-of-interrupt register

Source

pub const fn raw_intr_stat(&self) -> &RawIntrStat

0x7c - Raw interrupt status

Source

pub const fn intr_stat(&self) -> &IntrStat

0x80 - Interrupt status (masked)

Source

pub const fn timer0_load_count(&self, n: usize) -> &TimerLoadCount

0x100..0x10c - Timer %s [dim=3] load count

Source

pub fn timer0_load_count_iter(&self) -> impl Iterator<Item = &TimerLoadCount>

Iterator for array of: 0x100..0x10c - Timer %s [dim=3] load count

Source

pub const fn timer1_load_count(&self) -> &TimerLoadCount

0x200 - Timer 1 [dim=3] load count

Source

pub const fn timer2_load_count(&self) -> &TimerLoadCount

0x300 - Timer 2 [dim=3] load count

Source

pub const fn timer0_current_value(&self, n: usize) -> &TimerCurrentValue

0x108..0x114 - Timer %s [dim=3] current value

Source

pub fn timer0_current_value_iter( &self, ) -> impl Iterator<Item = &TimerCurrentValue>

Iterator for array of: 0x108..0x114 - Timer %s [dim=3] current value

Source

pub const fn timer1_current_value(&self) -> &TimerCurrentValue

0x208 - Timer 1 [dim=3] current value

Source

pub const fn timer2_current_value(&self) -> &TimerCurrentValue

0x308 - Timer 2 [dim=3] current value

Source

pub const fn timer0_control(&self, n: usize) -> &TimerControl

0x110..0x11c - Timer %s [dim=3] control register

Source

pub fn timer0_control_iter(&self) -> impl Iterator<Item = &TimerControl>

Iterator for array of: 0x110..0x11c - Timer %s [dim=3] control register

Source

pub const fn timer1_control(&self) -> &TimerControl

0x210 - Timer 1 [dim=3] control register

Source

pub const fn timer2_control(&self) -> &TimerControl

0x310 - Timer 2 [dim=3] control register

Source

pub const fn timer0_eoi(&self, n: usize) -> &TimerEoi

0x114..0x120 - Timer %s [dim=3] end-of-interrupt

Source

pub fn timer0_eoi_iter(&self) -> impl Iterator<Item = &TimerEoi>

Iterator for array of: 0x114..0x120 - Timer %s [dim=3] end-of-interrupt

Source

pub const fn timer1_eoi(&self) -> &TimerEoi

0x214 - Timer 1 [dim=3] end-of-interrupt

Source

pub const fn timer2_eoi(&self) -> &TimerEoi

0x314 - Timer 2 [dim=3] end-of-interrupt

Source

pub const fn timer0_raw_intr(&self, n: usize) -> &TimerRawIntr

0x118..0x124 - Timer %s [dim=3] raw interrupt status

Source

pub fn timer0_raw_intr_iter(&self) -> impl Iterator<Item = &TimerRawIntr>

Iterator for array of: 0x118..0x124 - Timer %s [dim=3] raw interrupt status

Source

pub const fn timer1_raw_intr(&self) -> &TimerRawIntr

0x218 - Timer 1 [dim=3] raw interrupt status

Source

pub const fn timer2_raw_intr(&self) -> &TimerRawIntr

0x318 - Timer 2 [dim=3] raw interrupt status

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.