1 /**************************************************************************//**
2  * @file
3  * @brief EFR32BG27 EMU register and bit field definitions
4  ******************************************************************************
5  * # License
6  * <b>Copyright 2023 Silicon Laboratories, Inc. www.silabs.com</b>
7  ******************************************************************************
8  *
9  * SPDX-License-Identifier: Zlib
10  *
11  * The licensor of this software is Silicon Laboratories Inc.
12  *
13  * This software is provided 'as-is', without any express or implied
14  * warranty. In no event will the authors be held liable for any damages
15  * arising from the use of this software.
16  *
17  * Permission is granted to anyone to use this software for any purpose,
18  * including commercial applications, and to alter it and redistribute it
19  * freely, subject to the following restrictions:
20  *
21  * 1. The origin of this software must not be misrepresented; you must not
22  *    claim that you wrote the original software. If you use this software
23  *    in a product, an acknowledgment in the product documentation would be
24  *    appreciated but is not required.
25  * 2. Altered source versions must be plainly marked as such, and must not be
26  *    misrepresented as being the original software.
27  * 3. This notice may not be removed or altered from any source distribution.
28  *
29  *****************************************************************************/
30 #ifndef EFR32BG27_EMU_H
31 #define EFR32BG27_EMU_H
32 #define EMU_HAS_SET_CLEAR
33 
34 /**************************************************************************//**
35 * @addtogroup Parts
36 * @{
37 ******************************************************************************/
38 /**************************************************************************//**
39  * @defgroup EFR32BG27_EMU EMU
40  * @{
41  * @brief EFR32BG27 EMU Register Declaration.
42  *****************************************************************************/
43 
44 /** EMU Register Declaration. */
45 typedef struct {
46   uint32_t       RESERVED0[4U];                 /**< Reserved for future use                            */
47   __IOM uint32_t DECBOD;                        /**< DECOUPLE LVBOD  Control register                   */
48   uint32_t       RESERVED1[3U];                 /**< Reserved for future use                            */
49   __IOM uint32_t BOD3SENSE;                     /**< BOD3SENSE Control register                         */
50   uint32_t       RESERVED2[6U];                 /**< Reserved for future use                            */
51   __IOM uint32_t VREGVDDCMPCTRL;                /**< DC-DC VREGVDD Comparator Control Register          */
52   __IOM uint32_t PD1PARETCTRL;                  /**< PD1 Partial Retention Control                      */
53   uint32_t       RESERVED3[6U];                 /**< Reserved for future use                            */
54   __IM uint32_t  IPVERSION;                     /**< IP Version                                         */
55   __IOM uint32_t LOCK;                          /**< EMU Configuration lock register                    */
56   __IOM uint32_t IF;                            /**< Interrupt Flags                                    */
57   __IOM uint32_t IEN;                           /**< Interrupt Enables                                  */
58   __IOM uint32_t EM4CTRL;                       /**< EM4 Control                                        */
59   __IOM uint32_t CMD;                           /**< EMU Command register                               */
60   __IOM uint32_t CTRL;                          /**< EMU Control register                               */
61   __IOM uint32_t TEMPLIMITS;                    /**< EMU Temperature thresholds                         */
62   uint32_t       RESERVED4[2U];                 /**< Reserved for future use                            */
63   __IM uint32_t  STATUS;                        /**< EMU Status register                                */
64   __IM uint32_t  TEMP;                          /**< Temperature                                        */
65   uint32_t       RESERVED5[1U];                 /**< Reserved for future use                            */
66   __IOM uint32_t RSTCTRL;                       /**< Reset Management Control register                  */
67   __IM uint32_t  RSTCAUSE;                      /**< Reset cause                                        */
68   uint32_t       RESERVED6[2U];                 /**< Reserved for future use                            */
69   __IOM uint32_t DGIF;                          /**< Interrupt Flags Debug                              */
70   __IOM uint32_t DGIEN;                         /**< Interrupt Enables Debug                            */
71   uint32_t       RESERVED7[5U];                 /**< Reserved for future use                            */
72   __IOM uint32_t BOOSTCTRL;                     /**< EMU boost mode controller register                 */
73   uint32_t       RESERVED8[1U];                 /**< Reserved for future use                            */
74   uint32_t       RESERVED9[15U];                /**< Reserved for future use                            */
75   __IOM uint32_t EFPIF;                         /**< EFP Interrupt Register                             */
76   __IOM uint32_t EFPIEN;                        /**< EFP Interrupt Enable Register                      */
77   uint32_t       RESERVED10[2U];                /**< Reserved for future use                            */
78   uint32_t       RESERVED11[1U];                /**< Reserved for future use                            */
79   uint32_t       RESERVED12[955U];              /**< Reserved for future use                            */
80   uint32_t       RESERVED13[4U];                /**< Reserved for future use                            */
81   __IOM uint32_t DECBOD_SET;                    /**< DECOUPLE LVBOD  Control register                   */
82   uint32_t       RESERVED14[3U];                /**< Reserved for future use                            */
83   __IOM uint32_t BOD3SENSE_SET;                 /**< BOD3SENSE Control register                         */
84   uint32_t       RESERVED15[6U];                /**< Reserved for future use                            */
85   __IOM uint32_t VREGVDDCMPCTRL_SET;            /**< DC-DC VREGVDD Comparator Control Register          */
86   __IOM uint32_t PD1PARETCTRL_SET;              /**< PD1 Partial Retention Control                      */
87   uint32_t       RESERVED16[6U];                /**< Reserved for future use                            */
88   __IM uint32_t  IPVERSION_SET;                 /**< IP Version                                         */
89   __IOM uint32_t LOCK_SET;                      /**< EMU Configuration lock register                    */
90   __IOM uint32_t IF_SET;                        /**< Interrupt Flags                                    */
91   __IOM uint32_t IEN_SET;                       /**< Interrupt Enables                                  */
92   __IOM uint32_t EM4CTRL_SET;                   /**< EM4 Control                                        */
93   __IOM uint32_t CMD_SET;                       /**< EMU Command register                               */
94   __IOM uint32_t CTRL_SET;                      /**< EMU Control register                               */
95   __IOM uint32_t TEMPLIMITS_SET;                /**< EMU Temperature thresholds                         */
96   uint32_t       RESERVED17[2U];                /**< Reserved for future use                            */
97   __IM uint32_t  STATUS_SET;                    /**< EMU Status register                                */
98   __IM uint32_t  TEMP_SET;                      /**< Temperature                                        */
99   uint32_t       RESERVED18[1U];                /**< Reserved for future use                            */
100   __IOM uint32_t RSTCTRL_SET;                   /**< Reset Management Control register                  */
101   __IM uint32_t  RSTCAUSE_SET;                  /**< Reset cause                                        */
102   uint32_t       RESERVED19[2U];                /**< Reserved for future use                            */
103   __IOM uint32_t DGIF_SET;                      /**< Interrupt Flags Debug                              */
104   __IOM uint32_t DGIEN_SET;                     /**< Interrupt Enables Debug                            */
105   uint32_t       RESERVED20[5U];                /**< Reserved for future use                            */
106   __IOM uint32_t BOOSTCTRL_SET;                 /**< EMU boost mode controller register                 */
107   uint32_t       RESERVED21[1U];                /**< Reserved for future use                            */
108   uint32_t       RESERVED22[15U];               /**< Reserved for future use                            */
109   __IOM uint32_t EFPIF_SET;                     /**< EFP Interrupt Register                             */
110   __IOM uint32_t EFPIEN_SET;                    /**< EFP Interrupt Enable Register                      */
111   uint32_t       RESERVED23[2U];                /**< Reserved for future use                            */
112   uint32_t       RESERVED24[1U];                /**< Reserved for future use                            */
113   uint32_t       RESERVED25[955U];              /**< Reserved for future use                            */
114   uint32_t       RESERVED26[4U];                /**< Reserved for future use                            */
115   __IOM uint32_t DECBOD_CLR;                    /**< DECOUPLE LVBOD  Control register                   */
116   uint32_t       RESERVED27[3U];                /**< Reserved for future use                            */
117   __IOM uint32_t BOD3SENSE_CLR;                 /**< BOD3SENSE Control register                         */
118   uint32_t       RESERVED28[6U];                /**< Reserved for future use                            */
119   __IOM uint32_t VREGVDDCMPCTRL_CLR;            /**< DC-DC VREGVDD Comparator Control Register          */
120   __IOM uint32_t PD1PARETCTRL_CLR;              /**< PD1 Partial Retention Control                      */
121   uint32_t       RESERVED29[6U];                /**< Reserved for future use                            */
122   __IM uint32_t  IPVERSION_CLR;                 /**< IP Version                                         */
123   __IOM uint32_t LOCK_CLR;                      /**< EMU Configuration lock register                    */
124   __IOM uint32_t IF_CLR;                        /**< Interrupt Flags                                    */
125   __IOM uint32_t IEN_CLR;                       /**< Interrupt Enables                                  */
126   __IOM uint32_t EM4CTRL_CLR;                   /**< EM4 Control                                        */
127   __IOM uint32_t CMD_CLR;                       /**< EMU Command register                               */
128   __IOM uint32_t CTRL_CLR;                      /**< EMU Control register                               */
129   __IOM uint32_t TEMPLIMITS_CLR;                /**< EMU Temperature thresholds                         */
130   uint32_t       RESERVED30[2U];                /**< Reserved for future use                            */
131   __IM uint32_t  STATUS_CLR;                    /**< EMU Status register                                */
132   __IM uint32_t  TEMP_CLR;                      /**< Temperature                                        */
133   uint32_t       RESERVED31[1U];                /**< Reserved for future use                            */
134   __IOM uint32_t RSTCTRL_CLR;                   /**< Reset Management Control register                  */
135   __IM uint32_t  RSTCAUSE_CLR;                  /**< Reset cause                                        */
136   uint32_t       RESERVED32[2U];                /**< Reserved for future use                            */
137   __IOM uint32_t DGIF_CLR;                      /**< Interrupt Flags Debug                              */
138   __IOM uint32_t DGIEN_CLR;                     /**< Interrupt Enables Debug                            */
139   uint32_t       RESERVED33[5U];                /**< Reserved for future use                            */
140   __IOM uint32_t BOOSTCTRL_CLR;                 /**< EMU boost mode controller register                 */
141   uint32_t       RESERVED34[1U];                /**< Reserved for future use                            */
142   uint32_t       RESERVED35[15U];               /**< Reserved for future use                            */
143   __IOM uint32_t EFPIF_CLR;                     /**< EFP Interrupt Register                             */
144   __IOM uint32_t EFPIEN_CLR;                    /**< EFP Interrupt Enable Register                      */
145   uint32_t       RESERVED36[2U];                /**< Reserved for future use                            */
146   uint32_t       RESERVED37[1U];                /**< Reserved for future use                            */
147   uint32_t       RESERVED38[955U];              /**< Reserved for future use                            */
148   uint32_t       RESERVED39[4U];                /**< Reserved for future use                            */
149   __IOM uint32_t DECBOD_TGL;                    /**< DECOUPLE LVBOD  Control register                   */
150   uint32_t       RESERVED40[3U];                /**< Reserved for future use                            */
151   __IOM uint32_t BOD3SENSE_TGL;                 /**< BOD3SENSE Control register                         */
152   uint32_t       RESERVED41[6U];                /**< Reserved for future use                            */
153   __IOM uint32_t VREGVDDCMPCTRL_TGL;            /**< DC-DC VREGVDD Comparator Control Register          */
154   __IOM uint32_t PD1PARETCTRL_TGL;              /**< PD1 Partial Retention Control                      */
155   uint32_t       RESERVED42[6U];                /**< Reserved for future use                            */
156   __IM uint32_t  IPVERSION_TGL;                 /**< IP Version                                         */
157   __IOM uint32_t LOCK_TGL;                      /**< EMU Configuration lock register                    */
158   __IOM uint32_t IF_TGL;                        /**< Interrupt Flags                                    */
159   __IOM uint32_t IEN_TGL;                       /**< Interrupt Enables                                  */
160   __IOM uint32_t EM4CTRL_TGL;                   /**< EM4 Control                                        */
161   __IOM uint32_t CMD_TGL;                       /**< EMU Command register                               */
162   __IOM uint32_t CTRL_TGL;                      /**< EMU Control register                               */
163   __IOM uint32_t TEMPLIMITS_TGL;                /**< EMU Temperature thresholds                         */
164   uint32_t       RESERVED43[2U];                /**< Reserved for future use                            */
165   __IM uint32_t  STATUS_TGL;                    /**< EMU Status register                                */
166   __IM uint32_t  TEMP_TGL;                      /**< Temperature                                        */
167   uint32_t       RESERVED44[1U];                /**< Reserved for future use                            */
168   __IOM uint32_t RSTCTRL_TGL;                   /**< Reset Management Control register                  */
169   __IM uint32_t  RSTCAUSE_TGL;                  /**< Reset cause                                        */
170   uint32_t       RESERVED45[2U];                /**< Reserved for future use                            */
171   __IOM uint32_t DGIF_TGL;                      /**< Interrupt Flags Debug                              */
172   __IOM uint32_t DGIEN_TGL;                     /**< Interrupt Enables Debug                            */
173   uint32_t       RESERVED46[5U];                /**< Reserved for future use                            */
174   __IOM uint32_t BOOSTCTRL_TGL;                 /**< EMU boost mode controller register                 */
175   uint32_t       RESERVED47[1U];                /**< Reserved for future use                            */
176   uint32_t       RESERVED48[15U];               /**< Reserved for future use                            */
177   __IOM uint32_t EFPIF_TGL;                     /**< EFP Interrupt Register                             */
178   __IOM uint32_t EFPIEN_TGL;                    /**< EFP Interrupt Enable Register                      */
179   uint32_t       RESERVED49[2U];                /**< Reserved for future use                            */
180   uint32_t       RESERVED50[1U];                /**< Reserved for future use                            */
181 } EMU_TypeDef;
182 /** @} End of group EFR32BG27_EMU */
183 
184 /**************************************************************************//**
185  * @addtogroup EFR32BG27_EMU
186  * @{
187  * @defgroup EFR32BG27_EMU_BitFields EMU Bit Fields
188  * @{
189  *****************************************************************************/
190 
191 /* Bit fields for EMU DECBOD */
192 #define _EMU_DECBOD_RESETVALUE                          0x00000022UL                             /**< Default value for EMU_DECBOD                */
193 #define _EMU_DECBOD_MASK                                0x00000033UL                             /**< Mask for EMU_DECBOD                         */
194 #define EMU_DECBOD_DECBODEN                             (0x1UL << 0)                             /**< DECBOD enable                               */
195 #define _EMU_DECBOD_DECBODEN_SHIFT                      0                                        /**< Shift value for EMU_DECBODEN                */
196 #define _EMU_DECBOD_DECBODEN_MASK                       0x1UL                                    /**< Bit mask for EMU_DECBODEN                   */
197 #define _EMU_DECBOD_DECBODEN_DEFAULT                    0x00000000UL                             /**< Mode DEFAULT for EMU_DECBOD                 */
198 #define EMU_DECBOD_DECBODEN_DEFAULT                     (_EMU_DECBOD_DECBODEN_DEFAULT << 0)      /**< Shifted mode DEFAULT for EMU_DECBOD         */
199 #define EMU_DECBOD_DECBODMASK                           (0x1UL << 1)                             /**< DECBOD Mask                                 */
200 #define _EMU_DECBOD_DECBODMASK_SHIFT                    1                                        /**< Shift value for EMU_DECBODMASK              */
201 #define _EMU_DECBOD_DECBODMASK_MASK                     0x2UL                                    /**< Bit mask for EMU_DECBODMASK                 */
202 #define _EMU_DECBOD_DECBODMASK_DEFAULT                  0x00000001UL                             /**< Mode DEFAULT for EMU_DECBOD                 */
203 #define EMU_DECBOD_DECBODMASK_DEFAULT                   (_EMU_DECBOD_DECBODMASK_DEFAULT << 1)    /**< Shifted mode DEFAULT for EMU_DECBOD         */
204 #define EMU_DECBOD_DECOVMBODEN                          (0x1UL << 4)                             /**< Over Voltage Monitor enable                 */
205 #define _EMU_DECBOD_DECOVMBODEN_SHIFT                   4                                        /**< Shift value for EMU_DECOVMBODEN             */
206 #define _EMU_DECBOD_DECOVMBODEN_MASK                    0x10UL                                   /**< Bit mask for EMU_DECOVMBODEN                */
207 #define _EMU_DECBOD_DECOVMBODEN_DEFAULT                 0x00000000UL                             /**< Mode DEFAULT for EMU_DECBOD                 */
208 #define EMU_DECBOD_DECOVMBODEN_DEFAULT                  (_EMU_DECBOD_DECOVMBODEN_DEFAULT << 4)   /**< Shifted mode DEFAULT for EMU_DECBOD         */
209 #define EMU_DECBOD_DECOVMBODMASK                        (0x1UL << 5)                             /**< Over Voltage Monitor Mask                   */
210 #define _EMU_DECBOD_DECOVMBODMASK_SHIFT                 5                                        /**< Shift value for EMU_DECOVMBODMASK           */
211 #define _EMU_DECBOD_DECOVMBODMASK_MASK                  0x20UL                                   /**< Bit mask for EMU_DECOVMBODMASK              */
212 #define _EMU_DECBOD_DECOVMBODMASK_DEFAULT               0x00000001UL                             /**< Mode DEFAULT for EMU_DECBOD                 */
213 #define EMU_DECBOD_DECOVMBODMASK_DEFAULT                (_EMU_DECBOD_DECOVMBODMASK_DEFAULT << 5) /**< Shifted mode DEFAULT for EMU_DECBOD         */
214 
215 /* Bit fields for EMU BOD3SENSE */
216 #define _EMU_BOD3SENSE_RESETVALUE                       0x00000000UL                              /**< Default value for EMU_BOD3SENSE             */
217 #define _EMU_BOD3SENSE_MASK                             0x00000077UL                              /**< Mask for EMU_BOD3SENSE                      */
218 #define EMU_BOD3SENSE_AVDDBODEN                         (0x1UL << 0)                              /**< AVDD BOD enable                             */
219 #define _EMU_BOD3SENSE_AVDDBODEN_SHIFT                  0                                         /**< Shift value for EMU_AVDDBODEN               */
220 #define _EMU_BOD3SENSE_AVDDBODEN_MASK                   0x1UL                                     /**< Bit mask for EMU_AVDDBODEN                  */
221 #define _EMU_BOD3SENSE_AVDDBODEN_DEFAULT                0x00000000UL                              /**< Mode DEFAULT for EMU_BOD3SENSE              */
222 #define EMU_BOD3SENSE_AVDDBODEN_DEFAULT                 (_EMU_BOD3SENSE_AVDDBODEN_DEFAULT << 0)   /**< Shifted mode DEFAULT for EMU_BOD3SENSE      */
223 #define EMU_BOD3SENSE_VDDIO0BODEN                       (0x1UL << 1)                              /**< VDDIO0 BOD enable                           */
224 #define _EMU_BOD3SENSE_VDDIO0BODEN_SHIFT                1                                         /**< Shift value for EMU_VDDIO0BODEN             */
225 #define _EMU_BOD3SENSE_VDDIO0BODEN_MASK                 0x2UL                                     /**< Bit mask for EMU_VDDIO0BODEN                */
226 #define _EMU_BOD3SENSE_VDDIO0BODEN_DEFAULT              0x00000000UL                              /**< Mode DEFAULT for EMU_BOD3SENSE              */
227 #define EMU_BOD3SENSE_VDDIO0BODEN_DEFAULT               (_EMU_BOD3SENSE_VDDIO0BODEN_DEFAULT << 1) /**< Shifted mode DEFAULT for EMU_BOD3SENSE      */
228 #define EMU_BOD3SENSE_VDDIO1BODEN                       (0x1UL << 2)                              /**< VDDIO1 BOD enable                           */
229 #define _EMU_BOD3SENSE_VDDIO1BODEN_SHIFT                2                                         /**< Shift value for EMU_VDDIO1BODEN             */
230 #define _EMU_BOD3SENSE_VDDIO1BODEN_MASK                 0x4UL                                     /**< Bit mask for EMU_VDDIO1BODEN                */
231 #define _EMU_BOD3SENSE_VDDIO1BODEN_DEFAULT              0x00000000UL                              /**< Mode DEFAULT for EMU_BOD3SENSE              */
232 #define EMU_BOD3SENSE_VDDIO1BODEN_DEFAULT               (_EMU_BOD3SENSE_VDDIO1BODEN_DEFAULT << 2) /**< Shifted mode DEFAULT for EMU_BOD3SENSE      */
233 
234 /* Bit fields for EMU VREGVDDCMPCTRL */
235 #define _EMU_VREGVDDCMPCTRL_RESETVALUE                  0x00000006UL                                   /**< Default value for EMU_VREGVDDCMPCTRL        */
236 #define _EMU_VREGVDDCMPCTRL_MASK                        0x00000007UL                                   /**< Mask for EMU_VREGVDDCMPCTRL                 */
237 #define EMU_VREGVDDCMPCTRL_VREGINCMPEN                  (0x1UL << 0)                                   /**< VREGVDD comparator enable                   */
238 #define _EMU_VREGVDDCMPCTRL_VREGINCMPEN_SHIFT           0                                              /**< Shift value for EMU_VREGINCMPEN             */
239 #define _EMU_VREGVDDCMPCTRL_VREGINCMPEN_MASK            0x1UL                                          /**< Bit mask for EMU_VREGINCMPEN                */
240 #define _EMU_VREGVDDCMPCTRL_VREGINCMPEN_DEFAULT         0x00000000UL                                   /**< Mode DEFAULT for EMU_VREGVDDCMPCTRL         */
241 #define EMU_VREGVDDCMPCTRL_VREGINCMPEN_DEFAULT          (_EMU_VREGVDDCMPCTRL_VREGINCMPEN_DEFAULT << 0) /**< Shifted mode DEFAULT for EMU_VREGVDDCMPCTRL */
242 #define _EMU_VREGVDDCMPCTRL_THRESSEL_SHIFT              1                                              /**< Shift value for EMU_THRESSEL                */
243 #define _EMU_VREGVDDCMPCTRL_THRESSEL_MASK               0x6UL                                          /**< Bit mask for EMU_THRESSEL                   */
244 #define _EMU_VREGVDDCMPCTRL_THRESSEL_DEFAULT            0x00000003UL                                   /**< Mode DEFAULT for EMU_VREGVDDCMPCTRL         */
245 #define EMU_VREGVDDCMPCTRL_THRESSEL_DEFAULT             (_EMU_VREGVDDCMPCTRL_THRESSEL_DEFAULT << 1)    /**< Shifted mode DEFAULT for EMU_VREGVDDCMPCTRL */
246 
247 /* Bit fields for EMU PD1PARETCTRL */
248 #define _EMU_PD1PARETCTRL_RESETVALUE                    0x00000000UL                                        /**< Default value for EMU_PD1PARETCTRL          */
249 #define _EMU_PD1PARETCTRL_MASK                          0x0000FFFFUL                                        /**< Mask for EMU_PD1PARETCTRL                   */
250 #define _EMU_PD1PARETCTRL_PD1PARETDIS_SHIFT             0                                                   /**< Shift value for EMU_PD1PARETDIS             */
251 #define _EMU_PD1PARETCTRL_PD1PARETDIS_MASK              0xFFFFUL                                            /**< Bit mask for EMU_PD1PARETDIS                */
252 #define _EMU_PD1PARETCTRL_PD1PARETDIS_DEFAULT           0x00000000UL                                        /**< Mode DEFAULT for EMU_PD1PARETCTRL           */
253 #define _EMU_PD1PARETCTRL_PD1PARETDIS_RETAIN            0x00000000UL                                        /**< Mode RETAIN for EMU_PD1PARETCTRL            */
254 #define _EMU_PD1PARETCTRL_PD1PARETDIS_PERIPHNORETAIN    0x00000001UL                                        /**< Mode PERIPHNORETAIN for EMU_PD1PARETCTRL    */
255 #define _EMU_PD1PARETCTRL_PD1PARETDIS_RADIONORETAIN     0x00000002UL                                        /**< Mode RADIONORETAIN for EMU_PD1PARETCTRL     */
256 #define EMU_PD1PARETCTRL_PD1PARETDIS_DEFAULT            (_EMU_PD1PARETCTRL_PD1PARETDIS_DEFAULT << 0)        /**< Shifted mode DEFAULT for EMU_PD1PARETCTRL   */
257 #define EMU_PD1PARETCTRL_PD1PARETDIS_RETAIN             (_EMU_PD1PARETCTRL_PD1PARETDIS_RETAIN << 0)         /**< Shifted mode RETAIN for EMU_PD1PARETCTRL    */
258 #define EMU_PD1PARETCTRL_PD1PARETDIS_PERIPHNORETAIN     (_EMU_PD1PARETCTRL_PD1PARETDIS_PERIPHNORETAIN << 0) /**< Shifted mode PERIPHNORETAIN for EMU_PD1PARETCTRL*/
259 #define EMU_PD1PARETCTRL_PD1PARETDIS_RADIONORETAIN      (_EMU_PD1PARETCTRL_PD1PARETDIS_RADIONORETAIN << 0)  /**< Shifted mode RADIONORETAIN for EMU_PD1PARETCTRL*/
260 
261 /* Bit fields for EMU IPVERSION */
262 #define _EMU_IPVERSION_RESETVALUE                       0x00000005UL                            /**< Default value for EMU_IPVERSION             */
263 #define _EMU_IPVERSION_MASK                             0xFFFFFFFFUL                            /**< Mask for EMU_IPVERSION                      */
264 #define _EMU_IPVERSION_IPVERSION_SHIFT                  0                                       /**< Shift value for EMU_IPVERSION               */
265 #define _EMU_IPVERSION_IPVERSION_MASK                   0xFFFFFFFFUL                            /**< Bit mask for EMU_IPVERSION                  */
266 #define _EMU_IPVERSION_IPVERSION_DEFAULT                0x00000005UL                            /**< Mode DEFAULT for EMU_IPVERSION              */
267 #define EMU_IPVERSION_IPVERSION_DEFAULT                 (_EMU_IPVERSION_IPVERSION_DEFAULT << 0) /**< Shifted mode DEFAULT for EMU_IPVERSION      */
268 
269 /* Bit fields for EMU LOCK */
270 #define _EMU_LOCK_RESETVALUE                            0x0000ADE8UL                     /**< Default value for EMU_LOCK                  */
271 #define _EMU_LOCK_MASK                                  0x0000FFFFUL                     /**< Mask for EMU_LOCK                           */
272 #define _EMU_LOCK_LOCKKEY_SHIFT                         0                                /**< Shift value for EMU_LOCKKEY                 */
273 #define _EMU_LOCK_LOCKKEY_MASK                          0xFFFFUL                         /**< Bit mask for EMU_LOCKKEY                    */
274 #define _EMU_LOCK_LOCKKEY_DEFAULT                       0x0000ADE8UL                     /**< Mode DEFAULT for EMU_LOCK                   */
275 #define _EMU_LOCK_LOCKKEY_UNLOCK                        0x0000ADE8UL                     /**< Mode UNLOCK for EMU_LOCK                    */
276 #define EMU_LOCK_LOCKKEY_DEFAULT                        (_EMU_LOCK_LOCKKEY_DEFAULT << 0) /**< Shifted mode DEFAULT for EMU_LOCK           */
277 #define EMU_LOCK_LOCKKEY_UNLOCK                         (_EMU_LOCK_LOCKKEY_UNLOCK << 0)  /**< Shifted mode UNLOCK for EMU_LOCK            */
278 
279 /* Bit fields for EMU IF */
280 #define _EMU_IF_RESETVALUE                              0x00000000UL                         /**< Default value for EMU_IF                    */
281 #define _EMU_IF_MASK                                    0xEB370000UL                         /**< Mask for EMU_IF                             */
282 #define EMU_IF_AVDDBOD                                  (0x1UL << 16)                        /**< AVDD BOD Interrupt flag                     */
283 #define _EMU_IF_AVDDBOD_SHIFT                           16                                   /**< Shift value for EMU_AVDDBOD                 */
284 #define _EMU_IF_AVDDBOD_MASK                            0x10000UL                            /**< Bit mask for EMU_AVDDBOD                    */
285 #define _EMU_IF_AVDDBOD_DEFAULT                         0x00000000UL                         /**< Mode DEFAULT for EMU_IF                     */
286 #define EMU_IF_AVDDBOD_DEFAULT                          (_EMU_IF_AVDDBOD_DEFAULT << 16)      /**< Shifted mode DEFAULT for EMU_IF             */
287 #define EMU_IF_IOVDD0BOD                                (0x1UL << 17)                        /**< VDDIO0 BOD Interrupt flag                   */
288 #define _EMU_IF_IOVDD0BOD_SHIFT                         17                                   /**< Shift value for EMU_IOVDD0BOD               */
289 #define _EMU_IF_IOVDD0BOD_MASK                          0x20000UL                            /**< Bit mask for EMU_IOVDD0BOD                  */
290 #define _EMU_IF_IOVDD0BOD_DEFAULT                       0x00000000UL                         /**< Mode DEFAULT for EMU_IF                     */
291 #define EMU_IF_IOVDD0BOD_DEFAULT                        (_EMU_IF_IOVDD0BOD_DEFAULT << 17)    /**< Shifted mode DEFAULT for EMU_IF             */
292 #define EMU_IF_BOOSTPOSEDGE                             (0x1UL << 20)                        /**< BOOST_EN Rising Edge Interrupt flag         */
293 #define _EMU_IF_BOOSTPOSEDGE_SHIFT                      20                                   /**< Shift value for EMU_BOOSTPOSEDGE            */
294 #define _EMU_IF_BOOSTPOSEDGE_MASK                       0x100000UL                           /**< Bit mask for EMU_BOOSTPOSEDGE               */
295 #define _EMU_IF_BOOSTPOSEDGE_DEFAULT                    0x00000000UL                         /**< Mode DEFAULT for EMU_IF                     */
296 #define EMU_IF_BOOSTPOSEDGE_DEFAULT                     (_EMU_IF_BOOSTPOSEDGE_DEFAULT << 20) /**< Shifted mode DEFAULT for EMU_IF             */
297 #define EMU_IF_BOOSTNEGEDGE                             (0x1UL << 21)                        /**< BOOST_EN Falling Edge Interrupt flag        */
298 #define _EMU_IF_BOOSTNEGEDGE_SHIFT                      21                                   /**< Shift value for EMU_BOOSTNEGEDGE            */
299 #define _EMU_IF_BOOSTNEGEDGE_MASK                       0x200000UL                           /**< Bit mask for EMU_BOOSTNEGEDGE               */
300 #define _EMU_IF_BOOSTNEGEDGE_DEFAULT                    0x00000000UL                         /**< Mode DEFAULT for EMU_IF                     */
301 #define EMU_IF_BOOSTNEGEDGE_DEFAULT                     (_EMU_IF_BOOSTNEGEDGE_DEFAULT << 21) /**< Shifted mode DEFAULT for EMU_IF             */
302 #define EMU_IF_EM23WAKEUP                               (0x1UL << 24)                        /**< EM23 Wake up Interrupt flag                 */
303 #define _EMU_IF_EM23WAKEUP_SHIFT                        24                                   /**< Shift value for EMU_EM23WAKEUP              */
304 #define _EMU_IF_EM23WAKEUP_MASK                         0x1000000UL                          /**< Bit mask for EMU_EM23WAKEUP                 */
305 #define _EMU_IF_EM23WAKEUP_DEFAULT                      0x00000000UL                         /**< Mode DEFAULT for EMU_IF                     */
306 #define EMU_IF_EM23WAKEUP_DEFAULT                       (_EMU_IF_EM23WAKEUP_DEFAULT << 24)   /**< Shifted mode DEFAULT for EMU_IF             */
307 #define EMU_IF_VSCALEDONE                               (0x1UL << 25)                        /**< Vscale done Interrupt flag                  */
308 #define _EMU_IF_VSCALEDONE_SHIFT                        25                                   /**< Shift value for EMU_VSCALEDONE              */
309 #define _EMU_IF_VSCALEDONE_MASK                         0x2000000UL                          /**< Bit mask for EMU_VSCALEDONE                 */
310 #define _EMU_IF_VSCALEDONE_DEFAULT                      0x00000000UL                         /**< Mode DEFAULT for EMU_IF                     */
311 #define EMU_IF_VSCALEDONE_DEFAULT                       (_EMU_IF_VSCALEDONE_DEFAULT << 25)   /**< Shifted mode DEFAULT for EMU_IF             */
312 #define EMU_IF_TEMPAVG                                  (0x1UL << 27)                        /**< Temperature Average Interrupt flag          */
313 #define _EMU_IF_TEMPAVG_SHIFT                           27                                   /**< Shift value for EMU_TEMPAVG                 */
314 #define _EMU_IF_TEMPAVG_MASK                            0x8000000UL                          /**< Bit mask for EMU_TEMPAVG                    */
315 #define _EMU_IF_TEMPAVG_DEFAULT                         0x00000000UL                         /**< Mode DEFAULT for EMU_IF                     */
316 #define EMU_IF_TEMPAVG_DEFAULT                          (_EMU_IF_TEMPAVG_DEFAULT << 27)      /**< Shifted mode DEFAULT for EMU_IF             */
317 #define EMU_IF_TEMP                                     (0x1UL << 29)                        /**< Temperature Interrupt flag                  */
318 #define _EMU_IF_TEMP_SHIFT                              29                                   /**< Shift value for EMU_TEMP                    */
319 #define _EMU_IF_TEMP_MASK                               0x20000000UL                         /**< Bit mask for EMU_TEMP                       */
320 #define _EMU_IF_TEMP_DEFAULT                            0x00000000UL                         /**< Mode DEFAULT for EMU_IF                     */
321 #define EMU_IF_TEMP_DEFAULT                             (_EMU_IF_TEMP_DEFAULT << 29)         /**< Shifted mode DEFAULT for EMU_IF             */
322 #define EMU_IF_TEMPLOW                                  (0x1UL << 30)                        /**< Temperature low Interrupt flag              */
323 #define _EMU_IF_TEMPLOW_SHIFT                           30                                   /**< Shift value for EMU_TEMPLOW                 */
324 #define _EMU_IF_TEMPLOW_MASK                            0x40000000UL                         /**< Bit mask for EMU_TEMPLOW                    */
325 #define _EMU_IF_TEMPLOW_DEFAULT                         0x00000000UL                         /**< Mode DEFAULT for EMU_IF                     */
326 #define EMU_IF_TEMPLOW_DEFAULT                          (_EMU_IF_TEMPLOW_DEFAULT << 30)      /**< Shifted mode DEFAULT for EMU_IF             */
327 #define EMU_IF_TEMPHIGH                                 (0x1UL << 31)                        /**< Temperature high Interrupt flag             */
328 #define _EMU_IF_TEMPHIGH_SHIFT                          31                                   /**< Shift value for EMU_TEMPHIGH                */
329 #define _EMU_IF_TEMPHIGH_MASK                           0x80000000UL                         /**< Bit mask for EMU_TEMPHIGH                   */
330 #define _EMU_IF_TEMPHIGH_DEFAULT                        0x00000000UL                         /**< Mode DEFAULT for EMU_IF                     */
331 #define EMU_IF_TEMPHIGH_DEFAULT                         (_EMU_IF_TEMPHIGH_DEFAULT << 31)     /**< Shifted mode DEFAULT for EMU_IF             */
332 
333 /* Bit fields for EMU IEN */
334 #define _EMU_IEN_RESETVALUE                             0x00000000UL                          /**< Default value for EMU_IEN                   */
335 #define _EMU_IEN_MASK                                   0xEB370000UL                          /**< Mask for EMU_IEN                            */
336 #define EMU_IEN_AVDDBOD                                 (0x1UL << 16)                         /**< AVDD BOD Interrupt enable                   */
337 #define _EMU_IEN_AVDDBOD_SHIFT                          16                                    /**< Shift value for EMU_AVDDBOD                 */
338 #define _EMU_IEN_AVDDBOD_MASK                           0x10000UL                             /**< Bit mask for EMU_AVDDBOD                    */
339 #define _EMU_IEN_AVDDBOD_DEFAULT                        0x00000000UL                          /**< Mode DEFAULT for EMU_IEN                    */
340 #define EMU_IEN_AVDDBOD_DEFAULT                         (_EMU_IEN_AVDDBOD_DEFAULT << 16)      /**< Shifted mode DEFAULT for EMU_IEN            */
341 #define EMU_IEN_IOVDD0BOD                               (0x1UL << 17)                         /**< VDDIO0 BOD Interrupt enable                 */
342 #define _EMU_IEN_IOVDD0BOD_SHIFT                        17                                    /**< Shift value for EMU_IOVDD0BOD               */
343 #define _EMU_IEN_IOVDD0BOD_MASK                         0x20000UL                             /**< Bit mask for EMU_IOVDD0BOD                  */
344 #define _EMU_IEN_IOVDD0BOD_DEFAULT                      0x00000000UL                          /**< Mode DEFAULT for EMU_IEN                    */
345 #define EMU_IEN_IOVDD0BOD_DEFAULT                       (_EMU_IEN_IOVDD0BOD_DEFAULT << 17)    /**< Shifted mode DEFAULT for EMU_IEN            */
346 #define EMU_IEN_BOOSTPOSEDGE                            (0x1UL << 20)                         /**< BOOST_EN Rising edge Interrupt enable       */
347 #define _EMU_IEN_BOOSTPOSEDGE_SHIFT                     20                                    /**< Shift value for EMU_BOOSTPOSEDGE            */
348 #define _EMU_IEN_BOOSTPOSEDGE_MASK                      0x100000UL                            /**< Bit mask for EMU_BOOSTPOSEDGE               */
349 #define _EMU_IEN_BOOSTPOSEDGE_DEFAULT                   0x00000000UL                          /**< Mode DEFAULT for EMU_IEN                    */
350 #define EMU_IEN_BOOSTPOSEDGE_DEFAULT                    (_EMU_IEN_BOOSTPOSEDGE_DEFAULT << 20) /**< Shifted mode DEFAULT for EMU_IEN            */
351 #define EMU_IEN_BOOSTNEGEDGE                            (0x1UL << 21)                         /**< BOOST_EN Falling edge Interrupt enable      */
352 #define _EMU_IEN_BOOSTNEGEDGE_SHIFT                     21                                    /**< Shift value for EMU_BOOSTNEGEDGE            */
353 #define _EMU_IEN_BOOSTNEGEDGE_MASK                      0x200000UL                            /**< Bit mask for EMU_BOOSTNEGEDGE               */
354 #define _EMU_IEN_BOOSTNEGEDGE_DEFAULT                   0x00000000UL                          /**< Mode DEFAULT for EMU_IEN                    */
355 #define EMU_IEN_BOOSTNEGEDGE_DEFAULT                    (_EMU_IEN_BOOSTNEGEDGE_DEFAULT << 21) /**< Shifted mode DEFAULT for EMU_IEN            */
356 #define EMU_IEN_EM23WAKEUP                              (0x1UL << 24)                         /**< EM23 Wake up Interrupt enable               */
357 #define _EMU_IEN_EM23WAKEUP_SHIFT                       24                                    /**< Shift value for EMU_EM23WAKEUP              */
358 #define _EMU_IEN_EM23WAKEUP_MASK                        0x1000000UL                           /**< Bit mask for EMU_EM23WAKEUP                 */
359 #define _EMU_IEN_EM23WAKEUP_DEFAULT                     0x00000000UL                          /**< Mode DEFAULT for EMU_IEN                    */
360 #define EMU_IEN_EM23WAKEUP_DEFAULT                      (_EMU_IEN_EM23WAKEUP_DEFAULT << 24)   /**< Shifted mode DEFAULT for EMU_IEN            */
361 #define EMU_IEN_VSCALEDONE                              (0x1UL << 25)                         /**< Vscale done Interrupt enable                */
362 #define _EMU_IEN_VSCALEDONE_SHIFT                       25                                    /**< Shift value for EMU_VSCALEDONE              */
363 #define _EMU_IEN_VSCALEDONE_MASK                        0x2000000UL                           /**< Bit mask for EMU_VSCALEDONE                 */
364 #define _EMU_IEN_VSCALEDONE_DEFAULT                     0x00000000UL                          /**< Mode DEFAULT for EMU_IEN                    */
365 #define EMU_IEN_VSCALEDONE_DEFAULT                      (_EMU_IEN_VSCALEDONE_DEFAULT << 25)   /**< Shifted mode DEFAULT for EMU_IEN            */
366 #define EMU_IEN_TEMPAVG                                 (0x1UL << 27)                         /**< Temperature Interrupt enable                */
367 #define _EMU_IEN_TEMPAVG_SHIFT                          27                                    /**< Shift value for EMU_TEMPAVG                 */
368 #define _EMU_IEN_TEMPAVG_MASK                           0x8000000UL                           /**< Bit mask for EMU_TEMPAVG                    */
369 #define _EMU_IEN_TEMPAVG_DEFAULT                        0x00000000UL                          /**< Mode DEFAULT for EMU_IEN                    */
370 #define EMU_IEN_TEMPAVG_DEFAULT                         (_EMU_IEN_TEMPAVG_DEFAULT << 27)      /**< Shifted mode DEFAULT for EMU_IEN            */
371 #define EMU_IEN_TEMP                                    (0x1UL << 29)                         /**< Temperature Interrupt enable                */
372 #define _EMU_IEN_TEMP_SHIFT                             29                                    /**< Shift value for EMU_TEMP                    */
373 #define _EMU_IEN_TEMP_MASK                              0x20000000UL                          /**< Bit mask for EMU_TEMP                       */
374 #define _EMU_IEN_TEMP_DEFAULT                           0x00000000UL                          /**< Mode DEFAULT for EMU_IEN                    */
375 #define EMU_IEN_TEMP_DEFAULT                            (_EMU_IEN_TEMP_DEFAULT << 29)         /**< Shifted mode DEFAULT for EMU_IEN            */
376 #define EMU_IEN_TEMPLOW                                 (0x1UL << 30)                         /**< Temperature low Interrupt enable            */
377 #define _EMU_IEN_TEMPLOW_SHIFT                          30                                    /**< Shift value for EMU_TEMPLOW                 */
378 #define _EMU_IEN_TEMPLOW_MASK                           0x40000000UL                          /**< Bit mask for EMU_TEMPLOW                    */
379 #define _EMU_IEN_TEMPLOW_DEFAULT                        0x00000000UL                          /**< Mode DEFAULT for EMU_IEN                    */
380 #define EMU_IEN_TEMPLOW_DEFAULT                         (_EMU_IEN_TEMPLOW_DEFAULT << 30)      /**< Shifted mode DEFAULT for EMU_IEN            */
381 #define EMU_IEN_TEMPHIGH                                (0x1UL << 31)                         /**< Temperature high Interrupt enable           */
382 #define _EMU_IEN_TEMPHIGH_SHIFT                         31                                    /**< Shift value for EMU_TEMPHIGH                */
383 #define _EMU_IEN_TEMPHIGH_MASK                          0x80000000UL                          /**< Bit mask for EMU_TEMPHIGH                   */
384 #define _EMU_IEN_TEMPHIGH_DEFAULT                       0x00000000UL                          /**< Mode DEFAULT for EMU_IEN                    */
385 #define EMU_IEN_TEMPHIGH_DEFAULT                        (_EMU_IEN_TEMPHIGH_DEFAULT << 31)     /**< Shifted mode DEFAULT for EMU_IEN            */
386 
387 /* Bit fields for EMU EM4CTRL */
388 #define _EMU_EM4CTRL_RESETVALUE                         0x00000000UL                               /**< Default value for EMU_EM4CTRL               */
389 #define _EMU_EM4CTRL_MASK                               0x00000133UL                               /**< Mask for EMU_EM4CTRL                        */
390 #define _EMU_EM4CTRL_EM4ENTRY_SHIFT                     0                                          /**< Shift value for EMU_EM4ENTRY                */
391 #define _EMU_EM4CTRL_EM4ENTRY_MASK                      0x3UL                                      /**< Bit mask for EMU_EM4ENTRY                   */
392 #define _EMU_EM4CTRL_EM4ENTRY_DEFAULT                   0x00000000UL                               /**< Mode DEFAULT for EMU_EM4CTRL                */
393 #define EMU_EM4CTRL_EM4ENTRY_DEFAULT                    (_EMU_EM4CTRL_EM4ENTRY_DEFAULT << 0)       /**< Shifted mode DEFAULT for EMU_EM4CTRL        */
394 #define _EMU_EM4CTRL_EM4IORETMODE_SHIFT                 4                                          /**< Shift value for EMU_EM4IORETMODE            */
395 #define _EMU_EM4CTRL_EM4IORETMODE_MASK                  0x30UL                                     /**< Bit mask for EMU_EM4IORETMODE               */
396 #define _EMU_EM4CTRL_EM4IORETMODE_DEFAULT               0x00000000UL                               /**< Mode DEFAULT for EMU_EM4CTRL                */
397 #define _EMU_EM4CTRL_EM4IORETMODE_DISABLE               0x00000000UL                               /**< Mode DISABLE for EMU_EM4CTRL                */
398 #define _EMU_EM4CTRL_EM4IORETMODE_EM4EXIT               0x00000001UL                               /**< Mode EM4EXIT for EMU_EM4CTRL                */
399 #define _EMU_EM4CTRL_EM4IORETMODE_SWUNLATCH             0x00000002UL                               /**< Mode SWUNLATCH for EMU_EM4CTRL              */
400 #define EMU_EM4CTRL_EM4IORETMODE_DEFAULT                (_EMU_EM4CTRL_EM4IORETMODE_DEFAULT << 4)   /**< Shifted mode DEFAULT for EMU_EM4CTRL        */
401 #define EMU_EM4CTRL_EM4IORETMODE_DISABLE                (_EMU_EM4CTRL_EM4IORETMODE_DISABLE << 4)   /**< Shifted mode DISABLE for EMU_EM4CTRL        */
402 #define EMU_EM4CTRL_EM4IORETMODE_EM4EXIT                (_EMU_EM4CTRL_EM4IORETMODE_EM4EXIT << 4)   /**< Shifted mode EM4EXIT for EMU_EM4CTRL        */
403 #define EMU_EM4CTRL_EM4IORETMODE_SWUNLATCH              (_EMU_EM4CTRL_EM4IORETMODE_SWUNLATCH << 4) /**< Shifted mode SWUNLATCH for EMU_EM4CTRL      */
404 #define EMU_EM4CTRL_BOD3SENSEEM4WU                      (0x1UL << 8)                               /**< Set BOD3SENSE as EM4 wakeup                 */
405 #define _EMU_EM4CTRL_BOD3SENSEEM4WU_SHIFT               8                                          /**< Shift value for EMU_BOD3SENSEEM4WU          */
406 #define _EMU_EM4CTRL_BOD3SENSEEM4WU_MASK                0x100UL                                    /**< Bit mask for EMU_BOD3SENSEEM4WU             */
407 #define _EMU_EM4CTRL_BOD3SENSEEM4WU_DEFAULT             0x00000000UL                               /**< Mode DEFAULT for EMU_EM4CTRL                */
408 #define EMU_EM4CTRL_BOD3SENSEEM4WU_DEFAULT              (_EMU_EM4CTRL_BOD3SENSEEM4WU_DEFAULT << 8) /**< Shifted mode DEFAULT for EMU_EM4CTRL        */
409 
410 /* Bit fields for EMU CMD */
411 #define _EMU_CMD_RESETVALUE                             0x00000000UL                         /**< Default value for EMU_CMD                   */
412 #define _EMU_CMD_MASK                                   0x00020E12UL                         /**< Mask for EMU_CMD                            */
413 #define EMU_CMD_EM4UNLATCH                              (0x1UL << 1)                         /**< EM4 unlatch                                 */
414 #define _EMU_CMD_EM4UNLATCH_SHIFT                       1                                    /**< Shift value for EMU_EM4UNLATCH              */
415 #define _EMU_CMD_EM4UNLATCH_MASK                        0x2UL                                /**< Bit mask for EMU_EM4UNLATCH                 */
416 #define _EMU_CMD_EM4UNLATCH_DEFAULT                     0x00000000UL                         /**< Mode DEFAULT for EMU_CMD                    */
417 #define EMU_CMD_EM4UNLATCH_DEFAULT                      (_EMU_CMD_EM4UNLATCH_DEFAULT << 1)   /**< Shifted mode DEFAULT for EMU_CMD            */
418 #define EMU_CMD_TEMPAVGREQ                              (0x1UL << 4)                         /**< Temperature Average Request                 */
419 #define _EMU_CMD_TEMPAVGREQ_SHIFT                       4                                    /**< Shift value for EMU_TEMPAVGREQ              */
420 #define _EMU_CMD_TEMPAVGREQ_MASK                        0x10UL                               /**< Bit mask for EMU_TEMPAVGREQ                 */
421 #define _EMU_CMD_TEMPAVGREQ_DEFAULT                     0x00000000UL                         /**< Mode DEFAULT for EMU_CMD                    */
422 #define EMU_CMD_TEMPAVGREQ_DEFAULT                      (_EMU_CMD_TEMPAVGREQ_DEFAULT << 4)   /**< Shifted mode DEFAULT for EMU_CMD            */
423 #define EMU_CMD_EM01VSCALE1                             (0x1UL << 10)                        /**< Scale voltage to Vscale1                    */
424 #define _EMU_CMD_EM01VSCALE1_SHIFT                      10                                   /**< Shift value for EMU_EM01VSCALE1             */
425 #define _EMU_CMD_EM01VSCALE1_MASK                       0x400UL                              /**< Bit mask for EMU_EM01VSCALE1                */
426 #define _EMU_CMD_EM01VSCALE1_DEFAULT                    0x00000000UL                         /**< Mode DEFAULT for EMU_CMD                    */
427 #define EMU_CMD_EM01VSCALE1_DEFAULT                     (_EMU_CMD_EM01VSCALE1_DEFAULT << 10) /**< Shifted mode DEFAULT for EMU_CMD            */
428 #define EMU_CMD_EM01VSCALE2                             (0x1UL << 11)                        /**< Scale voltage to Vscale2                    */
429 #define _EMU_CMD_EM01VSCALE2_SHIFT                      11                                   /**< Shift value for EMU_EM01VSCALE2             */
430 #define _EMU_CMD_EM01VSCALE2_MASK                       0x800UL                              /**< Bit mask for EMU_EM01VSCALE2                */
431 #define _EMU_CMD_EM01VSCALE2_DEFAULT                    0x00000000UL                         /**< Mode DEFAULT for EMU_CMD                    */
432 #define EMU_CMD_EM01VSCALE2_DEFAULT                     (_EMU_CMD_EM01VSCALE2_DEFAULT << 11) /**< Shifted mode DEFAULT for EMU_CMD            */
433 #define EMU_CMD_RSTCAUSECLR                             (0x1UL << 17)                        /**< Reset Cause Clear                           */
434 #define _EMU_CMD_RSTCAUSECLR_SHIFT                      17                                   /**< Shift value for EMU_RSTCAUSECLR             */
435 #define _EMU_CMD_RSTCAUSECLR_MASK                       0x20000UL                            /**< Bit mask for EMU_RSTCAUSECLR                */
436 #define _EMU_CMD_RSTCAUSECLR_DEFAULT                    0x00000000UL                         /**< Mode DEFAULT for EMU_CMD                    */
437 #define EMU_CMD_RSTCAUSECLR_DEFAULT                     (_EMU_CMD_RSTCAUSECLR_DEFAULT << 17) /**< Shifted mode DEFAULT for EMU_CMD            */
438 
439 /* Bit fields for EMU CTRL */
440 #define _EMU_CTRL_RESETVALUE                            0x00000200UL                                 /**< Default value for EMU_CTRL                  */
441 #define _EMU_CTRL_MASK                                  0xE0010309UL                                 /**< Mask for EMU_CTRL                           */
442 #define EMU_CTRL_EM2DBGEN                               (0x1UL << 0)                                 /**< Enable debugging in EM2                     */
443 #define _EMU_CTRL_EM2DBGEN_SHIFT                        0                                            /**< Shift value for EMU_EM2DBGEN                */
444 #define _EMU_CTRL_EM2DBGEN_MASK                         0x1UL                                        /**< Bit mask for EMU_EM2DBGEN                   */
445 #define _EMU_CTRL_EM2DBGEN_DEFAULT                      0x00000000UL                                 /**< Mode DEFAULT for EMU_CTRL                   */
446 #define EMU_CTRL_EM2DBGEN_DEFAULT                       (_EMU_CTRL_EM2DBGEN_DEFAULT << 0)            /**< Shifted mode DEFAULT for EMU_CTRL           */
447 #define EMU_CTRL_TEMPAVGNUM                             (0x1UL << 3)                                 /**< Averaged Temperature samples num            */
448 #define _EMU_CTRL_TEMPAVGNUM_SHIFT                      3                                            /**< Shift value for EMU_TEMPAVGNUM              */
449 #define _EMU_CTRL_TEMPAVGNUM_MASK                       0x8UL                                        /**< Bit mask for EMU_TEMPAVGNUM                 */
450 #define _EMU_CTRL_TEMPAVGNUM_DEFAULT                    0x00000000UL                                 /**< Mode DEFAULT for EMU_CTRL                   */
451 #define _EMU_CTRL_TEMPAVGNUM_N16                        0x00000000UL                                 /**< Mode N16 for EMU_CTRL                       */
452 #define _EMU_CTRL_TEMPAVGNUM_N64                        0x00000001UL                                 /**< Mode N64 for EMU_CTRL                       */
453 #define EMU_CTRL_TEMPAVGNUM_DEFAULT                     (_EMU_CTRL_TEMPAVGNUM_DEFAULT << 3)          /**< Shifted mode DEFAULT for EMU_CTRL           */
454 #define EMU_CTRL_TEMPAVGNUM_N16                         (_EMU_CTRL_TEMPAVGNUM_N16 << 3)              /**< Shifted mode N16 for EMU_CTRL               */
455 #define EMU_CTRL_TEMPAVGNUM_N64                         (_EMU_CTRL_TEMPAVGNUM_N64 << 3)              /**< Shifted mode N64 for EMU_CTRL               */
456 #define _EMU_CTRL_EM23VSCALE_SHIFT                      8                                            /**< Shift value for EMU_EM23VSCALE              */
457 #define _EMU_CTRL_EM23VSCALE_MASK                       0x300UL                                      /**< Bit mask for EMU_EM23VSCALE                 */
458 #define _EMU_CTRL_EM23VSCALE_DEFAULT                    0x00000002UL                                 /**< Mode DEFAULT for EMU_CTRL                   */
459 #define _EMU_CTRL_EM23VSCALE_VSCALE0                    0x00000000UL                                 /**< Mode VSCALE0 for EMU_CTRL                   */
460 #define _EMU_CTRL_EM23VSCALE_VSCALE1                    0x00000001UL                                 /**< Mode VSCALE1 for EMU_CTRL                   */
461 #define _EMU_CTRL_EM23VSCALE_VSCALE2                    0x00000002UL                                 /**< Mode VSCALE2 for EMU_CTRL                   */
462 #define EMU_CTRL_EM23VSCALE_DEFAULT                     (_EMU_CTRL_EM23VSCALE_DEFAULT << 8)          /**< Shifted mode DEFAULT for EMU_CTRL           */
463 #define EMU_CTRL_EM23VSCALE_VSCALE0                     (_EMU_CTRL_EM23VSCALE_VSCALE0 << 8)          /**< Shifted mode VSCALE0 for EMU_CTRL           */
464 #define EMU_CTRL_EM23VSCALE_VSCALE1                     (_EMU_CTRL_EM23VSCALE_VSCALE1 << 8)          /**< Shifted mode VSCALE1 for EMU_CTRL           */
465 #define EMU_CTRL_EM23VSCALE_VSCALE2                     (_EMU_CTRL_EM23VSCALE_VSCALE2 << 8)          /**< Shifted mode VSCALE2 for EMU_CTRL           */
466 #define EMU_CTRL_FLASHPWRUPONDEMAND                     (0x1UL << 16)                                /**< Enable flash on demand wakeup               */
467 #define _EMU_CTRL_FLASHPWRUPONDEMAND_SHIFT              16                                           /**< Shift value for EMU_FLASHPWRUPONDEMAND      */
468 #define _EMU_CTRL_FLASHPWRUPONDEMAND_MASK               0x10000UL                                    /**< Bit mask for EMU_FLASHPWRUPONDEMAND         */
469 #define _EMU_CTRL_FLASHPWRUPONDEMAND_DEFAULT            0x00000000UL                                 /**< Mode DEFAULT for EMU_CTRL                   */
470 #define EMU_CTRL_FLASHPWRUPONDEMAND_DEFAULT             (_EMU_CTRL_FLASHPWRUPONDEMAND_DEFAULT << 16) /**< Shifted mode DEFAULT for EMU_CTRL           */
471 #define EMU_CTRL_EFPDIRECTMODEEN                        (0x1UL << 29)                                /**< EFP Direct Mode Enable                      */
472 #define _EMU_CTRL_EFPDIRECTMODEEN_SHIFT                 29                                           /**< Shift value for EMU_EFPDIRECTMODEEN         */
473 #define _EMU_CTRL_EFPDIRECTMODEEN_MASK                  0x20000000UL                                 /**< Bit mask for EMU_EFPDIRECTMODEEN            */
474 #define _EMU_CTRL_EFPDIRECTMODEEN_DEFAULT               0x00000000UL                                 /**< Mode DEFAULT for EMU_CTRL                   */
475 #define EMU_CTRL_EFPDIRECTMODEEN_DEFAULT                (_EMU_CTRL_EFPDIRECTMODEEN_DEFAULT << 29)    /**< Shifted mode DEFAULT for EMU_CTRL           */
476 #define EMU_CTRL_EFPDRVDECOUPLE                         (0x1UL << 30)                                /**< EFP drives DECOUPLE                         */
477 #define _EMU_CTRL_EFPDRVDECOUPLE_SHIFT                  30                                           /**< Shift value for EMU_EFPDRVDECOUPLE          */
478 #define _EMU_CTRL_EFPDRVDECOUPLE_MASK                   0x40000000UL                                 /**< Bit mask for EMU_EFPDRVDECOUPLE             */
479 #define _EMU_CTRL_EFPDRVDECOUPLE_DEFAULT                0x00000000UL                                 /**< Mode DEFAULT for EMU_CTRL                   */
480 #define EMU_CTRL_EFPDRVDECOUPLE_DEFAULT                 (_EMU_CTRL_EFPDRVDECOUPLE_DEFAULT << 30)     /**< Shifted mode DEFAULT for EMU_CTRL           */
481 #define EMU_CTRL_EFPDRVDVDD                             (0x1UL << 31)                                /**< EFP drives DVDD                             */
482 #define _EMU_CTRL_EFPDRVDVDD_SHIFT                      31                                           /**< Shift value for EMU_EFPDRVDVDD              */
483 #define _EMU_CTRL_EFPDRVDVDD_MASK                       0x80000000UL                                 /**< Bit mask for EMU_EFPDRVDVDD                 */
484 #define _EMU_CTRL_EFPDRVDVDD_DEFAULT                    0x00000000UL                                 /**< Mode DEFAULT for EMU_CTRL                   */
485 #define EMU_CTRL_EFPDRVDVDD_DEFAULT                     (_EMU_CTRL_EFPDRVDVDD_DEFAULT << 31)         /**< Shifted mode DEFAULT for EMU_CTRL           */
486 
487 /* Bit fields for EMU TEMPLIMITS */
488 #define _EMU_TEMPLIMITS_RESETVALUE                      0x01FF0000UL                             /**< Default value for EMU_TEMPLIMITS            */
489 #define _EMU_TEMPLIMITS_MASK                            0x01FF01FFUL                             /**< Mask for EMU_TEMPLIMITS                     */
490 #define _EMU_TEMPLIMITS_TEMPLOW_SHIFT                   0                                        /**< Shift value for EMU_TEMPLOW                 */
491 #define _EMU_TEMPLIMITS_TEMPLOW_MASK                    0x1FFUL                                  /**< Bit mask for EMU_TEMPLOW                    */
492 #define _EMU_TEMPLIMITS_TEMPLOW_DEFAULT                 0x00000000UL                             /**< Mode DEFAULT for EMU_TEMPLIMITS             */
493 #define EMU_TEMPLIMITS_TEMPLOW_DEFAULT                  (_EMU_TEMPLIMITS_TEMPLOW_DEFAULT << 0)   /**< Shifted mode DEFAULT for EMU_TEMPLIMITS     */
494 #define _EMU_TEMPLIMITS_TEMPHIGH_SHIFT                  16                                       /**< Shift value for EMU_TEMPHIGH                */
495 #define _EMU_TEMPLIMITS_TEMPHIGH_MASK                   0x1FF0000UL                              /**< Bit mask for EMU_TEMPHIGH                   */
496 #define _EMU_TEMPLIMITS_TEMPHIGH_DEFAULT                0x000001FFUL                             /**< Mode DEFAULT for EMU_TEMPLIMITS             */
497 #define EMU_TEMPLIMITS_TEMPHIGH_DEFAULT                 (_EMU_TEMPLIMITS_TEMPHIGH_DEFAULT << 16) /**< Shifted mode DEFAULT for EMU_TEMPLIMITS     */
498 
499 /* Bit fields for EMU STATUS */
500 #define _EMU_STATUS_RESETVALUE                          0x00000080UL                             /**< Default value for EMU_STATUS                */
501 #define _EMU_STATUS_MASK                                0xFFE154FFUL                             /**< Mask for EMU_STATUS                         */
502 #define EMU_STATUS_LOCK                                 (0x1UL << 0)                             /**< Lock status                                 */
503 #define _EMU_STATUS_LOCK_SHIFT                          0                                        /**< Shift value for EMU_LOCK                    */
504 #define _EMU_STATUS_LOCK_MASK                           0x1UL                                    /**< Bit mask for EMU_LOCK                       */
505 #define _EMU_STATUS_LOCK_DEFAULT                        0x00000000UL                             /**< Mode DEFAULT for EMU_STATUS                 */
506 #define _EMU_STATUS_LOCK_UNLOCKED                       0x00000000UL                             /**< Mode UNLOCKED for EMU_STATUS                */
507 #define _EMU_STATUS_LOCK_LOCKED                         0x00000001UL                             /**< Mode LOCKED for EMU_STATUS                  */
508 #define EMU_STATUS_LOCK_DEFAULT                         (_EMU_STATUS_LOCK_DEFAULT << 0)          /**< Shifted mode DEFAULT for EMU_STATUS         */
509 #define EMU_STATUS_LOCK_UNLOCKED                        (_EMU_STATUS_LOCK_UNLOCKED << 0)         /**< Shifted mode UNLOCKED for EMU_STATUS        */
510 #define EMU_STATUS_LOCK_LOCKED                          (_EMU_STATUS_LOCK_LOCKED << 0)           /**< Shifted mode LOCKED for EMU_STATUS          */
511 #define EMU_STATUS_FIRSTTEMPDONE                        (0x1UL << 1)                             /**< First Temp done                             */
512 #define _EMU_STATUS_FIRSTTEMPDONE_SHIFT                 1                                        /**< Shift value for EMU_FIRSTTEMPDONE           */
513 #define _EMU_STATUS_FIRSTTEMPDONE_MASK                  0x2UL                                    /**< Bit mask for EMU_FIRSTTEMPDONE              */
514 #define _EMU_STATUS_FIRSTTEMPDONE_DEFAULT               0x00000000UL                             /**< Mode DEFAULT for EMU_STATUS                 */
515 #define EMU_STATUS_FIRSTTEMPDONE_DEFAULT                (_EMU_STATUS_FIRSTTEMPDONE_DEFAULT << 1) /**< Shifted mode DEFAULT for EMU_STATUS         */
516 #define EMU_STATUS_TEMPACTIVE                           (0x1UL << 2)                             /**< Temp active                                 */
517 #define _EMU_STATUS_TEMPACTIVE_SHIFT                    2                                        /**< Shift value for EMU_TEMPACTIVE              */
518 #define _EMU_STATUS_TEMPACTIVE_MASK                     0x4UL                                    /**< Bit mask for EMU_TEMPACTIVE                 */
519 #define _EMU_STATUS_TEMPACTIVE_DEFAULT                  0x00000000UL                             /**< Mode DEFAULT for EMU_STATUS                 */
520 #define EMU_STATUS_TEMPACTIVE_DEFAULT                   (_EMU_STATUS_TEMPACTIVE_DEFAULT << 2)    /**< Shifted mode DEFAULT for EMU_STATUS         */
521 #define EMU_STATUS_TEMPAVGACTIVE                        (0x1UL << 3)                             /**< Temp Average active                         */
522 #define _EMU_STATUS_TEMPAVGACTIVE_SHIFT                 3                                        /**< Shift value for EMU_TEMPAVGACTIVE           */
523 #define _EMU_STATUS_TEMPAVGACTIVE_MASK                  0x8UL                                    /**< Bit mask for EMU_TEMPAVGACTIVE              */
524 #define _EMU_STATUS_TEMPAVGACTIVE_DEFAULT               0x00000000UL                             /**< Mode DEFAULT for EMU_STATUS                 */
525 #define EMU_STATUS_TEMPAVGACTIVE_DEFAULT                (_EMU_STATUS_TEMPAVGACTIVE_DEFAULT << 3) /**< Shifted mode DEFAULT for EMU_STATUS         */
526 #define EMU_STATUS_VSCALEBUSY                           (0x1UL << 4)                             /**< Vscale busy                                 */
527 #define _EMU_STATUS_VSCALEBUSY_SHIFT                    4                                        /**< Shift value for EMU_VSCALEBUSY              */
528 #define _EMU_STATUS_VSCALEBUSY_MASK                     0x10UL                                   /**< Bit mask for EMU_VSCALEBUSY                 */
529 #define _EMU_STATUS_VSCALEBUSY_DEFAULT                  0x00000000UL                             /**< Mode DEFAULT for EMU_STATUS                 */
530 #define EMU_STATUS_VSCALEBUSY_DEFAULT                   (_EMU_STATUS_VSCALEBUSY_DEFAULT << 4)    /**< Shifted mode DEFAULT for EMU_STATUS         */
531 #define EMU_STATUS_VSCALEFAILED                         (0x1UL << 5)                             /**< Vscale failed                               */
532 #define _EMU_STATUS_VSCALEFAILED_SHIFT                  5                                        /**< Shift value for EMU_VSCALEFAILED            */
533 #define _EMU_STATUS_VSCALEFAILED_MASK                   0x20UL                                   /**< Bit mask for EMU_VSCALEFAILED               */
534 #define _EMU_STATUS_VSCALEFAILED_DEFAULT                0x00000000UL                             /**< Mode DEFAULT for EMU_STATUS                 */
535 #define EMU_STATUS_VSCALEFAILED_DEFAULT                 (_EMU_STATUS_VSCALEFAILED_DEFAULT << 5)  /**< Shifted mode DEFAULT for EMU_STATUS         */
536 #define _EMU_STATUS_VSCALE_SHIFT                        6                                        /**< Shift value for EMU_VSCALE                  */
537 #define _EMU_STATUS_VSCALE_MASK                         0xC0UL                                   /**< Bit mask for EMU_VSCALE                     */
538 #define _EMU_STATUS_VSCALE_DEFAULT                      0x00000002UL                             /**< Mode DEFAULT for EMU_STATUS                 */
539 #define _EMU_STATUS_VSCALE_VSCALE0                      0x00000000UL                             /**< Mode VSCALE0 for EMU_STATUS                 */
540 #define _EMU_STATUS_VSCALE_VSCALE1                      0x00000001UL                             /**< Mode VSCALE1 for EMU_STATUS                 */
541 #define _EMU_STATUS_VSCALE_VSCALE2                      0x00000002UL                             /**< Mode VSCALE2 for EMU_STATUS                 */
542 #define EMU_STATUS_VSCALE_DEFAULT                       (_EMU_STATUS_VSCALE_DEFAULT << 6)        /**< Shifted mode DEFAULT for EMU_STATUS         */
543 #define EMU_STATUS_VSCALE_VSCALE0                       (_EMU_STATUS_VSCALE_VSCALE0 << 6)        /**< Shifted mode VSCALE0 for EMU_STATUS         */
544 #define EMU_STATUS_VSCALE_VSCALE1                       (_EMU_STATUS_VSCALE_VSCALE1 << 6)        /**< Shifted mode VSCALE1 for EMU_STATUS         */
545 #define EMU_STATUS_VSCALE_VSCALE2                       (_EMU_STATUS_VSCALE_VSCALE2 << 6)        /**< Shifted mode VSCALE2 for EMU_STATUS         */
546 #define EMU_STATUS_RACACTIVE                            (0x1UL << 10)                            /**< RAC active                                  */
547 #define _EMU_STATUS_RACACTIVE_SHIFT                     10                                       /**< Shift value for EMU_RACACTIVE               */
548 #define _EMU_STATUS_RACACTIVE_MASK                      0x400UL                                  /**< Bit mask for EMU_RACACTIVE                  */
549 #define _EMU_STATUS_RACACTIVE_DEFAULT                   0x00000000UL                             /**< Mode DEFAULT for EMU_STATUS                 */
550 #define EMU_STATUS_RACACTIVE_DEFAULT                    (_EMU_STATUS_RACACTIVE_DEFAULT << 10)    /**< Shifted mode DEFAULT for EMU_STATUS         */
551 #define EMU_STATUS_EM4IORET                             (0x1UL << 12)                            /**< EM4 IO retention status                     */
552 #define _EMU_STATUS_EM4IORET_SHIFT                      12                                       /**< Shift value for EMU_EM4IORET                */
553 #define _EMU_STATUS_EM4IORET_MASK                       0x1000UL                                 /**< Bit mask for EMU_EM4IORET                   */
554 #define _EMU_STATUS_EM4IORET_DEFAULT                    0x00000000UL                             /**< Mode DEFAULT for EMU_STATUS                 */
555 #define EMU_STATUS_EM4IORET_DEFAULT                     (_EMU_STATUS_EM4IORET_DEFAULT << 12)     /**< Shifted mode DEFAULT for EMU_STATUS         */
556 #define EMU_STATUS_EM2ENTERED                           (0x1UL << 14)                            /**< EM2 entered                                 */
557 #define _EMU_STATUS_EM2ENTERED_SHIFT                    14                                       /**< Shift value for EMU_EM2ENTERED              */
558 #define _EMU_STATUS_EM2ENTERED_MASK                     0x4000UL                                 /**< Bit mask for EMU_EM2ENTERED                 */
559 #define _EMU_STATUS_EM2ENTERED_DEFAULT                  0x00000000UL                             /**< Mode DEFAULT for EMU_STATUS                 */
560 #define EMU_STATUS_EM2ENTERED_DEFAULT                   (_EMU_STATUS_EM2ENTERED_DEFAULT << 14)   /**< Shifted mode DEFAULT for EMU_STATUS         */
561 #define EMU_STATUS_BOOSTENPIN                           (0x1UL << 16)                            /**< BOOST_EN pin status                         */
562 #define _EMU_STATUS_BOOSTENPIN_SHIFT                    16                                       /**< Shift value for EMU_BOOSTENPIN              */
563 #define _EMU_STATUS_BOOSTENPIN_MASK                     0x10000UL                                /**< Bit mask for EMU_BOOSTENPIN                 */
564 #define _EMU_STATUS_BOOSTENPIN_DEFAULT                  0x00000000UL                             /**< Mode DEFAULT for EMU_STATUS                 */
565 #define EMU_STATUS_BOOSTENPIN_DEFAULT                   (_EMU_STATUS_BOOSTENPIN_DEFAULT << 16)   /**< Shifted mode DEFAULT for EMU_STATUS         */
566 
567 /* Bit fields for EMU TEMP */
568 #define _EMU_TEMP_RESETVALUE                            0x00000000UL                      /**< Default value for EMU_TEMP                  */
569 #define _EMU_TEMP_MASK                                  0x07FF07FFUL                      /**< Mask for EMU_TEMP                           */
570 #define _EMU_TEMP_TEMPLSB_SHIFT                         0                                 /**< Shift value for EMU_TEMPLSB                 */
571 #define _EMU_TEMP_TEMPLSB_MASK                          0x3UL                             /**< Bit mask for EMU_TEMPLSB                    */
572 #define _EMU_TEMP_TEMPLSB_DEFAULT                       0x00000000UL                      /**< Mode DEFAULT for EMU_TEMP                   */
573 #define EMU_TEMP_TEMPLSB_DEFAULT                        (_EMU_TEMP_TEMPLSB_DEFAULT << 0)  /**< Shifted mode DEFAULT for EMU_TEMP           */
574 #define _EMU_TEMP_TEMP_SHIFT                            2                                 /**< Shift value for EMU_TEMP                    */
575 #define _EMU_TEMP_TEMP_MASK                             0x7FCUL                           /**< Bit mask for EMU_TEMP                       */
576 #define _EMU_TEMP_TEMP_DEFAULT                          0x00000000UL                      /**< Mode DEFAULT for EMU_TEMP                   */
577 #define EMU_TEMP_TEMP_DEFAULT                           (_EMU_TEMP_TEMP_DEFAULT << 2)     /**< Shifted mode DEFAULT for EMU_TEMP           */
578 #define _EMU_TEMP_TEMPAVG_SHIFT                         16                                /**< Shift value for EMU_TEMPAVG                 */
579 #define _EMU_TEMP_TEMPAVG_MASK                          0x7FF0000UL                       /**< Bit mask for EMU_TEMPAVG                    */
580 #define _EMU_TEMP_TEMPAVG_DEFAULT                       0x00000000UL                      /**< Mode DEFAULT for EMU_TEMP                   */
581 #define EMU_TEMP_TEMPAVG_DEFAULT                        (_EMU_TEMP_TEMPAVG_DEFAULT << 16) /**< Shifted mode DEFAULT for EMU_TEMP           */
582 
583 /* Bit fields for EMU RSTCTRL */
584 #define _EMU_RSTCTRL_RESETVALUE                         0x40010407UL                                /**< Default value for EMU_RSTCTRL               */
585 #define _EMU_RSTCTRL_MASK                               0xC001C5CFUL                                /**< Mask for EMU_RSTCTRL                        */
586 #define EMU_RSTCTRL_WDOG0RMODE                          (0x1UL << 0)                                /**< Enable WDOG0 reset                          */
587 #define _EMU_RSTCTRL_WDOG0RMODE_SHIFT                   0                                           /**< Shift value for EMU_WDOG0RMODE              */
588 #define _EMU_RSTCTRL_WDOG0RMODE_MASK                    0x1UL                                       /**< Bit mask for EMU_WDOG0RMODE                 */
589 #define _EMU_RSTCTRL_WDOG0RMODE_DEFAULT                 0x00000001UL                                /**< Mode DEFAULT for EMU_RSTCTRL                */
590 #define _EMU_RSTCTRL_WDOG0RMODE_DISABLED                0x00000000UL                                /**< Mode DISABLED for EMU_RSTCTRL               */
591 #define _EMU_RSTCTRL_WDOG0RMODE_ENABLED                 0x00000001UL                                /**< Mode ENABLED for EMU_RSTCTRL                */
592 #define EMU_RSTCTRL_WDOG0RMODE_DEFAULT                  (_EMU_RSTCTRL_WDOG0RMODE_DEFAULT << 0)      /**< Shifted mode DEFAULT for EMU_RSTCTRL        */
593 #define EMU_RSTCTRL_WDOG0RMODE_DISABLED                 (_EMU_RSTCTRL_WDOG0RMODE_DISABLED << 0)     /**< Shifted mode DISABLED for EMU_RSTCTRL       */
594 #define EMU_RSTCTRL_WDOG0RMODE_ENABLED                  (_EMU_RSTCTRL_WDOG0RMODE_ENABLED << 0)      /**< Shifted mode ENABLED for EMU_RSTCTRL        */
595 #define EMU_RSTCTRL_SYSRMODE                            (0x1UL << 2)                                /**< Enable M33 System reset                     */
596 #define _EMU_RSTCTRL_SYSRMODE_SHIFT                     2                                           /**< Shift value for EMU_SYSRMODE                */
597 #define _EMU_RSTCTRL_SYSRMODE_MASK                      0x4UL                                       /**< Bit mask for EMU_SYSRMODE                   */
598 #define _EMU_RSTCTRL_SYSRMODE_DEFAULT                   0x00000001UL                                /**< Mode DEFAULT for EMU_RSTCTRL                */
599 #define _EMU_RSTCTRL_SYSRMODE_DISABLED                  0x00000000UL                                /**< Mode DISABLED for EMU_RSTCTRL               */
600 #define _EMU_RSTCTRL_SYSRMODE_ENABLED                   0x00000001UL                                /**< Mode ENABLED for EMU_RSTCTRL                */
601 #define EMU_RSTCTRL_SYSRMODE_DEFAULT                    (_EMU_RSTCTRL_SYSRMODE_DEFAULT << 2)        /**< Shifted mode DEFAULT for EMU_RSTCTRL        */
602 #define EMU_RSTCTRL_SYSRMODE_DISABLED                   (_EMU_RSTCTRL_SYSRMODE_DISABLED << 2)       /**< Shifted mode DISABLED for EMU_RSTCTRL       */
603 #define EMU_RSTCTRL_SYSRMODE_ENABLED                    (_EMU_RSTCTRL_SYSRMODE_ENABLED << 2)        /**< Shifted mode ENABLED for EMU_RSTCTRL        */
604 #define EMU_RSTCTRL_LOCKUPRMODE                         (0x1UL << 3)                                /**< Enable M33 Lockup reset                     */
605 #define _EMU_RSTCTRL_LOCKUPRMODE_SHIFT                  3                                           /**< Shift value for EMU_LOCKUPRMODE             */
606 #define _EMU_RSTCTRL_LOCKUPRMODE_MASK                   0x8UL                                       /**< Bit mask for EMU_LOCKUPRMODE                */
607 #define _EMU_RSTCTRL_LOCKUPRMODE_DEFAULT                0x00000000UL                                /**< Mode DEFAULT for EMU_RSTCTRL                */
608 #define _EMU_RSTCTRL_LOCKUPRMODE_DISABLED               0x00000000UL                                /**< Mode DISABLED for EMU_RSTCTRL               */
609 #define _EMU_RSTCTRL_LOCKUPRMODE_ENABLED                0x00000001UL                                /**< Mode ENABLED for EMU_RSTCTRL                */
610 #define EMU_RSTCTRL_LOCKUPRMODE_DEFAULT                 (_EMU_RSTCTRL_LOCKUPRMODE_DEFAULT << 3)     /**< Shifted mode DEFAULT for EMU_RSTCTRL        */
611 #define EMU_RSTCTRL_LOCKUPRMODE_DISABLED                (_EMU_RSTCTRL_LOCKUPRMODE_DISABLED << 3)    /**< Shifted mode DISABLED for EMU_RSTCTRL       */
612 #define EMU_RSTCTRL_LOCKUPRMODE_ENABLED                 (_EMU_RSTCTRL_LOCKUPRMODE_ENABLED << 3)     /**< Shifted mode ENABLED for EMU_RSTCTRL        */
613 #define EMU_RSTCTRL_AVDDBODRMODE                        (0x1UL << 6)                                /**< Enable AVDD BOD reset                       */
614 #define _EMU_RSTCTRL_AVDDBODRMODE_SHIFT                 6                                           /**< Shift value for EMU_AVDDBODRMODE            */
615 #define _EMU_RSTCTRL_AVDDBODRMODE_MASK                  0x40UL                                      /**< Bit mask for EMU_AVDDBODRMODE               */
616 #define _EMU_RSTCTRL_AVDDBODRMODE_DEFAULT               0x00000000UL                                /**< Mode DEFAULT for EMU_RSTCTRL                */
617 #define _EMU_RSTCTRL_AVDDBODRMODE_DISABLED              0x00000000UL                                /**< Mode DISABLED for EMU_RSTCTRL               */
618 #define _EMU_RSTCTRL_AVDDBODRMODE_ENABLED               0x00000001UL                                /**< Mode ENABLED for EMU_RSTCTRL                */
619 #define EMU_RSTCTRL_AVDDBODRMODE_DEFAULT                (_EMU_RSTCTRL_AVDDBODRMODE_DEFAULT << 6)    /**< Shifted mode DEFAULT for EMU_RSTCTRL        */
620 #define EMU_RSTCTRL_AVDDBODRMODE_DISABLED               (_EMU_RSTCTRL_AVDDBODRMODE_DISABLED << 6)   /**< Shifted mode DISABLED for EMU_RSTCTRL       */
621 #define EMU_RSTCTRL_AVDDBODRMODE_ENABLED                (_EMU_RSTCTRL_AVDDBODRMODE_ENABLED << 6)    /**< Shifted mode ENABLED for EMU_RSTCTRL        */
622 #define EMU_RSTCTRL_IOVDD0BODRMODE                      (0x1UL << 7)                                /**< Enable VDDIO0 BOD reset                     */
623 #define _EMU_RSTCTRL_IOVDD0BODRMODE_SHIFT               7                                           /**< Shift value for EMU_IOVDD0BODRMODE          */
624 #define _EMU_RSTCTRL_IOVDD0BODRMODE_MASK                0x80UL                                      /**< Bit mask for EMU_IOVDD0BODRMODE             */
625 #define _EMU_RSTCTRL_IOVDD0BODRMODE_DEFAULT             0x00000000UL                                /**< Mode DEFAULT for EMU_RSTCTRL                */
626 #define _EMU_RSTCTRL_IOVDD0BODRMODE_DISABLED            0x00000000UL                                /**< Mode DISABLED for EMU_RSTCTRL               */
627 #define _EMU_RSTCTRL_IOVDD0BODRMODE_ENABLED             0x00000001UL                                /**< Mode ENABLED for EMU_RSTCTRL                */
628 #define EMU_RSTCTRL_IOVDD0BODRMODE_DEFAULT              (_EMU_RSTCTRL_IOVDD0BODRMODE_DEFAULT << 7)  /**< Shifted mode DEFAULT for EMU_RSTCTRL        */
629 #define EMU_RSTCTRL_IOVDD0BODRMODE_DISABLED             (_EMU_RSTCTRL_IOVDD0BODRMODE_DISABLED << 7) /**< Shifted mode DISABLED for EMU_RSTCTRL       */
630 #define EMU_RSTCTRL_IOVDD0BODRMODE_ENABLED              (_EMU_RSTCTRL_IOVDD0BODRMODE_ENABLED << 7)  /**< Shifted mode ENABLED for EMU_RSTCTRL        */
631 #define EMU_RSTCTRL_DECBODRMODE                         (0x1UL << 10)                               /**< Enable DECBOD reset                         */
632 #define _EMU_RSTCTRL_DECBODRMODE_SHIFT                  10                                          /**< Shift value for EMU_DECBODRMODE             */
633 #define _EMU_RSTCTRL_DECBODRMODE_MASK                   0x400UL                                     /**< Bit mask for EMU_DECBODRMODE                */
634 #define _EMU_RSTCTRL_DECBODRMODE_DEFAULT                0x00000001UL                                /**< Mode DEFAULT for EMU_RSTCTRL                */
635 #define _EMU_RSTCTRL_DECBODRMODE_DISABLED               0x00000000UL                                /**< Mode DISABLED for EMU_RSTCTRL               */
636 #define _EMU_RSTCTRL_DECBODRMODE_ENABLED                0x00000001UL                                /**< Mode ENABLED for EMU_RSTCTRL                */
637 #define EMU_RSTCTRL_DECBODRMODE_DEFAULT                 (_EMU_RSTCTRL_DECBODRMODE_DEFAULT << 10)    /**< Shifted mode DEFAULT for EMU_RSTCTRL        */
638 #define EMU_RSTCTRL_DECBODRMODE_DISABLED                (_EMU_RSTCTRL_DECBODRMODE_DISABLED << 10)   /**< Shifted mode DISABLED for EMU_RSTCTRL       */
639 #define EMU_RSTCTRL_DECBODRMODE_ENABLED                 (_EMU_RSTCTRL_DECBODRMODE_ENABLED << 10)    /**< Shifted mode ENABLED for EMU_RSTCTRL        */
640 #define EMU_RSTCTRL_DCIRMODE                            (0x1UL << 16)                               /**< DCI System reset                            */
641 #define _EMU_RSTCTRL_DCIRMODE_SHIFT                     16                                          /**< Shift value for EMU_DCIRMODE                */
642 #define _EMU_RSTCTRL_DCIRMODE_MASK                      0x10000UL                                   /**< Bit mask for EMU_DCIRMODE                   */
643 #define _EMU_RSTCTRL_DCIRMODE_DEFAULT                   0x00000001UL                                /**< Mode DEFAULT for EMU_RSTCTRL                */
644 #define _EMU_RSTCTRL_DCIRMODE_DISABLED                  0x00000000UL                                /**< Mode DISABLED for EMU_RSTCTRL               */
645 #define _EMU_RSTCTRL_DCIRMODE_ENABLED                   0x00000001UL                                /**< Mode ENABLED for EMU_RSTCTRL                */
646 #define EMU_RSTCTRL_DCIRMODE_DEFAULT                    (_EMU_RSTCTRL_DCIRMODE_DEFAULT << 16)       /**< Shifted mode DEFAULT for EMU_RSTCTRL        */
647 #define EMU_RSTCTRL_DCIRMODE_DISABLED                   (_EMU_RSTCTRL_DCIRMODE_DISABLED << 16)      /**< Shifted mode DISABLED for EMU_RSTCTRL       */
648 #define EMU_RSTCTRL_DCIRMODE_ENABLED                    (_EMU_RSTCTRL_DCIRMODE_ENABLED << 16)       /**< Shifted mode ENABLED for EMU_RSTCTRL        */
649 
650 /* Bit fields for EMU RSTCAUSE */
651 #define _EMU_RSTCAUSE_RESETVALUE                        0x00000000UL                            /**< Default value for EMU_RSTCAUSE              */
652 #define _EMU_RSTCAUSE_MASK                              0x8005FFFFUL                            /**< Mask for EMU_RSTCAUSE                       */
653 #define EMU_RSTCAUSE_POR                                (0x1UL << 0)                            /**< Power On Reset                              */
654 #define _EMU_RSTCAUSE_POR_SHIFT                         0                                       /**< Shift value for EMU_POR                     */
655 #define _EMU_RSTCAUSE_POR_MASK                          0x1UL                                   /**< Bit mask for EMU_POR                        */
656 #define _EMU_RSTCAUSE_POR_DEFAULT                       0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
657 #define EMU_RSTCAUSE_POR_DEFAULT                        (_EMU_RSTCAUSE_POR_DEFAULT << 0)        /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
658 #define EMU_RSTCAUSE_PIN                                (0x1UL << 1)                            /**< Pin Reset                                   */
659 #define _EMU_RSTCAUSE_PIN_SHIFT                         1                                       /**< Shift value for EMU_PIN                     */
660 #define _EMU_RSTCAUSE_PIN_MASK                          0x2UL                                   /**< Bit mask for EMU_PIN                        */
661 #define _EMU_RSTCAUSE_PIN_DEFAULT                       0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
662 #define EMU_RSTCAUSE_PIN_DEFAULT                        (_EMU_RSTCAUSE_PIN_DEFAULT << 1)        /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
663 #define EMU_RSTCAUSE_EM4                                (0x1UL << 2)                            /**< EM4 Wakeup Reset                            */
664 #define _EMU_RSTCAUSE_EM4_SHIFT                         2                                       /**< Shift value for EMU_EM4                     */
665 #define _EMU_RSTCAUSE_EM4_MASK                          0x4UL                                   /**< Bit mask for EMU_EM4                        */
666 #define _EMU_RSTCAUSE_EM4_DEFAULT                       0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
667 #define EMU_RSTCAUSE_EM4_DEFAULT                        (_EMU_RSTCAUSE_EM4_DEFAULT << 2)        /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
668 #define EMU_RSTCAUSE_WDOG0                              (0x1UL << 3)                            /**< Watchdog 0 Reset                            */
669 #define _EMU_RSTCAUSE_WDOG0_SHIFT                       3                                       /**< Shift value for EMU_WDOG0                   */
670 #define _EMU_RSTCAUSE_WDOG0_MASK                        0x8UL                                   /**< Bit mask for EMU_WDOG0                      */
671 #define _EMU_RSTCAUSE_WDOG0_DEFAULT                     0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
672 #define EMU_RSTCAUSE_WDOG0_DEFAULT                      (_EMU_RSTCAUSE_WDOG0_DEFAULT << 3)      /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
673 #define EMU_RSTCAUSE_LOCKUP                             (0x1UL << 5)                            /**< M33 Core Lockup Reset                       */
674 #define _EMU_RSTCAUSE_LOCKUP_SHIFT                      5                                       /**< Shift value for EMU_LOCKUP                  */
675 #define _EMU_RSTCAUSE_LOCKUP_MASK                       0x20UL                                  /**< Bit mask for EMU_LOCKUP                     */
676 #define _EMU_RSTCAUSE_LOCKUP_DEFAULT                    0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
677 #define EMU_RSTCAUSE_LOCKUP_DEFAULT                     (_EMU_RSTCAUSE_LOCKUP_DEFAULT << 5)     /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
678 #define EMU_RSTCAUSE_SYSREQ                             (0x1UL << 6)                            /**< M33 Core Sys Reset                          */
679 #define _EMU_RSTCAUSE_SYSREQ_SHIFT                      6                                       /**< Shift value for EMU_SYSREQ                  */
680 #define _EMU_RSTCAUSE_SYSREQ_MASK                       0x40UL                                  /**< Bit mask for EMU_SYSREQ                     */
681 #define _EMU_RSTCAUSE_SYSREQ_DEFAULT                    0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
682 #define EMU_RSTCAUSE_SYSREQ_DEFAULT                     (_EMU_RSTCAUSE_SYSREQ_DEFAULT << 6)     /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
683 #define EMU_RSTCAUSE_DVDDBOD                            (0x1UL << 7)                            /**< HVBOD Reset                                 */
684 #define _EMU_RSTCAUSE_DVDDBOD_SHIFT                     7                                       /**< Shift value for EMU_DVDDBOD                 */
685 #define _EMU_RSTCAUSE_DVDDBOD_MASK                      0x80UL                                  /**< Bit mask for EMU_DVDDBOD                    */
686 #define _EMU_RSTCAUSE_DVDDBOD_DEFAULT                   0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
687 #define EMU_RSTCAUSE_DVDDBOD_DEFAULT                    (_EMU_RSTCAUSE_DVDDBOD_DEFAULT << 7)    /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
688 #define EMU_RSTCAUSE_DVDDLEBOD                          (0x1UL << 8)                            /**< LEBOD Reset                                 */
689 #define _EMU_RSTCAUSE_DVDDLEBOD_SHIFT                   8                                       /**< Shift value for EMU_DVDDLEBOD               */
690 #define _EMU_RSTCAUSE_DVDDLEBOD_MASK                    0x100UL                                 /**< Bit mask for EMU_DVDDLEBOD                  */
691 #define _EMU_RSTCAUSE_DVDDLEBOD_DEFAULT                 0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
692 #define EMU_RSTCAUSE_DVDDLEBOD_DEFAULT                  (_EMU_RSTCAUSE_DVDDLEBOD_DEFAULT << 8)  /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
693 #define EMU_RSTCAUSE_DECBOD                             (0x1UL << 9)                            /**< LVBOD Reset                                 */
694 #define _EMU_RSTCAUSE_DECBOD_SHIFT                      9                                       /**< Shift value for EMU_DECBOD                  */
695 #define _EMU_RSTCAUSE_DECBOD_MASK                       0x200UL                                 /**< Bit mask for EMU_DECBOD                     */
696 #define _EMU_RSTCAUSE_DECBOD_DEFAULT                    0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
697 #define EMU_RSTCAUSE_DECBOD_DEFAULT                     (_EMU_RSTCAUSE_DECBOD_DEFAULT << 9)     /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
698 #define EMU_RSTCAUSE_AVDDBOD                            (0x1UL << 10)                           /**< LEBOD1 Reset                                */
699 #define _EMU_RSTCAUSE_AVDDBOD_SHIFT                     10                                      /**< Shift value for EMU_AVDDBOD                 */
700 #define _EMU_RSTCAUSE_AVDDBOD_MASK                      0x400UL                                 /**< Bit mask for EMU_AVDDBOD                    */
701 #define _EMU_RSTCAUSE_AVDDBOD_DEFAULT                   0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
702 #define EMU_RSTCAUSE_AVDDBOD_DEFAULT                    (_EMU_RSTCAUSE_AVDDBOD_DEFAULT << 10)   /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
703 #define EMU_RSTCAUSE_IOVDD0BOD                          (0x1UL << 11)                           /**< LEBOD2 Reset                                */
704 #define _EMU_RSTCAUSE_IOVDD0BOD_SHIFT                   11                                      /**< Shift value for EMU_IOVDD0BOD               */
705 #define _EMU_RSTCAUSE_IOVDD0BOD_MASK                    0x800UL                                 /**< Bit mask for EMU_IOVDD0BOD                  */
706 #define _EMU_RSTCAUSE_IOVDD0BOD_DEFAULT                 0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
707 #define EMU_RSTCAUSE_IOVDD0BOD_DEFAULT                  (_EMU_RSTCAUSE_IOVDD0BOD_DEFAULT << 11) /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
708 #define EMU_RSTCAUSE_DCI                                (0x1UL << 16)                           /**< DCI reset                                   */
709 #define _EMU_RSTCAUSE_DCI_SHIFT                         16                                      /**< Shift value for EMU_DCI                     */
710 #define _EMU_RSTCAUSE_DCI_MASK                          0x10000UL                               /**< Bit mask for EMU_DCI                        */
711 #define _EMU_RSTCAUSE_DCI_DEFAULT                       0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
712 #define EMU_RSTCAUSE_DCI_DEFAULT                        (_EMU_RSTCAUSE_DCI_DEFAULT << 16)       /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
713 #define EMU_RSTCAUSE_BOOSTON                            (0x1UL << 18)                           /**< BOOST_EN pin reset                          */
714 #define _EMU_RSTCAUSE_BOOSTON_SHIFT                     18                                      /**< Shift value for EMU_BOOSTON                 */
715 #define _EMU_RSTCAUSE_BOOSTON_MASK                      0x40000UL                               /**< Bit mask for EMU_BOOSTON                    */
716 #define _EMU_RSTCAUSE_BOOSTON_DEFAULT                   0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
717 #define EMU_RSTCAUSE_BOOSTON_DEFAULT                    (_EMU_RSTCAUSE_BOOSTON_DEFAULT << 18)   /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
718 #define EMU_RSTCAUSE_VREGIN                             (0x1UL << 31)                           /**< DCDC VREGIN comparator                      */
719 #define _EMU_RSTCAUSE_VREGIN_SHIFT                      31                                      /**< Shift value for EMU_VREGIN                  */
720 #define _EMU_RSTCAUSE_VREGIN_MASK                       0x80000000UL                            /**< Bit mask for EMU_VREGIN                     */
721 #define _EMU_RSTCAUSE_VREGIN_DEFAULT                    0x00000000UL                            /**< Mode DEFAULT for EMU_RSTCAUSE               */
722 #define EMU_RSTCAUSE_VREGIN_DEFAULT                     (_EMU_RSTCAUSE_VREGIN_DEFAULT << 31)    /**< Shifted mode DEFAULT for EMU_RSTCAUSE       */
723 
724 /* Bit fields for EMU DGIF */
725 #define _EMU_DGIF_RESETVALUE                            0x00000000UL                             /**< Default value for EMU_DGIF                  */
726 #define _EMU_DGIF_MASK                                  0xE1000000UL                             /**< Mask for EMU_DGIF                           */
727 #define EMU_DGIF_EM23WAKEUPDGIF                         (0x1UL << 24)                            /**< EM23 Wake up Interrupt flag                 */
728 #define _EMU_DGIF_EM23WAKEUPDGIF_SHIFT                  24                                       /**< Shift value for EMU_EM23WAKEUPDGIF          */
729 #define _EMU_DGIF_EM23WAKEUPDGIF_MASK                   0x1000000UL                              /**< Bit mask for EMU_EM23WAKEUPDGIF             */
730 #define _EMU_DGIF_EM23WAKEUPDGIF_DEFAULT                0x00000000UL                             /**< Mode DEFAULT for EMU_DGIF                   */
731 #define EMU_DGIF_EM23WAKEUPDGIF_DEFAULT                 (_EMU_DGIF_EM23WAKEUPDGIF_DEFAULT << 24) /**< Shifted mode DEFAULT for EMU_DGIF           */
732 #define EMU_DGIF_TEMPDGIF                               (0x1UL << 29)                            /**< Temperature Interrupt flag                  */
733 #define _EMU_DGIF_TEMPDGIF_SHIFT                        29                                       /**< Shift value for EMU_TEMPDGIF                */
734 #define _EMU_DGIF_TEMPDGIF_MASK                         0x20000000UL                             /**< Bit mask for EMU_TEMPDGIF                   */
735 #define _EMU_DGIF_TEMPDGIF_DEFAULT                      0x00000000UL                             /**< Mode DEFAULT for EMU_DGIF                   */
736 #define EMU_DGIF_TEMPDGIF_DEFAULT                       (_EMU_DGIF_TEMPDGIF_DEFAULT << 29)       /**< Shifted mode DEFAULT for EMU_DGIF           */
737 #define EMU_DGIF_TEMPLOWDGIF                            (0x1UL << 30)                            /**< Temperature low Interrupt flag              */
738 #define _EMU_DGIF_TEMPLOWDGIF_SHIFT                     30                                       /**< Shift value for EMU_TEMPLOWDGIF             */
739 #define _EMU_DGIF_TEMPLOWDGIF_MASK                      0x40000000UL                             /**< Bit mask for EMU_TEMPLOWDGIF                */
740 #define _EMU_DGIF_TEMPLOWDGIF_DEFAULT                   0x00000000UL                             /**< Mode DEFAULT for EMU_DGIF                   */
741 #define EMU_DGIF_TEMPLOWDGIF_DEFAULT                    (_EMU_DGIF_TEMPLOWDGIF_DEFAULT << 30)    /**< Shifted mode DEFAULT for EMU_DGIF           */
742 #define EMU_DGIF_TEMPHIGHDGIF                           (0x1UL << 31)                            /**< Temperature high Interrupt flag             */
743 #define _EMU_DGIF_TEMPHIGHDGIF_SHIFT                    31                                       /**< Shift value for EMU_TEMPHIGHDGIF            */
744 #define _EMU_DGIF_TEMPHIGHDGIF_MASK                     0x80000000UL                             /**< Bit mask for EMU_TEMPHIGHDGIF               */
745 #define _EMU_DGIF_TEMPHIGHDGIF_DEFAULT                  0x00000000UL                             /**< Mode DEFAULT for EMU_DGIF                   */
746 #define EMU_DGIF_TEMPHIGHDGIF_DEFAULT                   (_EMU_DGIF_TEMPHIGHDGIF_DEFAULT << 31)   /**< Shifted mode DEFAULT for EMU_DGIF           */
747 
748 /* Bit fields for EMU DGIEN */
749 #define _EMU_DGIEN_RESETVALUE                           0x00000000UL                               /**< Default value for EMU_DGIEN                 */
750 #define _EMU_DGIEN_MASK                                 0xE1000000UL                               /**< Mask for EMU_DGIEN                          */
751 #define EMU_DGIEN_EM23WAKEUPDGIEN                       (0x1UL << 24)                              /**< EM23 Wake up Interrupt enable               */
752 #define _EMU_DGIEN_EM23WAKEUPDGIEN_SHIFT                24                                         /**< Shift value for EMU_EM23WAKEUPDGIEN         */
753 #define _EMU_DGIEN_EM23WAKEUPDGIEN_MASK                 0x1000000UL                                /**< Bit mask for EMU_EM23WAKEUPDGIEN            */
754 #define _EMU_DGIEN_EM23WAKEUPDGIEN_DEFAULT              0x00000000UL                               /**< Mode DEFAULT for EMU_DGIEN                  */
755 #define EMU_DGIEN_EM23WAKEUPDGIEN_DEFAULT               (_EMU_DGIEN_EM23WAKEUPDGIEN_DEFAULT << 24) /**< Shifted mode DEFAULT for EMU_DGIEN          */
756 #define EMU_DGIEN_TEMPDGIEN                             (0x1UL << 29)                              /**< Temperature Interrupt enable                */
757 #define _EMU_DGIEN_TEMPDGIEN_SHIFT                      29                                         /**< Shift value for EMU_TEMPDGIEN               */
758 #define _EMU_DGIEN_TEMPDGIEN_MASK                       0x20000000UL                               /**< Bit mask for EMU_TEMPDGIEN                  */
759 #define _EMU_DGIEN_TEMPDGIEN_DEFAULT                    0x00000000UL                               /**< Mode DEFAULT for EMU_DGIEN                  */
760 #define EMU_DGIEN_TEMPDGIEN_DEFAULT                     (_EMU_DGIEN_TEMPDGIEN_DEFAULT << 29)       /**< Shifted mode DEFAULT for EMU_DGIEN          */
761 #define EMU_DGIEN_TEMPLOWDGIEN                          (0x1UL << 30)                              /**< Temperature low Interrupt enable            */
762 #define _EMU_DGIEN_TEMPLOWDGIEN_SHIFT                   30                                         /**< Shift value for EMU_TEMPLOWDGIEN            */
763 #define _EMU_DGIEN_TEMPLOWDGIEN_MASK                    0x40000000UL                               /**< Bit mask for EMU_TEMPLOWDGIEN               */
764 #define _EMU_DGIEN_TEMPLOWDGIEN_DEFAULT                 0x00000000UL                               /**< Mode DEFAULT for EMU_DGIEN                  */
765 #define EMU_DGIEN_TEMPLOWDGIEN_DEFAULT                  (_EMU_DGIEN_TEMPLOWDGIEN_DEFAULT << 30)    /**< Shifted mode DEFAULT for EMU_DGIEN          */
766 #define EMU_DGIEN_TEMPHIGHDGIEN                         (0x1UL << 31)                              /**< Temperature high Interrupt enable           */
767 #define _EMU_DGIEN_TEMPHIGHDGIEN_SHIFT                  31                                         /**< Shift value for EMU_TEMPHIGHDGIEN           */
768 #define _EMU_DGIEN_TEMPHIGHDGIEN_MASK                   0x80000000UL                               /**< Bit mask for EMU_TEMPHIGHDGIEN              */
769 #define _EMU_DGIEN_TEMPHIGHDGIEN_DEFAULT                0x00000000UL                               /**< Mode DEFAULT for EMU_DGIEN                  */
770 #define EMU_DGIEN_TEMPHIGHDGIEN_DEFAULT                 (_EMU_DGIEN_TEMPHIGHDGIEN_DEFAULT << 31)   /**< Shifted mode DEFAULT for EMU_DGIEN          */
771 
772 /* Bit fields for EMU BOOSTCTRL */
773 #define _EMU_BOOSTCTRL_RESETVALUE                       0x00000001UL                              /**< Default value for EMU_BOOSTCTRL             */
774 #define _EMU_BOOSTCTRL_MASK                             0x00000001UL                              /**< Mask for EMU_BOOSTCTRL                      */
775 #define EMU_BOOSTCTRL_BOOSTENCTRL                       (0x1UL << 0)                              /**< BOOST_EN Control                            */
776 #define _EMU_BOOSTCTRL_BOOSTENCTRL_SHIFT                0                                         /**< Shift value for EMU_BOOSTENCTRL             */
777 #define _EMU_BOOSTCTRL_BOOSTENCTRL_MASK                 0x1UL                                     /**< Bit mask for EMU_BOOSTENCTRL                */
778 #define _EMU_BOOSTCTRL_BOOSTENCTRL_DEFAULT              0x00000001UL                              /**< Mode DEFAULT for EMU_BOOSTCTRL              */
779 #define EMU_BOOSTCTRL_BOOSTENCTRL_DEFAULT               (_EMU_BOOSTCTRL_BOOSTENCTRL_DEFAULT << 0) /**< Shifted mode DEFAULT for EMU_BOOSTCTRL      */
780 
781 /* Bit fields for EMU EFPIF */
782 #define _EMU_EFPIF_RESETVALUE                           0x00000000UL                    /**< Default value for EMU_EFPIF                 */
783 #define _EMU_EFPIF_MASK                                 0x00000001UL                    /**< Mask for EMU_EFPIF                          */
784 #define EMU_EFPIF_EFPIF                                 (0x1UL << 0)                    /**< EFP Interrupt Flag                          */
785 #define _EMU_EFPIF_EFPIF_SHIFT                          0                               /**< Shift value for EMU_EFPIF                   */
786 #define _EMU_EFPIF_EFPIF_MASK                           0x1UL                           /**< Bit mask for EMU_EFPIF                      */
787 #define _EMU_EFPIF_EFPIF_DEFAULT                        0x00000000UL                    /**< Mode DEFAULT for EMU_EFPIF                  */
788 #define EMU_EFPIF_EFPIF_DEFAULT                         (_EMU_EFPIF_EFPIF_DEFAULT << 0) /**< Shifted mode DEFAULT for EMU_EFPIF          */
789 
790 /* Bit fields for EMU EFPIEN */
791 #define _EMU_EFPIEN_RESETVALUE                          0x00000000UL                      /**< Default value for EMU_EFPIEN                */
792 #define _EMU_EFPIEN_MASK                                0x00000001UL                      /**< Mask for EMU_EFPIEN                         */
793 #define EMU_EFPIEN_EFPIEN                               (0x1UL << 0)                      /**< EFP Interrupt enable                        */
794 #define _EMU_EFPIEN_EFPIEN_SHIFT                        0                                 /**< Shift value for EMU_EFPIEN                  */
795 #define _EMU_EFPIEN_EFPIEN_MASK                         0x1UL                             /**< Bit mask for EMU_EFPIEN                     */
796 #define _EMU_EFPIEN_EFPIEN_DEFAULT                      0x00000000UL                      /**< Mode DEFAULT for EMU_EFPIEN                 */
797 #define EMU_EFPIEN_EFPIEN_DEFAULT                       (_EMU_EFPIEN_EFPIEN_DEFAULT << 0) /**< Shifted mode DEFAULT for EMU_EFPIEN         */
798 
799 /** @} End of group EFR32BG27_EMU_BitFields */
800 /** @} End of group EFR32BG27_EMU */
801 /** @} End of group Parts */
802 
803 #endif /* EFR32BG27_EMU_H */
804