RegisterBlock

Struct RegisterBlock 

#[repr(C)]
pub struct RegisterBlock {
Show 13 fields nviciser: [Nviciser; 8], _reserved1: [u8; 96], nvicicer: [Nvicicer; 8], _reserved2: [u8; 96], nvicispr: [Nvicispr; 8], _reserved3: [u8; 96], nvicicpr: [Nvicicpr; 8], _reserved4: [u8; 96], nviciabr: [Nviciabr; 8], _reserved5: [u8; 224], nvicip: [Nvicip; 240], _reserved6: [u8; 2576], nvicstir: Nvicstir,
}
Expand description

Register block

Fields§

§nviciser: [Nviciser; 8]§_reserved1: [u8; 96]§nvicicer: [Nvicicer; 8]§_reserved2: [u8; 96]§nvicispr: [Nvicispr; 8]§_reserved3: [u8; 96]§nvicicpr: [Nvicicpr; 8]§_reserved4: [u8; 96]§nviciabr: [Nviciabr; 8]§_reserved5: [u8; 224]§nvicip: [Nvicip; 240]§_reserved6: [u8; 2576]§nvicstir: Nvicstir

Implementations§

§

impl RegisterBlock

pub const fn nviciser(&self, n: usize) -> &Nviciser

0x00..0x20 - Interrupt Set Enable Register n

pub fn nviciser_iter(&self) -> impl Iterator<Item = &Nviciser>

Iterator for array of: 0x00..0x20 - Interrupt Set Enable Register n

pub const fn nvicicer(&self, n: usize) -> &Nvicicer

0x80..0xa0 - Interrupt Clear Enable Register n

pub fn nvicicer_iter(&self) -> impl Iterator<Item = &Nvicicer>

Iterator for array of: 0x80..0xa0 - Interrupt Clear Enable Register n

pub const fn nvicispr(&self, n: usize) -> &Nvicispr

0x100..0x120 - Interrupt Set Pending Register n

pub fn nvicispr_iter(&self) -> impl Iterator<Item = &Nvicispr>

Iterator for array of: 0x100..0x120 - Interrupt Set Pending Register n

pub const fn nvicicpr(&self, n: usize) -> &Nvicicpr

0x180..0x1a0 - Interrupt Clear Pending Register n

pub fn nvicicpr_iter(&self) -> impl Iterator<Item = &Nvicicpr>

Iterator for array of: 0x180..0x1a0 - Interrupt Clear Pending Register n

pub const fn nviciabr(&self, n: usize) -> &Nviciabr

0x200..0x220 - Interrupt Active bit Register n

pub fn nviciabr_iter(&self) -> impl Iterator<Item = &Nviciabr>

Iterator for array of: 0x200..0x220 - Interrupt Active bit Register n

pub const fn nvicip(&self, n: usize) -> &Nvicip

0x300..0x3f0 - Interrupt Priority Register n

pub fn nvicip_iter(&self) -> impl Iterator<Item = &Nvicip>

Iterator for array of: 0x300..0x3f0 - Interrupt Priority Register n

pub const fn nvicstir(&self) -> &Nvicstir

0xe00 - Software Trigger Interrupt 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.