#[repr(C)]pub struct RegisterBlock {
pub imr: Reg<IMR_SPEC>,
pub emr: Reg<EMR_SPEC>,
pub rtsr: Reg<RTSR_SPEC>,
pub ftsr: Reg<FTSR_SPEC>,
pub swier: Reg<SWIER_SPEC>,
pub pr: Reg<PR_SPEC>,
}
Expand description
Register block
Fields
imr: Reg<IMR_SPEC>
0x00 - Interrupt mask register (EXTI_IMR)
emr: Reg<EMR_SPEC>
0x04 - Event mask register (EXTI_EMR)
rtsr: Reg<RTSR_SPEC>
0x08 - Rising Trigger selection register (EXTI_RTSR)
ftsr: Reg<FTSR_SPEC>
0x0c - Falling Trigger selection register (EXTI_FTSR)
swier: Reg<SWIER_SPEC>
0x10 - Software interrupt event register (EXTI_SWIER)
pr: Reg<PR_SPEC>
0x14 - Pending register (EXTI_PR)
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more