Struct stm32l4xx_hal::device::exti::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub imr1: Reg<IMR1_SPEC>,
pub emr1: Reg<EMR1_SPEC>,
pub rtsr1: Reg<RTSR1_SPEC>,
pub ftsr1: Reg<FTSR1_SPEC>,
pub swier1: Reg<SWIER1_SPEC>,
pub pr1: Reg<PR1_SPEC>,
pub imr2: Reg<IMR2_SPEC>,
pub emr2: Reg<EMR2_SPEC>,
pub rtsr2: Reg<RTSR2_SPEC>,
pub ftsr2: Reg<FTSR2_SPEC>,
pub swier2: Reg<SWIER2_SPEC>,
pub pr2: Reg<PR2_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
imr1: Reg<IMR1_SPEC>
0x00 - Interrupt mask register
emr1: Reg<EMR1_SPEC>
0x04 - Event mask register
rtsr1: Reg<RTSR1_SPEC>
0x08 - Rising Trigger selection register
ftsr1: Reg<FTSR1_SPEC>
0x0c - Falling Trigger selection register
swier1: Reg<SWIER1_SPEC>
0x10 - Software interrupt event register
pr1: Reg<PR1_SPEC>
0x14 - Pending register
imr2: Reg<IMR2_SPEC>
0x20 - Interrupt mask register
emr2: Reg<EMR2_SPEC>
0x24 - Event mask register
rtsr2: Reg<RTSR2_SPEC>
0x28 - Rising Trigger selection register
ftsr2: Reg<FTSR2_SPEC>
0x2c - Falling Trigger selection register
swier2: Reg<SWIER2_SPEC>
0x30 - Software interrupt event register
pr2: Reg<PR2_SPEC>
0x34 - Pending register
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