[][src]Struct cortex_m::peripheral::nvic::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub iser: [RW<u32>; 16], pub icer: [RW<u32>; 16], pub ispr: [RW<u32>; 16], pub icpr: [RW<u32>; 16], pub iabr: [RO<u32>; 16], pub ipr: [RW<u8>; 496], // some fields omitted }

Register block

Fields

Interrupt Set-Enable

Interrupt Clear-Enable

Interrupt Set-Pending

Interrupt Clear-Pending

Interrupt Active Bit (not present on Cortex-M0 variants)

Interrupt Priority

On ARMv7-M, 124 word-sized registers are available. Each of those contains of 4 interrupt priorities of 8 byte each.The architecture specifically allows accessing those along byte boundaries, so they are represented as 496 byte-sized registers, for convenience, and to allow atomic priority updates.

On ARMv6-M, the registers must only be accessed along word boundaries, so convenient byte-sized representation wouldn't work on that architecture.

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more