1 //------------------------------------------------------------------------------ 2 // Copyright 2012 (c) Silicon Laboratories Inc. 3 // 4 // SPDX-License-Identifier: Zlib 5 // 6 // This siHAL software is provided 'as-is', without any express or implied 7 // warranty. In no event will the authors be held liable for any damages 8 // arising from the use of this software. 9 // 10 // Permission is granted to anyone to use this software for any purpose, 11 // including commercial applications, and to alter it and redistribute it 12 // freely, subject to the following restrictions: 13 // 14 // 1. The origin of this software must not be misrepresented; you must not 15 // claim that you wrote the original software. If you use this software 16 // in a product, an acknowledgment in the product documentation would be 17 // appreciated but is not required. 18 // 2. Altered source versions must be plainly marked as such, and must not be 19 // misrepresented as being the original software. 20 // 3. This notice may not be removed or altered from any source distribution. 21 //------------------------------------------------------------------------------ 22 // 23 // This file applies to the SIM3C1XX_RSTSRC_A module 24 // 25 // Script: 0.57 26 // Version: 1 27 28 #ifndef __SI32_RSTSRC_A_REGISTERS_H__ 29 #define __SI32_RSTSRC_A_REGISTERS_H__ 30 31 #include <stdint.h> 32 33 #ifdef __cplusplus 34 extern "C" { 35 #endif 36 37 struct SI32_RSTSRC_A_RESETEN_Struct 38 { 39 union 40 { 41 struct 42 { 43 uint32_t reserved0: 2; 44 // Voltage Supply Monitor VDD Reset Enable 45 volatile uint32_t VMONREN: 1; 46 uint32_t reserved1: 1; 47 // Missing Clock Detector Reset Enable 48 volatile uint32_t MCDREN: 1; 49 // Watchdog Timer Reset Enable 50 volatile uint32_t WDTREN: 1; 51 // Software Reset 52 volatile uint32_t SWREN: 1; 53 // Comparator 0 Reset Enable 54 volatile uint32_t CMP0REN: 1; 55 // Comparator 1 Reset Enable 56 volatile uint32_t CMP1REN: 1; 57 uint32_t reserved2: 1; 58 // RTC0 Reset Enable 59 volatile uint32_t RTC0REN: 1; 60 // PMU Wakeup Reset Enable 61 volatile uint32_t WAKEREN: 1; 62 uint32_t reserved3: 20; 63 }; 64 volatile uint32_t U32; 65 }; 66 }; 67 68 #define SI32_RSTSRC_A_RESETEN_VMONREN_MASK 0x00000004 69 #define SI32_RSTSRC_A_RESETEN_VMONREN_SHIFT 2 70 // Disable the Voltage Supply Monitor VDD event as a reset source. 71 #define SI32_RSTSRC_A_RESETEN_VMONREN_DISABLED_VALUE 0 72 #define SI32_RSTSRC_A_RESETEN_VMONREN_DISABLED_U32 \ 73 (SI32_RSTSRC_A_RESETEN_VMONREN_DISABLED_VALUE << SI32_RSTSRC_A_RESETEN_VMONREN_SHIFT) 74 // Enable the Voltage Supply Monitor VDD event as a reset source. 75 #define SI32_RSTSRC_A_RESETEN_VMONREN_ENABLED_VALUE 1 76 #define SI32_RSTSRC_A_RESETEN_VMONREN_ENABLED_U32 \ 77 (SI32_RSTSRC_A_RESETEN_VMONREN_ENABLED_VALUE << SI32_RSTSRC_A_RESETEN_VMONREN_SHIFT) 78 79 #define SI32_RSTSRC_A_RESETEN_MCDREN_MASK 0x00000010 80 #define SI32_RSTSRC_A_RESETEN_MCDREN_SHIFT 4 81 // Disable the Missing Clock Detector event as a reset source. 82 #define SI32_RSTSRC_A_RESETEN_MCDREN_DISABLED_VALUE 0 83 #define SI32_RSTSRC_A_RESETEN_MCDREN_DISABLED_U32 \ 84 (SI32_RSTSRC_A_RESETEN_MCDREN_DISABLED_VALUE << SI32_RSTSRC_A_RESETEN_MCDREN_SHIFT) 85 // Enable the Missing Clock Detector event as a reset source. 86 #define SI32_RSTSRC_A_RESETEN_MCDREN_ENABLED_VALUE 1 87 #define SI32_RSTSRC_A_RESETEN_MCDREN_ENABLED_U32 \ 88 (SI32_RSTSRC_A_RESETEN_MCDREN_ENABLED_VALUE << SI32_RSTSRC_A_RESETEN_MCDREN_SHIFT) 89 90 #define SI32_RSTSRC_A_RESETEN_WDTREN_MASK 0x00000020 91 #define SI32_RSTSRC_A_RESETEN_WDTREN_SHIFT 5 92 // Disable the Watchdog Timer event as a reset source. 93 #define SI32_RSTSRC_A_RESETEN_WDTREN_DISABLED_VALUE 0 94 #define SI32_RSTSRC_A_RESETEN_WDTREN_DISABLED_U32 \ 95 (SI32_RSTSRC_A_RESETEN_WDTREN_DISABLED_VALUE << SI32_RSTSRC_A_RESETEN_WDTREN_SHIFT) 96 // Enable the Watchdog Timer event as a reset source. 97 #define SI32_RSTSRC_A_RESETEN_WDTREN_ENABLED_VALUE 1 98 #define SI32_RSTSRC_A_RESETEN_WDTREN_ENABLED_U32 \ 99 (SI32_RSTSRC_A_RESETEN_WDTREN_ENABLED_VALUE << SI32_RSTSRC_A_RESETEN_WDTREN_SHIFT) 100 101 #define SI32_RSTSRC_A_RESETEN_SWREN_MASK 0x00000040 102 #define SI32_RSTSRC_A_RESETEN_SWREN_SHIFT 6 103 // Do not generate a Software Reset. 104 #define SI32_RSTSRC_A_RESETEN_SWREN_DISABLED_VALUE 0 105 #define SI32_RSTSRC_A_RESETEN_SWREN_DISABLED_U32 \ 106 (SI32_RSTSRC_A_RESETEN_SWREN_DISABLED_VALUE << SI32_RSTSRC_A_RESETEN_SWREN_SHIFT) 107 // Generate a Software Reset. 108 #define SI32_RSTSRC_A_RESETEN_SWREN_ENABLED_VALUE 1 109 #define SI32_RSTSRC_A_RESETEN_SWREN_ENABLED_U32 \ 110 (SI32_RSTSRC_A_RESETEN_SWREN_ENABLED_VALUE << SI32_RSTSRC_A_RESETEN_SWREN_SHIFT) 111 112 #define SI32_RSTSRC_A_RESETEN_CMP0REN_MASK 0x00000080 113 #define SI32_RSTSRC_A_RESETEN_CMP0REN_SHIFT 7 114 // Disable the Comparator 0 event as a reset source. 115 #define SI32_RSTSRC_A_RESETEN_CMP0REN_DISABLED_VALUE 0 116 #define SI32_RSTSRC_A_RESETEN_CMP0REN_DISABLED_U32 \ 117 (SI32_RSTSRC_A_RESETEN_CMP0REN_DISABLED_VALUE << SI32_RSTSRC_A_RESETEN_CMP0REN_SHIFT) 118 // Enable the Comparator 0 event as a reset source. 119 #define SI32_RSTSRC_A_RESETEN_CMP0REN_ENABLED_VALUE 1 120 #define SI32_RSTSRC_A_RESETEN_CMP0REN_ENABLED_U32 \ 121 (SI32_RSTSRC_A_RESETEN_CMP0REN_ENABLED_VALUE << SI32_RSTSRC_A_RESETEN_CMP0REN_SHIFT) 122 123 #define SI32_RSTSRC_A_RESETEN_CMP1REN_MASK 0x00000100 124 #define SI32_RSTSRC_A_RESETEN_CMP1REN_SHIFT 8 125 // Disable the Comparator 1 event as a reset source. 126 #define SI32_RSTSRC_A_RESETEN_CMP1REN_DISABLED_VALUE 0 127 #define SI32_RSTSRC_A_RESETEN_CMP1REN_DISABLED_U32 \ 128 (SI32_RSTSRC_A_RESETEN_CMP1REN_DISABLED_VALUE << SI32_RSTSRC_A_RESETEN_CMP1REN_SHIFT) 129 // Enable the Comparator 1 event as a reset source. 130 #define SI32_RSTSRC_A_RESETEN_CMP1REN_ENABLED_VALUE 1 131 #define SI32_RSTSRC_A_RESETEN_CMP1REN_ENABLED_U32 \ 132 (SI32_RSTSRC_A_RESETEN_CMP1REN_ENABLED_VALUE << SI32_RSTSRC_A_RESETEN_CMP1REN_SHIFT) 133 134 #define SI32_RSTSRC_A_RESETEN_RTC0REN_MASK 0x00000400 135 #define SI32_RSTSRC_A_RESETEN_RTC0REN_SHIFT 10 136 // Disable the RTC0 event as a reset source. 137 #define SI32_RSTSRC_A_RESETEN_RTC0REN_DISABLED_VALUE 0 138 #define SI32_RSTSRC_A_RESETEN_RTC0REN_DISABLED_U32 \ 139 (SI32_RSTSRC_A_RESETEN_RTC0REN_DISABLED_VALUE << SI32_RSTSRC_A_RESETEN_RTC0REN_SHIFT) 140 // Enable the RTC0 event as a reset source. 141 #define SI32_RSTSRC_A_RESETEN_RTC0REN_ENABLED_VALUE 1 142 #define SI32_RSTSRC_A_RESETEN_RTC0REN_ENABLED_U32 \ 143 (SI32_RSTSRC_A_RESETEN_RTC0REN_ENABLED_VALUE << SI32_RSTSRC_A_RESETEN_RTC0REN_SHIFT) 144 145 #define SI32_RSTSRC_A_RESETEN_WAKEREN_MASK 0x00000800 146 #define SI32_RSTSRC_A_RESETEN_WAKEREN_SHIFT 11 147 // Enable the PMU Wakeup event as a reset source. 148 #define SI32_RSTSRC_A_RESETEN_WAKEREN_ENABLED_VALUE 1 149 #define SI32_RSTSRC_A_RESETEN_WAKEREN_ENABLED_U32 \ 150 (SI32_RSTSRC_A_RESETEN_WAKEREN_ENABLED_VALUE << SI32_RSTSRC_A_RESETEN_WAKEREN_SHIFT) 151 152 153 154 struct SI32_RSTSRC_A_RESETFLAG_Struct 155 { 156 union 157 { 158 struct 159 { 160 // Pin Reset Flag 161 volatile uint32_t PINRF: 1; 162 // Power-On Reset Flag 163 volatile uint32_t PORRF: 1; 164 // Voltage Supply Monitor VDD Reset Flag 165 volatile uint32_t VMONRF: 1; 166 // Core Reset Flag 167 volatile uint32_t CORERF: 1; 168 // Missing Clock Detector Reset Flag 169 volatile uint32_t MCDRF: 1; 170 // Watchdog Timer Reset Flag 171 volatile uint32_t WDTRF: 1; 172 // Software Reset Flag 173 volatile uint32_t SWRF: 1; 174 // Comparator 0 Reset Flag 175 volatile uint32_t CMP0RF: 1; 176 // Comparator 1 Reset Flag 177 volatile uint32_t CMP1RF: 1; 178 uint32_t reserved0: 1; 179 // RTC0 Reset Flag 180 volatile uint32_t RTC0RF: 1; 181 // PMU Wakeup Reset Flag 182 volatile uint32_t WAKERF: 1; 183 uint32_t reserved1: 20; 184 }; 185 volatile uint32_t U32; 186 }; 187 }; 188 189 #define SI32_RSTSRC_A_RESETFLAG_PINRF_MASK 0x00000001 190 #define SI32_RSTSRC_A_RESETFLAG_PINRF_SHIFT 0 191 // A /RESET pin event did not cause the last system reset. 192 #define SI32_RSTSRC_A_RESETFLAG_PINRF_NOT_SET_VALUE 0 193 #define SI32_RSTSRC_A_RESETFLAG_PINRF_NOT_SET_U32 \ 194 (SI32_RSTSRC_A_RESETFLAG_PINRF_NOT_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_PINRF_SHIFT) 195 // A /RESET pin event caused the last system reset. 196 #define SI32_RSTSRC_A_RESETFLAG_PINRF_SET_VALUE 1 197 #define SI32_RSTSRC_A_RESETFLAG_PINRF_SET_U32 \ 198 (SI32_RSTSRC_A_RESETFLAG_PINRF_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_PINRF_SHIFT) 199 200 #define SI32_RSTSRC_A_RESETFLAG_PORRF_MASK 0x00000002 201 #define SI32_RSTSRC_A_RESETFLAG_PORRF_SHIFT 1 202 // A Power-On Reset event did not cause the last system reset. 203 #define SI32_RSTSRC_A_RESETFLAG_PORRF_NOT_SET_VALUE 0 204 #define SI32_RSTSRC_A_RESETFLAG_PORRF_NOT_SET_U32 \ 205 (SI32_RSTSRC_A_RESETFLAG_PORRF_NOT_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_PORRF_SHIFT) 206 // A Power-On Reset event caused the last system reset. 207 #define SI32_RSTSRC_A_RESETFLAG_PORRF_SET_VALUE 1 208 #define SI32_RSTSRC_A_RESETFLAG_PORRF_SET_U32 \ 209 (SI32_RSTSRC_A_RESETFLAG_PORRF_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_PORRF_SHIFT) 210 211 #define SI32_RSTSRC_A_RESETFLAG_VMONRF_MASK 0x00000004 212 #define SI32_RSTSRC_A_RESETFLAG_VMONRF_SHIFT 2 213 // A Voltage Supply Monitor VDD Reset event did not cause the last system reset. 214 #define SI32_RSTSRC_A_RESETFLAG_VMONRF_NOT_SET_VALUE 0 215 #define SI32_RSTSRC_A_RESETFLAG_VMONRF_NOT_SET_U32 \ 216 (SI32_RSTSRC_A_RESETFLAG_VMONRF_NOT_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_VMONRF_SHIFT) 217 // A Voltage Supply Monitor VDD Reset event caused the last system reset. 218 #define SI32_RSTSRC_A_RESETFLAG_VMONRF_SET_VALUE 1 219 #define SI32_RSTSRC_A_RESETFLAG_VMONRF_SET_U32 \ 220 (SI32_RSTSRC_A_RESETFLAG_VMONRF_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_VMONRF_SHIFT) 221 222 #define SI32_RSTSRC_A_RESETFLAG_CORERF_MASK 0x00000008 223 #define SI32_RSTSRC_A_RESETFLAG_CORERF_SHIFT 3 224 // A Core Reset event did not cause the last system reset. 225 #define SI32_RSTSRC_A_RESETFLAG_CORERF_NOT_SET_VALUE 0 226 #define SI32_RSTSRC_A_RESETFLAG_CORERF_NOT_SET_U32 \ 227 (SI32_RSTSRC_A_RESETFLAG_CORERF_NOT_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_CORERF_SHIFT) 228 // A Core Reset event caused the last system reset. 229 #define SI32_RSTSRC_A_RESETFLAG_CORERF_SET_VALUE 1 230 #define SI32_RSTSRC_A_RESETFLAG_CORERF_SET_U32 \ 231 (SI32_RSTSRC_A_RESETFLAG_CORERF_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_CORERF_SHIFT) 232 233 #define SI32_RSTSRC_A_RESETFLAG_MCDRF_MASK 0x00000010 234 #define SI32_RSTSRC_A_RESETFLAG_MCDRF_SHIFT 4 235 // A Missing Clock Detector event did not cause the last system reset. 236 #define SI32_RSTSRC_A_RESETFLAG_MCDRF_NOT_SET_VALUE 0 237 #define SI32_RSTSRC_A_RESETFLAG_MCDRF_NOT_SET_U32 \ 238 (SI32_RSTSRC_A_RESETFLAG_MCDRF_NOT_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_MCDRF_SHIFT) 239 // A Missing Clock Detector event caused the last system reset. 240 #define SI32_RSTSRC_A_RESETFLAG_MCDRF_SET_VALUE 1 241 #define SI32_RSTSRC_A_RESETFLAG_MCDRF_SET_U32 \ 242 (SI32_RSTSRC_A_RESETFLAG_MCDRF_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_MCDRF_SHIFT) 243 244 #define SI32_RSTSRC_A_RESETFLAG_WDTRF_MASK 0x00000020 245 #define SI32_RSTSRC_A_RESETFLAG_WDTRF_SHIFT 5 246 // A Watchdog Timer event did not cause the last system reset. 247 #define SI32_RSTSRC_A_RESETFLAG_WDTRF_NOT_SET_VALUE 0 248 #define SI32_RSTSRC_A_RESETFLAG_WDTRF_NOT_SET_U32 \ 249 (SI32_RSTSRC_A_RESETFLAG_WDTRF_NOT_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_WDTRF_SHIFT) 250 // A Watchdog Timer event caused the last system reset. 251 #define SI32_RSTSRC_A_RESETFLAG_WDTRF_SET_VALUE 1 252 #define SI32_RSTSRC_A_RESETFLAG_WDTRF_SET_U32 \ 253 (SI32_RSTSRC_A_RESETFLAG_WDTRF_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_WDTRF_SHIFT) 254 255 #define SI32_RSTSRC_A_RESETFLAG_SWRF_MASK 0x00000040 256 #define SI32_RSTSRC_A_RESETFLAG_SWRF_SHIFT 6 257 // A Software Reset event did not cause the last system reset. 258 #define SI32_RSTSRC_A_RESETFLAG_SWRF_NOT_SET_VALUE 0 259 #define SI32_RSTSRC_A_RESETFLAG_SWRF_NOT_SET_U32 \ 260 (SI32_RSTSRC_A_RESETFLAG_SWRF_NOT_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_SWRF_SHIFT) 261 // A Software Reset event caused the last system reset. 262 #define SI32_RSTSRC_A_RESETFLAG_SWRF_SET_VALUE 1 263 #define SI32_RSTSRC_A_RESETFLAG_SWRF_SET_U32 \ 264 (SI32_RSTSRC_A_RESETFLAG_SWRF_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_SWRF_SHIFT) 265 266 #define SI32_RSTSRC_A_RESETFLAG_CMP0RF_MASK 0x00000080 267 #define SI32_RSTSRC_A_RESETFLAG_CMP0RF_SHIFT 7 268 // A Comparator 0 event did not cause the last system reset. 269 #define SI32_RSTSRC_A_RESETFLAG_CMP0RF_NOT_SET_VALUE 0 270 #define SI32_RSTSRC_A_RESETFLAG_CMP0RF_NOT_SET_U32 \ 271 (SI32_RSTSRC_A_RESETFLAG_CMP0RF_NOT_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_CMP0RF_SHIFT) 272 // A Comparator 0 event caused the last system reset. 273 #define SI32_RSTSRC_A_RESETFLAG_CMP0RF_SET_VALUE 1 274 #define SI32_RSTSRC_A_RESETFLAG_CMP0RF_SET_U32 \ 275 (SI32_RSTSRC_A_RESETFLAG_CMP0RF_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_CMP0RF_SHIFT) 276 277 #define SI32_RSTSRC_A_RESETFLAG_CMP1RF_MASK 0x00000100 278 #define SI32_RSTSRC_A_RESETFLAG_CMP1RF_SHIFT 8 279 // A Comparator 1 event did not cause the last system reset. 280 #define SI32_RSTSRC_A_RESETFLAG_CMP1RF_NOT_SET_VALUE 0 281 #define SI32_RSTSRC_A_RESETFLAG_CMP1RF_NOT_SET_U32 \ 282 (SI32_RSTSRC_A_RESETFLAG_CMP1RF_NOT_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_CMP1RF_SHIFT) 283 // A Comparator 1 event caused the last system reset. 284 #define SI32_RSTSRC_A_RESETFLAG_CMP1RF_SET_VALUE 1 285 #define SI32_RSTSRC_A_RESETFLAG_CMP1RF_SET_U32 \ 286 (SI32_RSTSRC_A_RESETFLAG_CMP1RF_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_CMP1RF_SHIFT) 287 288 #define SI32_RSTSRC_A_RESETFLAG_RTC0RF_MASK 0x00000400 289 #define SI32_RSTSRC_A_RESETFLAG_RTC0RF_SHIFT 10 290 // An RTC0 event did not cause the last system reset. 291 #define SI32_RSTSRC_A_RESETFLAG_RTC0RF_NOT_SET_VALUE 0 292 #define SI32_RSTSRC_A_RESETFLAG_RTC0RF_NOT_SET_U32 \ 293 (SI32_RSTSRC_A_RESETFLAG_RTC0RF_NOT_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_RTC0RF_SHIFT) 294 // An RTC0 event caused the last system reset. 295 #define SI32_RSTSRC_A_RESETFLAG_RTC0RF_SET_VALUE 1 296 #define SI32_RSTSRC_A_RESETFLAG_RTC0RF_SET_U32 \ 297 (SI32_RSTSRC_A_RESETFLAG_RTC0RF_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_RTC0RF_SHIFT) 298 299 #define SI32_RSTSRC_A_RESETFLAG_WAKERF_MASK 0x00000800 300 #define SI32_RSTSRC_A_RESETFLAG_WAKERF_SHIFT 11 301 // A PMU Wakeup event did not cause the last system reset. 302 #define SI32_RSTSRC_A_RESETFLAG_WAKERF_NOT_SET_VALUE 0 303 #define SI32_RSTSRC_A_RESETFLAG_WAKERF_NOT_SET_U32 \ 304 (SI32_RSTSRC_A_RESETFLAG_WAKERF_NOT_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_WAKERF_SHIFT) 305 // A PMU Wakeup event caused the last system reset. 306 #define SI32_RSTSRC_A_RESETFLAG_WAKERF_SET_VALUE 1 307 #define SI32_RSTSRC_A_RESETFLAG_WAKERF_SET_U32 \ 308 (SI32_RSTSRC_A_RESETFLAG_WAKERF_SET_VALUE << SI32_RSTSRC_A_RESETFLAG_WAKERF_SHIFT) 309 310 311 312 struct SI32_RSTSRC_A_CONFIG_Struct 313 { 314 union 315 { 316 struct 317 { 318 // Power Mode Select 319 volatile uint32_t PMSEL: 1; 320 uint32_t reserved0: 31; 321 }; 322 volatile uint32_t U32; 323 }; 324 }; 325 326 #define SI32_RSTSRC_A_CONFIG_PMSEL_MASK 0x00000001 327 #define SI32_RSTSRC_A_CONFIG_PMSEL_SHIFT 0 328 // Power Mode < PM9. 329 #define SI32_RSTSRC_A_CONFIG_PMSEL_PM9_DIS_VALUE 0 330 #define SI32_RSTSRC_A_CONFIG_PMSEL_PM9_DIS_U32 \ 331 (SI32_RSTSRC_A_CONFIG_PMSEL_PM9_DIS_VALUE << SI32_RSTSRC_A_CONFIG_PMSEL_SHIFT) 332 // Power Mode = PM9. 333 #define SI32_RSTSRC_A_CONFIG_PMSEL_PM9_EN_VALUE 1 334 #define SI32_RSTSRC_A_CONFIG_PMSEL_PM9_EN_U32 \ 335 (SI32_RSTSRC_A_CONFIG_PMSEL_PM9_EN_VALUE << SI32_RSTSRC_A_CONFIG_PMSEL_SHIFT) 336 337 338 339 typedef struct SI32_RSTSRC_A_Struct 340 { 341 struct SI32_RSTSRC_A_RESETEN_Struct RESETEN ; // Base Address + 0x0 342 volatile uint32_t RESETEN_SET; 343 volatile uint32_t RESETEN_CLR; 344 uint32_t reserved0; 345 struct SI32_RSTSRC_A_RESETFLAG_Struct RESETFLAG ; // Base Address + 0x10 346 uint32_t reserved1; 347 uint32_t reserved2; 348 uint32_t reserved3; 349 struct SI32_RSTSRC_A_CONFIG_Struct CONFIG ; // Base Address + 0x20 350 volatile uint32_t CONFIG_SET; 351 volatile uint32_t CONFIG_CLR; 352 uint32_t reserved4; 353 uint32_t reserved5[4]; 354 } SI32_RSTSRC_A_Type; 355 356 #ifdef __cplusplus 357 } 358 #endif 359 360 #endif // __SI32_RSTSRC_A_REGISTERS_H__ 361 362 //-eof-------------------------------------------------------------------------- 363 364