#[repr(C)]pub struct RegisterBlock {
pub evcr: EVCR,
pub mapr: MAPR,
pub exticr1: EXTICR1,
pub exticr2: EXTICR2,
pub exticr3: EXTICR3,
pub exticr4: EXTICR4,
pub mapr2: MAPR2,
/* private fields */
}
Expand description
Register block
Fields§
§evcr: EVCR
0x00 - Event Control Register (AFIO_EVCR)
mapr: MAPR
0x04 - AF remap and debug I/O configuration register (AFIO_MAPR)
exticr1: EXTICR1
0x08 - External interrupt configuration register 1 (AFIO_EXTICR1)
exticr2: EXTICR2
0x0c - External interrupt configuration register 2 (AFIO_EXTICR2)
exticr3: EXTICR3
0x10 - External interrupt configuration register 3 (AFIO_EXTICR3)
exticr4: EXTICR4
0x14 - External interrupt configuration register 4 (AFIO_EXTICR4)
mapr2: MAPR2
0x1c - AF remap and debug I/O configuration register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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