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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
#[doc = "0x00 - Control"]
pub ctrl: crate::Reg<ctrl::CTRL_SPEC>,
#[doc = "0x01 - Sleep Mode"]
pub sleep: crate::Reg<sleep::SLEEP_SPEC>,
#[doc = "0x02 - External Reset Controller"]
pub extctrl: crate::Reg<extctrl::EXTCTRL_SPEC>,
_reserved3: [u8; 0x05],
#[doc = "0x08 - CPU Clock Select"]
pub cpusel: crate::Reg<cpusel::CPUSEL_SPEC>,
#[doc = "0x09 - APBA Clock Select"]
pub apbasel: crate::Reg<apbasel::APBASEL_SPEC>,
#[doc = "0x0a - APBB Clock Select"]
pub apbbsel: crate::Reg<apbbsel::APBBSEL_SPEC>,
#[doc = "0x0b - APBC Clock Select"]
pub apbcsel: crate::Reg<apbcsel::APBCSEL_SPEC>,
_reserved7: [u8; 0x08],
#[doc = "0x14 - AHB Mask"]
pub ahbmask: crate::Reg<ahbmask::AHBMASK_SPEC>,
#[doc = "0x18 - APBA Mask"]
pub apbamask: crate::Reg<apbamask::APBAMASK_SPEC>,
#[doc = "0x1c - APBB Mask"]
pub apbbmask: crate::Reg<apbbmask::APBBMASK_SPEC>,
#[doc = "0x20 - APBC Mask"]
pub apbcmask: crate::Reg<apbcmask::APBCMASK_SPEC>,
_reserved11: [u8; 0x10],
#[doc = "0x34 - Interrupt Enable Clear"]
pub intenclr: crate::Reg<intenclr::INTENCLR_SPEC>,
#[doc = "0x35 - Interrupt Enable Set"]
pub intenset: crate::Reg<intenset::INTENSET_SPEC>,
#[doc = "0x36 - Interrupt Flag Status and Clear"]
pub intflag: crate::Reg<intflag::INTFLAG_SPEC>,
_reserved14: [u8; 0x01],
#[doc = "0x38 - Reset Cause"]
pub rcause: crate::Reg<rcause::RCAUSE_SPEC>,
}
#[doc = "CTRL register accessor: an alias for `Reg<CTRL_SPEC>`"]
pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
#[doc = "Control"]
pub mod ctrl;
#[doc = "SLEEP register accessor: an alias for `Reg<SLEEP_SPEC>`"]
pub type SLEEP = crate::Reg<sleep::SLEEP_SPEC>;
#[doc = "Sleep Mode"]
pub mod sleep;
#[doc = "EXTCTRL register accessor: an alias for `Reg<EXTCTRL_SPEC>`"]
pub type EXTCTRL = crate::Reg<extctrl::EXTCTRL_SPEC>;
#[doc = "External Reset Controller"]
pub mod extctrl;
#[doc = "CPUSEL register accessor: an alias for `Reg<CPUSEL_SPEC>`"]
pub type CPUSEL = crate::Reg<cpusel::CPUSEL_SPEC>;
#[doc = "CPU Clock Select"]
pub mod cpusel;
#[doc = "APBASEL register accessor: an alias for `Reg<APBASEL_SPEC>`"]
pub type APBASEL = crate::Reg<apbasel::APBASEL_SPEC>;
#[doc = "APBA Clock Select"]
pub mod apbasel;
#[doc = "APBBSEL register accessor: an alias for `Reg<APBBSEL_SPEC>`"]
pub type APBBSEL = crate::Reg<apbbsel::APBBSEL_SPEC>;
#[doc = "APBB Clock Select"]
pub mod apbbsel;
#[doc = "APBCSEL register accessor: an alias for `Reg<APBCSEL_SPEC>`"]
pub type APBCSEL = crate::Reg<apbcsel::APBCSEL_SPEC>;
#[doc = "APBC Clock Select"]
pub mod apbcsel;
#[doc = "AHBMASK register accessor: an alias for `Reg<AHBMASK_SPEC>`"]
pub type AHBMASK = crate::Reg<ahbmask::AHBMASK_SPEC>;
#[doc = "AHB Mask"]
pub mod ahbmask;
#[doc = "APBAMASK register accessor: an alias for `Reg<APBAMASK_SPEC>`"]
pub type APBAMASK = crate::Reg<apbamask::APBAMASK_SPEC>;
#[doc = "APBA Mask"]
pub mod apbamask;
#[doc = "APBBMASK register accessor: an alias for `Reg<APBBMASK_SPEC>`"]
pub type APBBMASK = crate::Reg<apbbmask::APBBMASK_SPEC>;
#[doc = "APBB Mask"]
pub mod apbbmask;
#[doc = "APBCMASK register accessor: an alias for `Reg<APBCMASK_SPEC>`"]
pub type APBCMASK = crate::Reg<apbcmask::APBCMASK_SPEC>;
#[doc = "APBC Mask"]
pub mod apbcmask;
#[doc = "INTENCLR register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
#[doc = "Interrupt Enable Clear"]
pub mod intenclr;
#[doc = "INTENSET register accessor: an alias for `Reg<INTENSET_SPEC>`"]
pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
#[doc = "Interrupt Enable Set"]
pub mod intenset;
#[doc = "INTFLAG register accessor: an alias for `Reg<INTFLAG_SPEC>`"]
pub type INTFLAG = crate::Reg<intflag::INTFLAG_SPEC>;
#[doc = "Interrupt Flag Status and Clear"]
pub mod intflag;
#[doc = "RCAUSE register accessor: an alias for `Reg<RCAUSE_SPEC>`"]
pub type RCAUSE = crate::Reg<rcause::RCAUSE_SPEC>;
#[doc = "Reset Cause"]
pub mod rcause;