1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Indicators of interrupt triggers detected"]
5 pub gpio_intr: crate::Reg<gpio_intr::GPIO_INTR_SPEC>,
6 #[doc = "0x04 - GPIO raw interrupt indicators"]
7 pub gpio_intr_raw: crate::Reg<gpio_intr_raw::GPIO_INTR_RAW_SPEC>,
8 #[doc = "0x08 - Indicators of interrupt trigger types"]
9 pub gpio_intr_type: crate::Reg<gpio_intr_type::GPIO_INTR_TYPE_SPEC>,
10 #[doc = "0x0c - Indicators of interrupt trigger polarities (will depend on the type of interrupt)"]
11 pub gpio_intr_pol: crate::Reg<gpio_intr_pol::GPIO_INTR_POL_SPEC>,
12 #[doc = "0x10 - GPIO interrupt enable for AP"]
13 pub gpio_intr_en_ap: crate::Reg<gpio_intr_en_ap::GPIO_INTR_EN_AP_SPEC>,
14 #[doc = "0x14 - GPIO interrupt enable for M4"]
15 pub gpio_intr_en_m4: crate::Reg<gpio_intr_en_m4::GPIO_INTR_EN_M4_SPEC>,
16 #[doc = "0x18 - GPIO interrupt enable for FFE0"]
17 pub gpio_intr_en_ffe0:
18 crate::Reg<gpio_intr_en_ffe0::GPIO_INTR_EN_FFE0_SPEC>,
19 #[doc = "0x1c - GPIO interrupt enable for FFE1"]
20 pub gpio_intr_en_ffe1:
21 crate::Reg<gpio_intr_en_ffe1::GPIO_INTR_EN_FFE1_SPEC>,
22 _reserved8: [u8; 0x10],
23 #[doc = "0x30 - Indicators of interrupt triggers detected"]
24 pub other_intr: crate::Reg<other_intr::OTHER_INTR_SPEC>,
25 #[doc = "0x34 - Various interrupt enable for AP"]
26 pub other_intr_en_ap: crate::Reg<other_intr_en_ap::OTHER_INTR_EN_AP_SPEC>,
27 #[doc = "0x38 - Various interrupt enable for M4"]
28 pub other_intr_en_m4: crate::Reg<other_intr_en_m4::OTHER_INTR_EN_M4_SPEC>,
29 _reserved11: [u8; 0x04],
30 #[doc = "0x40 - Indicators of General purpose software interrupt 1 triggers detected"]
31 pub software_intr_1: crate::Reg<software_intr_1::SOFTWARE_INTR_1_SPEC>,
32 #[doc = "0x44 - General purpose Software interrupt 1 enable for AP"]
33 pub software_intr_1_en_ap:
34 crate::Reg<software_intr_1_en_ap::SOFTWARE_INTR_1_EN_AP_SPEC>,
35 _reserved13: [u8; 0x08],
36 #[doc = "0x50 - Indicators of General purpose software interrupt 2 triggers detected"]
37 pub software_intr_2: crate::Reg<software_intr_2::SOFTWARE_INTR_2_SPEC>,
38 #[doc = "0x54 - General purpose Software interrupt 2 enable for AP"]
39 pub software_intr_2_en_ap:
40 crate::Reg<software_intr_2_en_ap::SOFTWARE_INTR_2_EN_AP_SPEC>,
41 #[doc = "0x58 - General purpose Software interrupt 2 enable for M4"]
42 pub software_intr_en_m4:
43 crate::Reg<software_intr_en_m4::SOFTWARE_INTR_EN_M4_SPEC>,
44 _reserved16: [u8; 0x04],
45 #[doc = "0x60 - Indicators of FFE0 interrupt triggers detected"]
46 pub ffe_intr: crate::Reg<ffe_intr::FFE_INTR_SPEC>,
47 #[doc = "0x64 - FFE0 interrupt enable for AP"]
48 pub ffe_intr_en_ap: crate::Reg<ffe_intr_en_ap::FFE_INTR_EN_AP_SPEC>,
49 #[doc = "0x68 - FFE0 interrupt enable for M4"]
50 pub ffe_intr_en_m4: crate::Reg<ffe_intr_en_m4::FFE_INTR_EN_M4_SPEC>,
51 _reserved19: [u8; 0x14],
52 #[doc = "0x80 - Indicators of interrupt triggers detected"]
53 pub fb_intr: crate::Reg<fb_intr::FB_INTR_SPEC>,
54 #[doc = "0x84 - FB raw interrupt indicators"]
55 pub fb_intr_raw: crate::Reg<fb_intr_raw::FB_INTR_RAW_SPEC>,
56 #[doc = "0x88 - Indicators of interrupt trigger types"]
57 pub fb_intr_type: crate::Reg<fb_intr_type::FB_INTR_TYPE_SPEC>,
58 #[doc = "0x8c - Indicators of interrupt trigger polarities (will depend on the type of interrupt)"]
59 pub fb_intr_pol: crate::Reg<fb_intr_pol::FB_INTR_POL_SPEC>,
60 #[doc = "0x90 - FB interrupt enable for AP"]
61 pub fb_intr_en_ap: crate::Reg<fb_intr_en_ap::FB_INTR_EN_AP_SPEC>,
62 #[doc = "0x94 - FB interrupt enable for M4"]
63 pub fb_intr_en_m4: crate::Reg<fb_intr_en_m4::FB_INTR_EN_M4_SPEC>,
64 _reserved25: [u8; 0x08],
65 #[doc = "0xa0 - Indicator of detected SRAM access while shut down or sleep mode interrupts"]
66 pub m4_mem_aon_intr: crate::Reg<m4_mem_aon_intr::M4_MEM_AON_INTR_SPEC>,
67 #[doc = "0xa4 - Interrupt enable for SRAM access while in shut down or deep sleep modes"]
68 pub m4_mem_aon_intr_en:
69 crate::Reg<m4_mem_aon_intr_en::M4_MEM_AON_INTR_EN_SPEC>,
70}
71#[doc = "GPIO_INTR register accessor: an alias for `Reg<GPIO_INTR_SPEC>`"]
72pub type GPIO_INTR = crate::Reg<gpio_intr::GPIO_INTR_SPEC>;
73#[doc = "Indicators of interrupt triggers detected"]
74pub mod gpio_intr;
75#[doc = "GPIO_INTR_RAW register accessor: an alias for `Reg<GPIO_INTR_RAW_SPEC>`"]
76pub type GPIO_INTR_RAW = crate::Reg<gpio_intr_raw::GPIO_INTR_RAW_SPEC>;
77#[doc = "GPIO raw interrupt indicators"]
78pub mod gpio_intr_raw;
79#[doc = "GPIO_INTR_TYPE register accessor: an alias for `Reg<GPIO_INTR_TYPE_SPEC>`"]
80pub type GPIO_INTR_TYPE = crate::Reg<gpio_intr_type::GPIO_INTR_TYPE_SPEC>;
81#[doc = "Indicators of interrupt trigger types"]
82pub mod gpio_intr_type;
83#[doc = "GPIO_INTR_POL register accessor: an alias for `Reg<GPIO_INTR_POL_SPEC>`"]
84pub type GPIO_INTR_POL = crate::Reg<gpio_intr_pol::GPIO_INTR_POL_SPEC>;
85#[doc = "Indicators of interrupt trigger polarities (will depend on the type of interrupt)"]
86pub mod gpio_intr_pol;
87#[doc = "GPIO_INTR_EN_AP register accessor: an alias for `Reg<GPIO_INTR_EN_AP_SPEC>`"]
88pub type GPIO_INTR_EN_AP = crate::Reg<gpio_intr_en_ap::GPIO_INTR_EN_AP_SPEC>;
89#[doc = "GPIO interrupt enable for AP"]
90pub mod gpio_intr_en_ap;
91#[doc = "GPIO_INTR_EN_M4 register accessor: an alias for `Reg<GPIO_INTR_EN_M4_SPEC>`"]
92pub type GPIO_INTR_EN_M4 = crate::Reg<gpio_intr_en_m4::GPIO_INTR_EN_M4_SPEC>;
93#[doc = "GPIO interrupt enable for M4"]
94pub mod gpio_intr_en_m4;
95#[doc = "GPIO_INTR_EN_FFE0 register accessor: an alias for `Reg<GPIO_INTR_EN_FFE0_SPEC>`"]
96pub type GPIO_INTR_EN_FFE0 =
97 crate::Reg<gpio_intr_en_ffe0::GPIO_INTR_EN_FFE0_SPEC>;
98#[doc = "GPIO interrupt enable for FFE0"]
99pub mod gpio_intr_en_ffe0;
100#[doc = "GPIO_INTR_EN_FFE1 register accessor: an alias for `Reg<GPIO_INTR_EN_FFE1_SPEC>`"]
101pub type GPIO_INTR_EN_FFE1 =
102 crate::Reg<gpio_intr_en_ffe1::GPIO_INTR_EN_FFE1_SPEC>;
103#[doc = "GPIO interrupt enable for FFE1"]
104pub mod gpio_intr_en_ffe1;
105#[doc = "OTHER_INTR register accessor: an alias for `Reg<OTHER_INTR_SPEC>`"]
106pub type OTHER_INTR = crate::Reg<other_intr::OTHER_INTR_SPEC>;
107#[doc = "Indicators of interrupt triggers detected"]
108pub mod other_intr;
109#[doc = "OTHER_INTR_EN_AP register accessor: an alias for `Reg<OTHER_INTR_EN_AP_SPEC>`"]
110pub type OTHER_INTR_EN_AP = crate::Reg<other_intr_en_ap::OTHER_INTR_EN_AP_SPEC>;
111#[doc = "Various interrupt enable for AP"]
112pub mod other_intr_en_ap;
113#[doc = "OTHER_INTR_EN_M4 register accessor: an alias for `Reg<OTHER_INTR_EN_M4_SPEC>`"]
114pub type OTHER_INTR_EN_M4 = crate::Reg<other_intr_en_m4::OTHER_INTR_EN_M4_SPEC>;
115#[doc = "Various interrupt enable for M4"]
116pub mod other_intr_en_m4;
117#[doc = "SOFTWARE_INTR_1 register accessor: an alias for `Reg<SOFTWARE_INTR_1_SPEC>`"]
118pub type SOFTWARE_INTR_1 = crate::Reg<software_intr_1::SOFTWARE_INTR_1_SPEC>;
119#[doc = "Indicators of General purpose software interrupt 1 triggers detected"]
120pub mod software_intr_1;
121#[doc = "SOFTWARE_INTR_1_EN_AP register accessor: an alias for `Reg<SOFTWARE_INTR_1_EN_AP_SPEC>`"]
122pub type SOFTWARE_INTR_1_EN_AP =
123 crate::Reg<software_intr_1_en_ap::SOFTWARE_INTR_1_EN_AP_SPEC>;
124#[doc = "General purpose Software interrupt 1 enable for AP"]
125pub mod software_intr_1_en_ap;
126#[doc = "SOFTWARE_INTR_2 register accessor: an alias for `Reg<SOFTWARE_INTR_2_SPEC>`"]
127pub type SOFTWARE_INTR_2 = crate::Reg<software_intr_2::SOFTWARE_INTR_2_SPEC>;
128#[doc = "Indicators of General purpose software interrupt 2 triggers detected"]
129pub mod software_intr_2;
130#[doc = "SOFTWARE_INTR_2_EN_AP register accessor: an alias for `Reg<SOFTWARE_INTR_2_EN_AP_SPEC>`"]
131pub type SOFTWARE_INTR_2_EN_AP =
132 crate::Reg<software_intr_2_en_ap::SOFTWARE_INTR_2_EN_AP_SPEC>;
133#[doc = "General purpose Software interrupt 2 enable for AP"]
134pub mod software_intr_2_en_ap;
135#[doc = "SOFTWARE_INTR_EN_M4 register accessor: an alias for `Reg<SOFTWARE_INTR_EN_M4_SPEC>`"]
136pub type SOFTWARE_INTR_EN_M4 =
137 crate::Reg<software_intr_en_m4::SOFTWARE_INTR_EN_M4_SPEC>;
138#[doc = "General purpose Software interrupt 2 enable for M4"]
139pub mod software_intr_en_m4;
140#[doc = "FFE_INTR register accessor: an alias for `Reg<FFE_INTR_SPEC>`"]
141pub type FFE_INTR = crate::Reg<ffe_intr::FFE_INTR_SPEC>;
142#[doc = "Indicators of FFE0 interrupt triggers detected"]
143pub mod ffe_intr;
144#[doc = "FFE_INTR_EN_AP register accessor: an alias for `Reg<FFE_INTR_EN_AP_SPEC>`"]
145pub type FFE_INTR_EN_AP = crate::Reg<ffe_intr_en_ap::FFE_INTR_EN_AP_SPEC>;
146#[doc = "FFE0 interrupt enable for AP"]
147pub mod ffe_intr_en_ap;
148#[doc = "FFE_INTR_EN_M4 register accessor: an alias for `Reg<FFE_INTR_EN_M4_SPEC>`"]
149pub type FFE_INTR_EN_M4 = crate::Reg<ffe_intr_en_m4::FFE_INTR_EN_M4_SPEC>;
150#[doc = "FFE0 interrupt enable for M4"]
151pub mod ffe_intr_en_m4;
152#[doc = "FB_INTR register accessor: an alias for `Reg<FB_INTR_SPEC>`"]
153pub type FB_INTR = crate::Reg<fb_intr::FB_INTR_SPEC>;
154#[doc = "Indicators of interrupt triggers detected"]
155pub mod fb_intr;
156#[doc = "FB_INTR_RAW register accessor: an alias for `Reg<FB_INTR_RAW_SPEC>`"]
157pub type FB_INTR_RAW = crate::Reg<fb_intr_raw::FB_INTR_RAW_SPEC>;
158#[doc = "FB raw interrupt indicators"]
159pub mod fb_intr_raw;
160#[doc = "FB_INTR_TYPE register accessor: an alias for `Reg<FB_INTR_TYPE_SPEC>`"]
161pub type FB_INTR_TYPE = crate::Reg<fb_intr_type::FB_INTR_TYPE_SPEC>;
162#[doc = "Indicators of interrupt trigger types"]
163pub mod fb_intr_type;
164#[doc = "FB_INTR_POL register accessor: an alias for `Reg<FB_INTR_POL_SPEC>`"]
165pub type FB_INTR_POL = crate::Reg<fb_intr_pol::FB_INTR_POL_SPEC>;
166#[doc = "Indicators of interrupt trigger polarities (will depend on the type of interrupt)"]
167pub mod fb_intr_pol;
168#[doc = "FB_INTR_EN_AP register accessor: an alias for `Reg<FB_INTR_EN_AP_SPEC>`"]
169pub type FB_INTR_EN_AP = crate::Reg<fb_intr_en_ap::FB_INTR_EN_AP_SPEC>;
170#[doc = "FB interrupt enable for AP"]
171pub mod fb_intr_en_ap;
172#[doc = "FB_INTR_EN_M4 register accessor: an alias for `Reg<FB_INTR_EN_M4_SPEC>`"]
173pub type FB_INTR_EN_M4 = crate::Reg<fb_intr_en_m4::FB_INTR_EN_M4_SPEC>;
174#[doc = "FB interrupt enable for M4"]
175pub mod fb_intr_en_m4;
176#[doc = "M4_MEM_AON_INTR register accessor: an alias for `Reg<M4_MEM_AON_INTR_SPEC>`"]
177pub type M4_MEM_AON_INTR = crate::Reg<m4_mem_aon_intr::M4_MEM_AON_INTR_SPEC>;
178#[doc = "Indicator of detected SRAM access while shut down or sleep mode interrupts"]
179pub mod m4_mem_aon_intr;
180#[doc = "M4_MEM_AON_INTR_EN register accessor: an alias for `Reg<M4_MEM_AON_INTR_EN_SPEC>`"]
181pub type M4_MEM_AON_INTR_EN =
182 crate::Reg<m4_mem_aon_intr_en::M4_MEM_AON_INTR_EN_SPEC>;
183#[doc = "Interrupt enable for SRAM access while in shut down or deep sleep modes"]
184pub mod m4_mem_aon_intr_en;