1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
///Register block
#[repr(C)]
pub struct RegisterBlock {
///0x00 - EXTI rising trigger selection register
pub rtsr: RTSR,
///0x04 - EXTI falling trigger selection register
pub ftsr: FTSR,
///0x08 - EXTI software interrupt event register
pub swier: SWIER,
///0x0c - EXTI pending register
pub pr: PR,
_reserved4: [u8; 0x50],
///0x60 - EXTI external interrupt selection register
pub exticr1: EXTICR1,
///0x64 - EXTI external interrupt selection register
pub exticr2: EXTICR2,
///0x68 - EXTI external interrupt selection register
pub exticr3: EXTICR3,
///0x6c - EXTI external interrupt selection register
pub exticr4: EXTICR4,
_reserved8: [u8; 0x10],
///0x80 - EXTI CPU wakeup with interrupt mask register
pub imr: IMR,
///0x84 - EXTI CPU wakeup with event mask register
pub emr: EMR,
}
///RTSR (rw) register accessor: an alias for `Reg<RTSR_SPEC>`
pub type RTSR = crate::Reg<rtsr::RTSR_SPEC>;
///EXTI rising trigger selection register
pub mod rtsr;
///FTSR (rw) register accessor: an alias for `Reg<FTSR_SPEC>`
pub type FTSR = crate::Reg<ftsr::FTSR_SPEC>;
///EXTI falling trigger selection register
pub mod ftsr;
///SWIER (rw) register accessor: an alias for `Reg<SWIER_SPEC>`
pub type SWIER = crate::Reg<swier::SWIER_SPEC>;
///EXTI software interrupt event register
pub mod swier;
///PR (rw) register accessor: an alias for `Reg<PR_SPEC>`
pub type PR = crate::Reg<pr::PR_SPEC>;
///EXTI pending register
pub mod pr;
///EXTICR1 (rw) register accessor: an alias for `Reg<EXTICR1_SPEC>`
pub type EXTICR1 = crate::Reg<exticr1::EXTICR1_SPEC>;
///EXTI external interrupt selection register
pub mod exticr1;
///EXTICR2 (rw) register accessor: an alias for `Reg<EXTICR2_SPEC>`
pub type EXTICR2 = crate::Reg<exticr2::EXTICR2_SPEC>;
///EXTI external interrupt selection register
pub mod exticr2;
///EXTICR3 (rw) register accessor: an alias for `Reg<EXTICR3_SPEC>`
pub type EXTICR3 = crate::Reg<exticr3::EXTICR3_SPEC>;
///EXTI external interrupt selection register
pub mod exticr3;
///EXTICR4 (rw) register accessor: an alias for `Reg<EXTICR4_SPEC>`
pub type EXTICR4 = crate::Reg<exticr4::EXTICR4_SPEC>;
///EXTI external interrupt selection register
pub mod exticr4;
///IMR (rw) register accessor: an alias for `Reg<IMR_SPEC>`
pub type IMR = crate::Reg<imr::IMR_SPEC>;
///EXTI CPU wakeup with interrupt mask register
pub mod imr;
///EMR (rw) register accessor: an alias for `Reg<EMR_SPEC>`
pub type EMR = crate::Reg<emr::EMR_SPEC>;
///EXTI CPU wakeup with event mask register
pub mod emr;