#[repr(C)]pub struct NVIC_Type {
pub ISER: [u32; 1],
pub RESERVED0: [u32; 31],
pub ICER: [u32; 1],
pub RSERVED1: [u32; 31],
pub ISPR: [u32; 1],
pub RESERVED2: [u32; 31],
pub ICPR: [u32; 1],
pub RESERVED3: [u32; 31],
pub RESERVED4: [u32; 64],
pub IP: [u32; 8],
}Expand description
\brief Structure type to access the Nested Vectored Interrupt Controller (NVIC).
Fields§
§ISER: [u32; 1]< Offset: 0x000 (R/W) Interrupt Set Enable Register
RESERVED0: [u32; 31]§ICER: [u32; 1]< Offset: 0x080 (R/W) Interrupt Clear Enable Register
RSERVED1: [u32; 31]§ISPR: [u32; 1]< Offset: 0x100 (R/W) Interrupt Set Pending Register
RESERVED2: [u32; 31]§ICPR: [u32; 1]< Offset: 0x180 (R/W) Interrupt Clear Pending Register
RESERVED3: [u32; 31]§RESERVED4: [u32; 64]§IP: [u32; 8]< Offset: 0x300 (R/W) Interrupt Priority Register
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NVIC_Type
impl RefUnwindSafe for NVIC_Type
impl Send for NVIC_Type
impl Sync for NVIC_Type
impl Unpin for NVIC_Type
impl UnsafeUnpin for NVIC_Type
impl UnwindSafe for NVIC_Type
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