1 /**************************************************************************//**
2  * @file
3  * @brief EFR32BG27 DCDC 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_DCDC_H
31 #define EFR32BG27_DCDC_H
32 #define DCDC_HAS_SET_CLEAR
33 
34 /**************************************************************************//**
35 * @addtogroup Parts
36 * @{
37 ******************************************************************************/
38 /**************************************************************************//**
39  * @defgroup EFR32BG27_DCDC DCDC
40  * @{
41  * @brief EFR32BG27 DCDC Register Declaration.
42  *****************************************************************************/
43 
44 /** DCDC Register Declaration. */
45 typedef struct {
46   __IM uint32_t  IPVERSION;                     /**< IPVERSION                                          */
47   __IOM uint32_t CTRL;                          /**< Control                                            */
48   uint32_t       RESERVED0[1U];                 /**< Reserved for future use                            */
49   __IOM uint32_t EM01CTRL0;                     /**< EM01 Control                                       */
50   __IOM uint32_t EM23CTRL0;                     /**< EM23 Control                                       */
51   uint32_t       RESERVED1[3U];                 /**< Reserved for future use                            */
52   __IOM uint32_t BSTCTRL;                       /**< Boost Control Register                             */
53   uint32_t       RESERVED2[1U];                 /**< Reserved for future use                            */
54   __IOM uint32_t BSTEM01CTRL;                   /**< EM01 Boost Control                                 */
55   __IOM uint32_t BSTEM23CTRL;                   /**< EM23 Boost Control                                 */
56   uint32_t       RESERVED3[1U];                 /**< Reserved for future use                            */
57   __IOM uint32_t IF;                            /**< Interrupt Flags                                    */
58   __IOM uint32_t IEN;                           /**< Interrupt Enable                                   */
59   __IM uint32_t  STATUS;                        /**< Status Register                                    */
60   __IM uint32_t  SYNCBUSY;                      /**< Syncbusy Status Register                           */
61   uint32_t       RESERVED4[7U];                 /**< Reserved for future use                            */
62   __IOM uint32_t CCCTRL;                        /**< Coulomb Counter Control                            */
63   __IOM uint32_t CCCALCTRL;                     /**< Coulomb Counter Calibration Control                */
64   __IOM uint32_t CCCMD;                         /**< Coulomb Counter Command                            */
65   __IM uint32_t  CCEM0CNT;                      /**< Coulomb Counter EM0 Count Value                    */
66   __IM uint32_t  CCEM2CNT;                      /**< Coulomb Counter EM2 Count Value                    */
67   __IOM uint32_t CCTHR;                         /**< Coulomb Counter Threshold                          */
68   __IOM uint32_t CCIF;                          /**< Coulomb Counter Interrupt Flag                     */
69   __IOM uint32_t CCIEN;                         /**< Coulomb Counter Interrupt Enable                   */
70   __IM uint32_t  CCSTATUS;                      /**< Coulomb Counter Status                             */
71   uint32_t       RESERVED5[3U];                 /**< Reserved for future use                            */
72   __IOM uint32_t LOCK;                          /**< Lock Register                                      */
73   __IM uint32_t  LOCKSTATUS;                    /**< Lock Status Register                               */
74   uint32_t       RESERVED6[2U];                 /**< Reserved for future use                            */
75   uint32_t       RESERVED7[1U];                 /**< Reserved for future use                            */
76   uint32_t       RESERVED8[7U];                 /**< Reserved for future use                            */
77   uint32_t       RESERVED9[1U];                 /**< Reserved for future use                            */
78   uint32_t       RESERVED10[975U];              /**< Reserved for future use                            */
79   __IM uint32_t  IPVERSION_SET;                 /**< IPVERSION                                          */
80   __IOM uint32_t CTRL_SET;                      /**< Control                                            */
81   uint32_t       RESERVED11[1U];                /**< Reserved for future use                            */
82   __IOM uint32_t EM01CTRL0_SET;                 /**< EM01 Control                                       */
83   __IOM uint32_t EM23CTRL0_SET;                 /**< EM23 Control                                       */
84   uint32_t       RESERVED12[3U];                /**< Reserved for future use                            */
85   __IOM uint32_t BSTCTRL_SET;                   /**< Boost Control Register                             */
86   uint32_t       RESERVED13[1U];                /**< Reserved for future use                            */
87   __IOM uint32_t BSTEM01CTRL_SET;               /**< EM01 Boost Control                                 */
88   __IOM uint32_t BSTEM23CTRL_SET;               /**< EM23 Boost Control                                 */
89   uint32_t       RESERVED14[1U];                /**< Reserved for future use                            */
90   __IOM uint32_t IF_SET;                        /**< Interrupt Flags                                    */
91   __IOM uint32_t IEN_SET;                       /**< Interrupt Enable                                   */
92   __IM uint32_t  STATUS_SET;                    /**< Status Register                                    */
93   __IM uint32_t  SYNCBUSY_SET;                  /**< Syncbusy Status Register                           */
94   uint32_t       RESERVED15[7U];                /**< Reserved for future use                            */
95   __IOM uint32_t CCCTRL_SET;                    /**< Coulomb Counter Control                            */
96   __IOM uint32_t CCCALCTRL_SET;                 /**< Coulomb Counter Calibration Control                */
97   __IOM uint32_t CCCMD_SET;                     /**< Coulomb Counter Command                            */
98   __IM uint32_t  CCEM0CNT_SET;                  /**< Coulomb Counter EM0 Count Value                    */
99   __IM uint32_t  CCEM2CNT_SET;                  /**< Coulomb Counter EM2 Count Value                    */
100   __IOM uint32_t CCTHR_SET;                     /**< Coulomb Counter Threshold                          */
101   __IOM uint32_t CCIF_SET;                      /**< Coulomb Counter Interrupt Flag                     */
102   __IOM uint32_t CCIEN_SET;                     /**< Coulomb Counter Interrupt Enable                   */
103   __IM uint32_t  CCSTATUS_SET;                  /**< Coulomb Counter Status                             */
104   uint32_t       RESERVED16[3U];                /**< Reserved for future use                            */
105   __IOM uint32_t LOCK_SET;                      /**< Lock Register                                      */
106   __IM uint32_t  LOCKSTATUS_SET;                /**< Lock Status Register                               */
107   uint32_t       RESERVED17[2U];                /**< Reserved for future use                            */
108   uint32_t       RESERVED18[1U];                /**< Reserved for future use                            */
109   uint32_t       RESERVED19[7U];                /**< Reserved for future use                            */
110   uint32_t       RESERVED20[1U];                /**< Reserved for future use                            */
111   uint32_t       RESERVED21[975U];              /**< Reserved for future use                            */
112   __IM uint32_t  IPVERSION_CLR;                 /**< IPVERSION                                          */
113   __IOM uint32_t CTRL_CLR;                      /**< Control                                            */
114   uint32_t       RESERVED22[1U];                /**< Reserved for future use                            */
115   __IOM uint32_t EM01CTRL0_CLR;                 /**< EM01 Control                                       */
116   __IOM uint32_t EM23CTRL0_CLR;                 /**< EM23 Control                                       */
117   uint32_t       RESERVED23[3U];                /**< Reserved for future use                            */
118   __IOM uint32_t BSTCTRL_CLR;                   /**< Boost Control Register                             */
119   uint32_t       RESERVED24[1U];                /**< Reserved for future use                            */
120   __IOM uint32_t BSTEM01CTRL_CLR;               /**< EM01 Boost Control                                 */
121   __IOM uint32_t BSTEM23CTRL_CLR;               /**< EM23 Boost Control                                 */
122   uint32_t       RESERVED25[1U];                /**< Reserved for future use                            */
123   __IOM uint32_t IF_CLR;                        /**< Interrupt Flags                                    */
124   __IOM uint32_t IEN_CLR;                       /**< Interrupt Enable                                   */
125   __IM uint32_t  STATUS_CLR;                    /**< Status Register                                    */
126   __IM uint32_t  SYNCBUSY_CLR;                  /**< Syncbusy Status Register                           */
127   uint32_t       RESERVED26[7U];                /**< Reserved for future use                            */
128   __IOM uint32_t CCCTRL_CLR;                    /**< Coulomb Counter Control                            */
129   __IOM uint32_t CCCALCTRL_CLR;                 /**< Coulomb Counter Calibration Control                */
130   __IOM uint32_t CCCMD_CLR;                     /**< Coulomb Counter Command                            */
131   __IM uint32_t  CCEM0CNT_CLR;                  /**< Coulomb Counter EM0 Count Value                    */
132   __IM uint32_t  CCEM2CNT_CLR;                  /**< Coulomb Counter EM2 Count Value                    */
133   __IOM uint32_t CCTHR_CLR;                     /**< Coulomb Counter Threshold                          */
134   __IOM uint32_t CCIF_CLR;                      /**< Coulomb Counter Interrupt Flag                     */
135   __IOM uint32_t CCIEN_CLR;                     /**< Coulomb Counter Interrupt Enable                   */
136   __IM uint32_t  CCSTATUS_CLR;                  /**< Coulomb Counter Status                             */
137   uint32_t       RESERVED27[3U];                /**< Reserved for future use                            */
138   __IOM uint32_t LOCK_CLR;                      /**< Lock Register                                      */
139   __IM uint32_t  LOCKSTATUS_CLR;                /**< Lock Status Register                               */
140   uint32_t       RESERVED28[2U];                /**< Reserved for future use                            */
141   uint32_t       RESERVED29[1U];                /**< Reserved for future use                            */
142   uint32_t       RESERVED30[7U];                /**< Reserved for future use                            */
143   uint32_t       RESERVED31[1U];                /**< Reserved for future use                            */
144   uint32_t       RESERVED32[975U];              /**< Reserved for future use                            */
145   __IM uint32_t  IPVERSION_TGL;                 /**< IPVERSION                                          */
146   __IOM uint32_t CTRL_TGL;                      /**< Control                                            */
147   uint32_t       RESERVED33[1U];                /**< Reserved for future use                            */
148   __IOM uint32_t EM01CTRL0_TGL;                 /**< EM01 Control                                       */
149   __IOM uint32_t EM23CTRL0_TGL;                 /**< EM23 Control                                       */
150   uint32_t       RESERVED34[3U];                /**< Reserved for future use                            */
151   __IOM uint32_t BSTCTRL_TGL;                   /**< Boost Control Register                             */
152   uint32_t       RESERVED35[1U];                /**< Reserved for future use                            */
153   __IOM uint32_t BSTEM01CTRL_TGL;               /**< EM01 Boost Control                                 */
154   __IOM uint32_t BSTEM23CTRL_TGL;               /**< EM23 Boost Control                                 */
155   uint32_t       RESERVED36[1U];                /**< Reserved for future use                            */
156   __IOM uint32_t IF_TGL;                        /**< Interrupt Flags                                    */
157   __IOM uint32_t IEN_TGL;                       /**< Interrupt Enable                                   */
158   __IM uint32_t  STATUS_TGL;                    /**< Status Register                                    */
159   __IM uint32_t  SYNCBUSY_TGL;                  /**< Syncbusy Status Register                           */
160   uint32_t       RESERVED37[7U];                /**< Reserved for future use                            */
161   __IOM uint32_t CCCTRL_TGL;                    /**< Coulomb Counter Control                            */
162   __IOM uint32_t CCCALCTRL_TGL;                 /**< Coulomb Counter Calibration Control                */
163   __IOM uint32_t CCCMD_TGL;                     /**< Coulomb Counter Command                            */
164   __IM uint32_t  CCEM0CNT_TGL;                  /**< Coulomb Counter EM0 Count Value                    */
165   __IM uint32_t  CCEM2CNT_TGL;                  /**< Coulomb Counter EM2 Count Value                    */
166   __IOM uint32_t CCTHR_TGL;                     /**< Coulomb Counter Threshold                          */
167   __IOM uint32_t CCIF_TGL;                      /**< Coulomb Counter Interrupt Flag                     */
168   __IOM uint32_t CCIEN_TGL;                     /**< Coulomb Counter Interrupt Enable                   */
169   __IM uint32_t  CCSTATUS_TGL;                  /**< Coulomb Counter Status                             */
170   uint32_t       RESERVED38[3U];                /**< Reserved for future use                            */
171   __IOM uint32_t LOCK_TGL;                      /**< Lock Register                                      */
172   __IM uint32_t  LOCKSTATUS_TGL;                /**< Lock Status Register                               */
173   uint32_t       RESERVED39[2U];                /**< Reserved for future use                            */
174   uint32_t       RESERVED40[1U];                /**< Reserved for future use                            */
175   uint32_t       RESERVED41[7U];                /**< Reserved for future use                            */
176   uint32_t       RESERVED42[1U];                /**< Reserved for future use                            */
177 } DCDC_TypeDef;
178 /** @} End of group EFR32BG27_DCDC */
179 
180 /**************************************************************************//**
181  * @addtogroup EFR32BG27_DCDC
182  * @{
183  * @defgroup EFR32BG27_DCDC_BitFields DCDC Bit Fields
184  * @{
185  *****************************************************************************/
186 
187 /* Bit fields for DCDC IPVERSION */
188 #define _DCDC_IPVERSION_RESETVALUE                    0x00000003UL                             /**< Default value for DCDC_IPVERSION            */
189 #define _DCDC_IPVERSION_MASK                          0xFFFFFFFFUL                             /**< Mask for DCDC_IPVERSION                     */
190 #define _DCDC_IPVERSION_IPVERSION_SHIFT               0                                        /**< Shift value for DCDC_IPVERSION              */
191 #define _DCDC_IPVERSION_IPVERSION_MASK                0xFFFFFFFFUL                             /**< Bit mask for DCDC_IPVERSION                 */
192 #define _DCDC_IPVERSION_IPVERSION_DEFAULT             0x00000003UL                             /**< Mode DEFAULT for DCDC_IPVERSION             */
193 #define DCDC_IPVERSION_IPVERSION_DEFAULT              (_DCDC_IPVERSION_IPVERSION_DEFAULT << 0) /**< Shifted mode DEFAULT for DCDC_IPVERSION     */
194 
195 /* Bit fields for DCDC CTRL */
196 #define _DCDC_CTRL_RESETVALUE                         0x00000040UL                              /**< Default value for DCDC_CTRL                 */
197 #define _DCDC_CTRL_MASK                               0x00000071UL                              /**< Mask for DCDC_CTRL                          */
198 #define DCDC_CTRL_MODE                                (0x1UL << 0)                              /**< DCDC/Bypass Mode Control                    */
199 #define _DCDC_CTRL_MODE_SHIFT                         0                                         /**< Shift value for DCDC_MODE                   */
200 #define _DCDC_CTRL_MODE_MASK                          0x1UL                                     /**< Bit mask for DCDC_MODE                      */
201 #define _DCDC_CTRL_MODE_DEFAULT                       0x00000000UL                              /**< Mode DEFAULT for DCDC_CTRL                  */
202 #define _DCDC_CTRL_MODE_BYPASS                        0x00000000UL                              /**< Mode BYPASS for DCDC_CTRL                   */
203 #define _DCDC_CTRL_MODE_DCDCREGULATION                0x00000001UL                              /**< Mode DCDCREGULATION for DCDC_CTRL           */
204 #define DCDC_CTRL_MODE_DEFAULT                        (_DCDC_CTRL_MODE_DEFAULT << 0)            /**< Shifted mode DEFAULT for DCDC_CTRL          */
205 #define DCDC_CTRL_MODE_BYPASS                         (_DCDC_CTRL_MODE_BYPASS << 0)             /**< Shifted mode BYPASS for DCDC_CTRL           */
206 #define DCDC_CTRL_MODE_DCDCREGULATION                 (_DCDC_CTRL_MODE_DCDCREGULATION << 0)     /**< Shifted mode DCDCREGULATION for DCDC_CTRL   */
207 #define _DCDC_CTRL_IPKTMAXCTRL_SHIFT                  4                                         /**< Shift value for DCDC_IPKTMAXCTRL            */
208 #define _DCDC_CTRL_IPKTMAXCTRL_MASK                   0x70UL                                    /**< Bit mask for DCDC_IPKTMAXCTRL               */
209 #define _DCDC_CTRL_IPKTMAXCTRL_DEFAULT                0x00000004UL                              /**< Mode DEFAULT for DCDC_CTRL                  */
210 #define _DCDC_CTRL_IPKTMAXCTRL_OFF                    0x00000000UL                              /**< Mode OFF for DCDC_CTRL                      */
211 #define _DCDC_CTRL_IPKTMAXCTRL_TMAX_0P35us            0x00000001UL                              /**< Mode TMAX_0P35us for DCDC_CTRL              */
212 #define _DCDC_CTRL_IPKTMAXCTRL_TMAX_0P63us            0x00000002UL                              /**< Mode TMAX_0P63us for DCDC_CTRL              */
213 #define _DCDC_CTRL_IPKTMAXCTRL_TMAX_0P91us            0x00000003UL                              /**< Mode TMAX_0P91us for DCDC_CTRL              */
214 #define _DCDC_CTRL_IPKTMAXCTRL_TMAX_1P19us            0x00000004UL                              /**< Mode TMAX_1P19us for DCDC_CTRL              */
215 #define _DCDC_CTRL_IPKTMAXCTRL_TMAX_1P47us            0x00000005UL                              /**< Mode TMAX_1P47us for DCDC_CTRL              */
216 #define _DCDC_CTRL_IPKTMAXCTRL_TMAX_1P75us            0x00000006UL                              /**< Mode TMAX_1P75us for DCDC_CTRL              */
217 #define _DCDC_CTRL_IPKTMAXCTRL_TMAX_2P03us            0x00000007UL                              /**< Mode TMAX_2P03us for DCDC_CTRL              */
218 #define DCDC_CTRL_IPKTMAXCTRL_DEFAULT                 (_DCDC_CTRL_IPKTMAXCTRL_DEFAULT << 4)     /**< Shifted mode DEFAULT for DCDC_CTRL          */
219 #define DCDC_CTRL_IPKTMAXCTRL_OFF                     (_DCDC_CTRL_IPKTMAXCTRL_OFF << 4)         /**< Shifted mode OFF for DCDC_CTRL              */
220 #define DCDC_CTRL_IPKTMAXCTRL_TMAX_0P35us             (_DCDC_CTRL_IPKTMAXCTRL_TMAX_0P35us << 4) /**< Shifted mode TMAX_0P35us for DCDC_CTRL      */
221 #define DCDC_CTRL_IPKTMAXCTRL_TMAX_0P63us             (_DCDC_CTRL_IPKTMAXCTRL_TMAX_0P63us << 4) /**< Shifted mode TMAX_0P63us for DCDC_CTRL      */
222 #define DCDC_CTRL_IPKTMAXCTRL_TMAX_0P91us             (_DCDC_CTRL_IPKTMAXCTRL_TMAX_0P91us << 4) /**< Shifted mode TMAX_0P91us for DCDC_CTRL      */
223 #define DCDC_CTRL_IPKTMAXCTRL_TMAX_1P19us             (_DCDC_CTRL_IPKTMAXCTRL_TMAX_1P19us << 4) /**< Shifted mode TMAX_1P19us for DCDC_CTRL      */
224 #define DCDC_CTRL_IPKTMAXCTRL_TMAX_1P47us             (_DCDC_CTRL_IPKTMAXCTRL_TMAX_1P47us << 4) /**< Shifted mode TMAX_1P47us for DCDC_CTRL      */
225 #define DCDC_CTRL_IPKTMAXCTRL_TMAX_1P75us             (_DCDC_CTRL_IPKTMAXCTRL_TMAX_1P75us << 4) /**< Shifted mode TMAX_1P75us for DCDC_CTRL      */
226 #define DCDC_CTRL_IPKTMAXCTRL_TMAX_2P03us             (_DCDC_CTRL_IPKTMAXCTRL_TMAX_2P03us << 4) /**< Shifted mode TMAX_2P03us for DCDC_CTRL      */
227 
228 /* Bit fields for DCDC EM01CTRL0 */
229 #define _DCDC_EM01CTRL0_RESETVALUE                    0x00000109UL                                    /**< Default value for DCDC_EM01CTRL0            */
230 #define _DCDC_EM01CTRL0_MASK                          0x0000030FUL                                    /**< Mask for DCDC_EM01CTRL0                     */
231 #define _DCDC_EM01CTRL0_IPKVAL_SHIFT                  0                                               /**< Shift value for DCDC_IPKVAL                 */
232 #define _DCDC_EM01CTRL0_IPKVAL_MASK                   0xFUL                                           /**< Bit mask for DCDC_IPKVAL                    */
233 #define _DCDC_EM01CTRL0_IPKVAL_DEFAULT                0x00000009UL                                    /**< Mode DEFAULT for DCDC_EM01CTRL0             */
234 #define _DCDC_EM01CTRL0_IPKVAL_Load36mA               0x00000003UL                                    /**< Mode Load36mA for DCDC_EM01CTRL0            */
235 #define _DCDC_EM01CTRL0_IPKVAL_Load40mA               0x00000004UL                                    /**< Mode Load40mA for DCDC_EM01CTRL0            */
236 #define _DCDC_EM01CTRL0_IPKVAL_Load44mA               0x00000005UL                                    /**< Mode Load44mA for DCDC_EM01CTRL0            */
237 #define _DCDC_EM01CTRL0_IPKVAL_Load48mA               0x00000006UL                                    /**< Mode Load48mA for DCDC_EM01CTRL0            */
238 #define _DCDC_EM01CTRL0_IPKVAL_Load52mA               0x00000007UL                                    /**< Mode Load52mA for DCDC_EM01CTRL0            */
239 #define _DCDC_EM01CTRL0_IPKVAL_Load56mA               0x00000008UL                                    /**< Mode Load56mA for DCDC_EM01CTRL0            */
240 #define _DCDC_EM01CTRL0_IPKVAL_Load60mA               0x00000009UL                                    /**< Mode Load60mA for DCDC_EM01CTRL0            */
241 #define DCDC_EM01CTRL0_IPKVAL_DEFAULT                 (_DCDC_EM01CTRL0_IPKVAL_DEFAULT << 0)           /**< Shifted mode DEFAULT for DCDC_EM01CTRL0     */
242 #define DCDC_EM01CTRL0_IPKVAL_Load36mA                (_DCDC_EM01CTRL0_IPKVAL_Load36mA << 0)          /**< Shifted mode Load36mA for DCDC_EM01CTRL0    */
243 #define DCDC_EM01CTRL0_IPKVAL_Load40mA                (_DCDC_EM01CTRL0_IPKVAL_Load40mA << 0)          /**< Shifted mode Load40mA for DCDC_EM01CTRL0    */
244 #define DCDC_EM01CTRL0_IPKVAL_Load44mA                (_DCDC_EM01CTRL0_IPKVAL_Load44mA << 0)          /**< Shifted mode Load44mA for DCDC_EM01CTRL0    */
245 #define DCDC_EM01CTRL0_IPKVAL_Load48mA                (_DCDC_EM01CTRL0_IPKVAL_Load48mA << 0)          /**< Shifted mode Load48mA for DCDC_EM01CTRL0    */
246 #define DCDC_EM01CTRL0_IPKVAL_Load52mA                (_DCDC_EM01CTRL0_IPKVAL_Load52mA << 0)          /**< Shifted mode Load52mA for DCDC_EM01CTRL0    */
247 #define DCDC_EM01CTRL0_IPKVAL_Load56mA                (_DCDC_EM01CTRL0_IPKVAL_Load56mA << 0)          /**< Shifted mode Load56mA for DCDC_EM01CTRL0    */
248 #define DCDC_EM01CTRL0_IPKVAL_Load60mA                (_DCDC_EM01CTRL0_IPKVAL_Load60mA << 0)          /**< Shifted mode Load60mA for DCDC_EM01CTRL0    */
249 #define _DCDC_EM01CTRL0_DRVSPEED_SHIFT                8                                               /**< Shift value for DCDC_DRVSPEED               */
250 #define _DCDC_EM01CTRL0_DRVSPEED_MASK                 0x300UL                                         /**< Bit mask for DCDC_DRVSPEED                  */
251 #define _DCDC_EM01CTRL0_DRVSPEED_DEFAULT              0x00000001UL                                    /**< Mode DEFAULT for DCDC_EM01CTRL0             */
252 #define _DCDC_EM01CTRL0_DRVSPEED_DEFAULT_SETTING      0x00000001UL                                    /**< Mode DEFAULT_SETTING for DCDC_EM01CTRL0     */
253 #define DCDC_EM01CTRL0_DRVSPEED_DEFAULT               (_DCDC_EM01CTRL0_DRVSPEED_DEFAULT << 8)         /**< Shifted mode DEFAULT for DCDC_EM01CTRL0     */
254 #define DCDC_EM01CTRL0_DRVSPEED_DEFAULT_SETTING       (_DCDC_EM01CTRL0_DRVSPEED_DEFAULT_SETTING << 8) /**< Shifted mode DEFAULT_SETTING for DCDC_EM01CTRL0*/
255 
256 /* Bit fields for DCDC EM23CTRL0 */
257 #define _DCDC_EM23CTRL0_RESETVALUE                    0x00000103UL                                    /**< Default value for DCDC_EM23CTRL0            */
258 #define _DCDC_EM23CTRL0_MASK                          0x0000030FUL                                    /**< Mask for DCDC_EM23CTRL0                     */
259 #define _DCDC_EM23CTRL0_IPKVAL_SHIFT                  0                                               /**< Shift value for DCDC_IPKVAL                 */
260 #define _DCDC_EM23CTRL0_IPKVAL_MASK                   0xFUL                                           /**< Bit mask for DCDC_IPKVAL                    */
261 #define _DCDC_EM23CTRL0_IPKVAL_DEFAULT                0x00000003UL                                    /**< Mode DEFAULT for DCDC_EM23CTRL0             */
262 #define _DCDC_EM23CTRL0_IPKVAL_Load5mA                0x00000003UL                                    /**< Mode Load5mA for DCDC_EM23CTRL0             */
263 #define _DCDC_EM23CTRL0_IPKVAL_Load10mA               0x00000009UL                                    /**< Mode Load10mA for DCDC_EM23CTRL0            */
264 #define DCDC_EM23CTRL0_IPKVAL_DEFAULT                 (_DCDC_EM23CTRL0_IPKVAL_DEFAULT << 0)           /**< Shifted mode DEFAULT for DCDC_EM23CTRL0     */
265 #define DCDC_EM23CTRL0_IPKVAL_Load5mA                 (_DCDC_EM23CTRL0_IPKVAL_Load5mA << 0)           /**< Shifted mode Load5mA for DCDC_EM23CTRL0     */
266 #define DCDC_EM23CTRL0_IPKVAL_Load10mA                (_DCDC_EM23CTRL0_IPKVAL_Load10mA << 0)          /**< Shifted mode Load10mA for DCDC_EM23CTRL0    */
267 #define _DCDC_EM23CTRL0_DRVSPEED_SHIFT                8                                               /**< Shift value for DCDC_DRVSPEED               */
268 #define _DCDC_EM23CTRL0_DRVSPEED_MASK                 0x300UL                                         /**< Bit mask for DCDC_DRVSPEED                  */
269 #define _DCDC_EM23CTRL0_DRVSPEED_DEFAULT              0x00000001UL                                    /**< Mode DEFAULT for DCDC_EM23CTRL0             */
270 #define _DCDC_EM23CTRL0_DRVSPEED_DEFAULT_SETTING      0x00000001UL                                    /**< Mode DEFAULT_SETTING for DCDC_EM23CTRL0     */
271 #define DCDC_EM23CTRL0_DRVSPEED_DEFAULT               (_DCDC_EM23CTRL0_DRVSPEED_DEFAULT << 8)         /**< Shifted mode DEFAULT for DCDC_EM23CTRL0     */
272 #define DCDC_EM23CTRL0_DRVSPEED_DEFAULT_SETTING       (_DCDC_EM23CTRL0_DRVSPEED_DEFAULT_SETTING << 8) /**< Shifted mode DEFAULT_SETTING for DCDC_EM23CTRL0*/
273 
274 /* Bit fields for DCDC BSTCTRL */
275 #define _DCDC_BSTCTRL_RESETVALUE                      0x00000047UL                                 /**< Default value for DCDC_BSTCTRL              */
276 #define _DCDC_BSTCTRL_MASK                            0x00000077UL                                 /**< Mask for DCDC_BSTCTRL                       */
277 #define _DCDC_BSTCTRL_BSTTOFFMAX_SHIFT                0                                            /**< Shift value for DCDC_BSTTOFFMAX             */
278 #define _DCDC_BSTCTRL_BSTTOFFMAX_MASK                 0x7UL                                        /**< Bit mask for DCDC_BSTTOFFMAX                */
279 #define _DCDC_BSTCTRL_BSTTOFFMAX_DEFAULT              0x00000007UL                                 /**< Mode DEFAULT for DCDC_BSTCTRL               */
280 #define _DCDC_BSTCTRL_BSTTOFFMAX_OFF                  0x00000000UL                                 /**< Mode OFF for DCDC_BSTCTRL                   */
281 #define _DCDC_BSTCTRL_BSTTOFFMAX_TMAX_0P35us          0x00000001UL                                 /**< Mode TMAX_0P35us for DCDC_BSTCTRL           */
282 #define _DCDC_BSTCTRL_BSTTOFFMAX_TMAX_0P63us          0x00000002UL                                 /**< Mode TMAX_0P63us for DCDC_BSTCTRL           */
283 #define _DCDC_BSTCTRL_BSTTOFFMAX_TMAX_0P91us          0x00000003UL                                 /**< Mode TMAX_0P91us for DCDC_BSTCTRL           */
284 #define _DCDC_BSTCTRL_BSTTOFFMAX_TMAX_1P19us          0x00000004UL                                 /**< Mode TMAX_1P19us for DCDC_BSTCTRL           */
285 #define _DCDC_BSTCTRL_BSTTOFFMAX_TMAX_1P47us          0x00000005UL                                 /**< Mode TMAX_1P47us for DCDC_BSTCTRL           */
286 #define _DCDC_BSTCTRL_BSTTOFFMAX_TMAX_1P75us          0x00000006UL                                 /**< Mode TMAX_1P75us for DCDC_BSTCTRL           */
287 #define _DCDC_BSTCTRL_BSTTOFFMAX_TMAX_2P03us          0x00000007UL                                 /**< Mode TMAX_2P03us for DCDC_BSTCTRL           */
288 #define DCDC_BSTCTRL_BSTTOFFMAX_DEFAULT               (_DCDC_BSTCTRL_BSTTOFFMAX_DEFAULT << 0)      /**< Shifted mode DEFAULT for DCDC_BSTCTRL       */
289 #define DCDC_BSTCTRL_BSTTOFFMAX_OFF                   (_DCDC_BSTCTRL_BSTTOFFMAX_OFF << 0)          /**< Shifted mode OFF for DCDC_BSTCTRL           */
290 #define DCDC_BSTCTRL_BSTTOFFMAX_TMAX_0P35us           (_DCDC_BSTCTRL_BSTTOFFMAX_TMAX_0P35us << 0)  /**< Shifted mode TMAX_0P35us for DCDC_BSTCTRL   */
291 #define DCDC_BSTCTRL_BSTTOFFMAX_TMAX_0P63us           (_DCDC_BSTCTRL_BSTTOFFMAX_TMAX_0P63us << 0)  /**< Shifted mode TMAX_0P63us for DCDC_BSTCTRL   */
292 #define DCDC_BSTCTRL_BSTTOFFMAX_TMAX_0P91us           (_DCDC_BSTCTRL_BSTTOFFMAX_TMAX_0P91us << 0)  /**< Shifted mode TMAX_0P91us for DCDC_BSTCTRL   */
293 #define DCDC_BSTCTRL_BSTTOFFMAX_TMAX_1P19us           (_DCDC_BSTCTRL_BSTTOFFMAX_TMAX_1P19us << 0)  /**< Shifted mode TMAX_1P19us for DCDC_BSTCTRL   */
294 #define DCDC_BSTCTRL_BSTTOFFMAX_TMAX_1P47us           (_DCDC_BSTCTRL_BSTTOFFMAX_TMAX_1P47us << 0)  /**< Shifted mode TMAX_1P47us for DCDC_BSTCTRL   */
295 #define DCDC_BSTCTRL_BSTTOFFMAX_TMAX_1P75us           (_DCDC_BSTCTRL_BSTTOFFMAX_TMAX_1P75us << 0)  /**< Shifted mode TMAX_1P75us for DCDC_BSTCTRL   */
296 #define DCDC_BSTCTRL_BSTTOFFMAX_TMAX_2P03us           (_DCDC_BSTCTRL_BSTTOFFMAX_TMAX_2P03us << 0)  /**< Shifted mode TMAX_2P03us for DCDC_BSTCTRL   */
297 #define _DCDC_BSTCTRL_IPKTMAXCTRL_SHIFT               4                                            /**< Shift value for DCDC_IPKTMAXCTRL            */
298 #define _DCDC_BSTCTRL_IPKTMAXCTRL_MASK                0x70UL                                       /**< Bit mask for DCDC_IPKTMAXCTRL               */
299 #define _DCDC_BSTCTRL_IPKTMAXCTRL_DEFAULT             0x00000004UL                                 /**< Mode DEFAULT for DCDC_BSTCTRL               */
300 #define _DCDC_BSTCTRL_IPKTMAXCTRL_OFF                 0x00000000UL                                 /**< Mode OFF for DCDC_BSTCTRL                   */
301 #define _DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_0P35us         0x00000001UL                                 /**< Mode TMAX_0P35us for DCDC_BSTCTRL           */
302 #define _DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_0P63us         0x00000002UL                                 /**< Mode TMAX_0P63us for DCDC_BSTCTRL           */
303 #define _DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_0P91us         0x00000003UL                                 /**< Mode TMAX_0P91us for DCDC_BSTCTRL           */
304 #define _DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_1P19us         0x00000004UL                                 /**< Mode TMAX_1P19us for DCDC_BSTCTRL           */
305 #define _DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_1P47us         0x00000005UL                                 /**< Mode TMAX_1P47us for DCDC_BSTCTRL           */
306 #define _DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_1P75us         0x00000006UL                                 /**< Mode TMAX_1P75us for DCDC_BSTCTRL           */
307 #define _DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_2P03us         0x00000007UL                                 /**< Mode TMAX_2P03us for DCDC_BSTCTRL           */
308 #define DCDC_BSTCTRL_IPKTMAXCTRL_DEFAULT              (_DCDC_BSTCTRL_IPKTMAXCTRL_DEFAULT << 4)     /**< Shifted mode DEFAULT for DCDC_BSTCTRL       */
309 #define DCDC_BSTCTRL_IPKTMAXCTRL_OFF                  (_DCDC_BSTCTRL_IPKTMAXCTRL_OFF << 4)         /**< Shifted mode OFF for DCDC_BSTCTRL           */
310 #define DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_0P35us          (_DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_0P35us << 4) /**< Shifted mode TMAX_0P35us for DCDC_BSTCTRL   */
311 #define DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_0P63us          (_DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_0P63us << 4) /**< Shifted mode TMAX_0P63us for DCDC_BSTCTRL   */
312 #define DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_0P91us          (_DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_0P91us << 4) /**< Shifted mode TMAX_0P91us for DCDC_BSTCTRL   */
313 #define DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_1P19us          (_DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_1P19us << 4) /**< Shifted mode TMAX_1P19us for DCDC_BSTCTRL   */
314 #define DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_1P47us          (_DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_1P47us << 4) /**< Shifted mode TMAX_1P47us for DCDC_BSTCTRL   */
315 #define DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_1P75us          (_DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_1P75us << 4) /**< Shifted mode TMAX_1P75us for DCDC_BSTCTRL   */
316 #define DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_2P03us          (_DCDC_BSTCTRL_IPKTMAXCTRL_TMAX_2P03us << 4) /**< Shifted mode TMAX_2P03us for DCDC_BSTCTRL   */
317 
318 /* Bit fields for DCDC BSTEM01CTRL */
319 #define _DCDC_BSTEM01CTRL_RESETVALUE                  0x0000010DUL                                      /**< Default value for DCDC_BSTEM01CTRL          */
320 #define _DCDC_BSTEM01CTRL_MASK                        0x0000030FUL                                      /**< Mask for DCDC_BSTEM01CTRL                   */
321 #define _DCDC_BSTEM01CTRL_IPKVAL_SHIFT                0                                                 /**< Shift value for DCDC_IPKVAL                 */
322 #define _DCDC_BSTEM01CTRL_IPKVAL_MASK                 0xFUL                                             /**< Bit mask for DCDC_IPKVAL                    */
323 #define _DCDC_BSTEM01CTRL_IPKVAL_DEFAULT              0x0000000DUL                                      /**< Mode DEFAULT for DCDC_BSTEM01CTRL           */
324 #define _DCDC_BSTEM01CTRL_IPKVAL_Load10mA             0x00000004UL                                      /**< Mode Load10mA for DCDC_BSTEM01CTRL          */
325 #define _DCDC_BSTEM01CTRL_IPKVAL_Load11mA             0x00000005UL                                      /**< Mode Load11mA for DCDC_BSTEM01CTRL          */
326 #define _DCDC_BSTEM01CTRL_IPKVAL_Load13mA             0x00000006UL                                      /**< Mode Load13mA for DCDC_BSTEM01CTRL          */
327 #define _DCDC_BSTEM01CTRL_IPKVAL_Load15mA             0x00000007UL                                      /**< Mode Load15mA for DCDC_BSTEM01CTRL          */
328 #define _DCDC_BSTEM01CTRL_IPKVAL_Load16mA             0x00000008UL                                      /**< Mode Load16mA for DCDC_BSTEM01CTRL          */
329 #define _DCDC_BSTEM01CTRL_IPKVAL_Load18mA             0x00000009UL                                      /**< Mode Load18mA for DCDC_BSTEM01CTRL          */
330 #define _DCDC_BSTEM01CTRL_IPKVAL_Load20mA             0x0000000AUL                                      /**< Mode Load20mA for DCDC_BSTEM01CTRL          */
331 #define _DCDC_BSTEM01CTRL_IPKVAL_Load21mA             0x0000000BUL                                      /**< Mode Load21mA for DCDC_BSTEM01CTRL          */
332 #define _DCDC_BSTEM01CTRL_IPKVAL_Load23mA             0x0000000CUL                                      /**< Mode Load23mA for DCDC_BSTEM01CTRL          */
333 #define _DCDC_BSTEM01CTRL_IPKVAL_Load25mA             0x0000000DUL                                      /**< Mode Load25mA for DCDC_BSTEM01CTRL          */
334 #define _DCDC_BSTEM01CTRL_IPKVAL_Load26mA             0x0000000EUL                                      /**< Mode Load26mA for DCDC_BSTEM01CTRL          */
335 #define DCDC_BSTEM01CTRL_IPKVAL_DEFAULT               (_DCDC_BSTEM01CTRL_IPKVAL_DEFAULT << 0)           /**< Shifted mode DEFAULT for DCDC_BSTEM01CTRL   */
336 #define DCDC_BSTEM01CTRL_IPKVAL_Load10mA              (_DCDC_BSTEM01CTRL_IPKVAL_Load10mA << 0)          /**< Shifted mode Load10mA for DCDC_BSTEM01CTRL  */
337 #define DCDC_BSTEM01CTRL_IPKVAL_Load11mA              (_DCDC_BSTEM01CTRL_IPKVAL_Load11mA << 0)          /**< Shifted mode Load11mA for DCDC_BSTEM01CTRL  */
338 #define DCDC_BSTEM01CTRL_IPKVAL_Load13mA              (_DCDC_BSTEM01CTRL_IPKVAL_Load13mA << 0)          /**< Shifted mode Load13mA for DCDC_BSTEM01CTRL  */
339 #define DCDC_BSTEM01CTRL_IPKVAL_Load15mA              (_DCDC_BSTEM01CTRL_IPKVAL_Load15mA << 0)          /**< Shifted mode Load15mA for DCDC_BSTEM01CTRL  */
340 #define DCDC_BSTEM01CTRL_IPKVAL_Load16mA              (_DCDC_BSTEM01CTRL_IPKVAL_Load16mA << 0)          /**< Shifted mode Load16mA for DCDC_BSTEM01CTRL  */
341 #define DCDC_BSTEM01CTRL_IPKVAL_Load18mA              (_DCDC_BSTEM01CTRL_IPKVAL_Load18mA << 0)          /**< Shifted mode Load18mA for DCDC_BSTEM01CTRL  */
342 #define DCDC_BSTEM01CTRL_IPKVAL_Load20mA              (_DCDC_BSTEM01CTRL_IPKVAL_Load20mA << 0)          /**< Shifted mode Load20mA for DCDC_BSTEM01CTRL  */
343 #define DCDC_BSTEM01CTRL_IPKVAL_Load21mA              (_DCDC_BSTEM01CTRL_IPKVAL_Load21mA << 0)          /**< Shifted mode Load21mA for DCDC_BSTEM01CTRL  */
344 #define DCDC_BSTEM01CTRL_IPKVAL_Load23mA              (_DCDC_BSTEM01CTRL_IPKVAL_Load23mA << 0)          /**< Shifted mode Load23mA for DCDC_BSTEM01CTRL  */
345 #define DCDC_BSTEM01CTRL_IPKVAL_Load25mA              (_DCDC_BSTEM01CTRL_IPKVAL_Load25mA << 0)          /**< Shifted mode Load25mA for DCDC_BSTEM01CTRL  */
346 #define DCDC_BSTEM01CTRL_IPKVAL_Load26mA              (_DCDC_BSTEM01CTRL_IPKVAL_Load26mA << 0)          /**< Shifted mode Load26mA for DCDC_BSTEM01CTRL  */
347 #define _DCDC_BSTEM01CTRL_DRVSPEED_SHIFT              8                                                 /**< Shift value for DCDC_DRVSPEED               */
348 #define _DCDC_BSTEM01CTRL_DRVSPEED_MASK               0x300UL                                           /**< Bit mask for DCDC_DRVSPEED                  */
349 #define _DCDC_BSTEM01CTRL_DRVSPEED_DEFAULT            0x00000001UL                                      /**< Mode DEFAULT for DCDC_BSTEM01CTRL           */
350 #define _DCDC_BSTEM01CTRL_DRVSPEED_DEFAULT_SETTING    0x00000001UL                                      /**< Mode DEFAULT_SETTING for DCDC_BSTEM01CTRL   */
351 #define DCDC_BSTEM01CTRL_DRVSPEED_DEFAULT             (_DCDC_BSTEM01CTRL_DRVSPEED_DEFAULT << 8)         /**< Shifted mode DEFAULT for DCDC_BSTEM01CTRL   */
352 #define DCDC_BSTEM01CTRL_DRVSPEED_DEFAULT_SETTING     (_DCDC_BSTEM01CTRL_DRVSPEED_DEFAULT_SETTING << 8) /**< Shifted mode DEFAULT_SETTING for DCDC_BSTEM01CTRL*/
353 
354 /* Bit fields for DCDC BSTEM23CTRL */
355 #define _DCDC_BSTEM23CTRL_RESETVALUE                  0x0000010AUL                                      /**< Default value for DCDC_BSTEM23CTRL          */
356 #define _DCDC_BSTEM23CTRL_MASK                        0x0000030FUL                                      /**< Mask for DCDC_BSTEM23CTRL                   */
357 #define _DCDC_BSTEM23CTRL_IPKVAL_SHIFT                0                                                 /**< Shift value for DCDC_IPKVAL                 */
358 #define _DCDC_BSTEM23CTRL_IPKVAL_MASK                 0xFUL                                             /**< Bit mask for DCDC_IPKVAL                    */
359 #define _DCDC_BSTEM23CTRL_IPKVAL_DEFAULT              0x0000000AUL                                      /**< Mode DEFAULT for DCDC_BSTEM23CTRL           */
360 #define _DCDC_BSTEM23CTRL_IPKVAL_Load5mA              0x00000004UL                                      /**< Mode Load5mA for DCDC_BSTEM23CTRL           */
361 #define _DCDC_BSTEM23CTRL_IPKVAL_Load10mA             0x0000000AUL                                      /**< Mode Load10mA for DCDC_BSTEM23CTRL          */
362 #define DCDC_BSTEM23CTRL_IPKVAL_DEFAULT               (_DCDC_BSTEM23CTRL_IPKVAL_DEFAULT << 0)           /**< Shifted mode DEFAULT for DCDC_BSTEM23CTRL   */
363 #define DCDC_BSTEM23CTRL_IPKVAL_Load5mA               (_DCDC_BSTEM23CTRL_IPKVAL_Load5mA << 0)           /**< Shifted mode Load5mA for DCDC_BSTEM23CTRL   */
364 #define DCDC_BSTEM23CTRL_IPKVAL_Load10mA              (_DCDC_BSTEM23CTRL_IPKVAL_Load10mA << 0)          /**< Shifted mode Load10mA for DCDC_BSTEM23CTRL  */
365 #define _DCDC_BSTEM23CTRL_DRVSPEED_SHIFT              8                                                 /**< Shift value for DCDC_DRVSPEED               */
366 #define _DCDC_BSTEM23CTRL_DRVSPEED_MASK               0x300UL                                           /**< Bit mask for DCDC_DRVSPEED                  */
367 #define _DCDC_BSTEM23CTRL_DRVSPEED_DEFAULT            0x00000001UL                                      /**< Mode DEFAULT for DCDC_BSTEM23CTRL           */
368 #define _DCDC_BSTEM23CTRL_DRVSPEED_DEFAULT_SETTING    0x00000001UL                                      /**< Mode DEFAULT_SETTING for DCDC_BSTEM23CTRL   */
369 #define DCDC_BSTEM23CTRL_DRVSPEED_DEFAULT             (_DCDC_BSTEM23CTRL_DRVSPEED_DEFAULT << 8)         /**< Shifted mode DEFAULT for DCDC_BSTEM23CTRL   */
370 #define DCDC_BSTEM23CTRL_DRVSPEED_DEFAULT_SETTING     (_DCDC_BSTEM23CTRL_DRVSPEED_DEFAULT_SETTING << 8) /**< Shifted mode DEFAULT_SETTING for DCDC_BSTEM23CTRL*/
371 
372 /* Bit fields for DCDC IF */
373 #define _DCDC_IF_RESETVALUE                           0x00000000UL                       /**< Default value for DCDC_IF                   */
374 #define _DCDC_IF_MASK                                 0x000000FFUL                       /**< Mask for DCDC_IF                            */
375 #define DCDC_IF_BYPSW                                 (0x1UL << 0)                       /**< Bypass Switch Enabled                       */
376 #define _DCDC_IF_BYPSW_SHIFT                          0                                  /**< Shift value for DCDC_BYPSW                  */
377 #define _DCDC_IF_BYPSW_MASK                           0x1UL                              /**< Bit mask for DCDC_BYPSW                     */
378 #define _DCDC_IF_BYPSW_DEFAULT                        0x00000000UL                       /**< Mode DEFAULT for DCDC_IF                    */
379 #define DCDC_IF_BYPSW_DEFAULT                         (_DCDC_IF_BYPSW_DEFAULT << 0)      /**< Shifted mode DEFAULT for DCDC_IF            */
380 #define DCDC_IF_WARM                                  (0x1UL << 1)                       /**< DCDC Warmup Time Done                       */
381 #define _DCDC_IF_WARM_SHIFT                           1                                  /**< Shift value for DCDC_WARM                   */
382 #define _DCDC_IF_WARM_MASK                            0x2UL                              /**< Bit mask for DCDC_WARM                      */
383 #define _DCDC_IF_WARM_DEFAULT                         0x00000000UL                       /**< Mode DEFAULT for DCDC_IF                    */
384 #define DCDC_IF_WARM_DEFAULT                          (_DCDC_IF_WARM_DEFAULT << 1)       /**< Shifted mode DEFAULT for DCDC_IF            */
385 #define DCDC_IF_RUNNING                               (0x1UL << 2)                       /**< DCDC Running                                */
386 #define _DCDC_IF_RUNNING_SHIFT                        2                                  /**< Shift value for DCDC_RUNNING                */
387 #define _DCDC_IF_RUNNING_MASK                         0x4UL                              /**< Bit mask for DCDC_RUNNING                   */
388 #define _DCDC_IF_RUNNING_DEFAULT                      0x00000000UL                       /**< Mode DEFAULT for DCDC_IF                    */
389 #define DCDC_IF_RUNNING_DEFAULT                       (_DCDC_IF_RUNNING_DEFAULT << 2)    /**< Shifted mode DEFAULT for DCDC_IF            */
390 #define DCDC_IF_VREGINLOW                             (0x1UL << 3)                       /**< VREGVDD below threshold                     */
391 #define _DCDC_IF_VREGINLOW_SHIFT                      3                                  /**< Shift value for DCDC_VREGINLOW              */
392 #define _DCDC_IF_VREGINLOW_MASK                       0x8UL                              /**< Bit mask for DCDC_VREGINLOW                 */
393 #define _DCDC_IF_VREGINLOW_DEFAULT                    0x00000000UL                       /**< Mode DEFAULT for DCDC_IF                    */
394 #define DCDC_IF_VREGINLOW_DEFAULT                     (_DCDC_IF_VREGINLOW_DEFAULT << 3)  /**< Shifted mode DEFAULT for DCDC_IF            */
395 #define DCDC_IF_VREGINHIGH                            (0x1UL << 4)                       /**< VREGVDD above threshold                     */
396 #define _DCDC_IF_VREGINHIGH_SHIFT                     4                                  /**< Shift value for DCDC_VREGINHIGH             */
397 #define _DCDC_IF_VREGINHIGH_MASK                      0x10UL                             /**< Bit mask for DCDC_VREGINHIGH                */
398 #define _DCDC_IF_VREGINHIGH_DEFAULT                   0x00000000UL                       /**< Mode DEFAULT for DCDC_IF                    */
399 #define DCDC_IF_VREGINHIGH_DEFAULT                    (_DCDC_IF_VREGINHIGH_DEFAULT << 4) /**< Shifted mode DEFAULT for DCDC_IF            */
400 #define DCDC_IF_REGULATION                            (0x1UL << 5)                       /**< DCDC in regulation                          */
401 #define _DCDC_IF_REGULATION_SHIFT                     5                                  /**< Shift value for DCDC_REGULATION             */
402 #define _DCDC_IF_REGULATION_MASK                      0x20UL                             /**< Bit mask for DCDC_REGULATION                */
403 #define _DCDC_IF_REGULATION_DEFAULT                   0x00000000UL                       /**< Mode DEFAULT for DCDC_IF                    */
404 #define DCDC_IF_REGULATION_DEFAULT                    (_DCDC_IF_REGULATION_DEFAULT << 5) /**< Shifted mode DEFAULT for DCDC_IF            */
405 #define DCDC_IF_TMAX                                  (0x1UL << 6)                       /**< Buck Max Ton/Boost Max Toff reached         */
406 #define _DCDC_IF_TMAX_SHIFT                           6                                  /**< Shift value for DCDC_TMAX                   */
407 #define _DCDC_IF_TMAX_MASK                            0x40UL                             /**< Bit mask for DCDC_TMAX                      */
408 #define _DCDC_IF_TMAX_DEFAULT                         0x00000000UL                       /**< Mode DEFAULT for DCDC_IF                    */
409 #define DCDC_IF_TMAX_DEFAULT                          (_DCDC_IF_TMAX_DEFAULT << 6)       /**< Shifted mode DEFAULT for DCDC_IF            */
410 #define DCDC_IF_EM4ERR                                (0x1UL << 7)                       /**< EM4 Entry Request Error                     */
411 #define _DCDC_IF_EM4ERR_SHIFT                         7                                  /**< Shift value for DCDC_EM4ERR                 */
412 #define _DCDC_IF_EM4ERR_MASK                          0x80UL                             /**< Bit mask for DCDC_EM4ERR                    */
413 #define _DCDC_IF_EM4ERR_DEFAULT                       0x00000000UL                       /**< Mode DEFAULT for DCDC_IF                    */
414 #define DCDC_IF_EM4ERR_DEFAULT                        (_DCDC_IF_EM4ERR_DEFAULT << 7)     /**< Shifted mode DEFAULT for DCDC_IF            */
415 
416 /* Bit fields for DCDC IEN */
417 #define _DCDC_IEN_RESETVALUE                          0x00000000UL                        /**< Default value for DCDC_IEN                  */
418 #define _DCDC_IEN_MASK                                0x000000FFUL                        /**< Mask for DCDC_IEN                           */
419 #define DCDC_IEN_BYPSW                                (0x1UL << 0)                        /**< Bypass Switch Enabled Interrupt Enable      */
420 #define _DCDC_IEN_BYPSW_SHIFT                         0                                   /**< Shift value for DCDC_BYPSW                  */
421 #define _DCDC_IEN_BYPSW_MASK                          0x1UL                               /**< Bit mask for DCDC_BYPSW                     */
422 #define _DCDC_IEN_BYPSW_DEFAULT                       0x00000000UL                        /**< Mode DEFAULT for DCDC_IEN                   */
423 #define DCDC_IEN_BYPSW_DEFAULT                        (_DCDC_IEN_BYPSW_DEFAULT << 0)      /**< Shifted mode DEFAULT for DCDC_IEN           */
424 #define DCDC_IEN_WARM                                 (0x1UL << 1)                        /**< DCDC Warmup Time Done Interrupt Enable      */
425 #define _DCDC_IEN_WARM_SHIFT                          1                                   /**< Shift value for DCDC_WARM                   */
426 #define _DCDC_IEN_WARM_MASK                           0x2UL                               /**< Bit mask for DCDC_WARM                      */
427 #define _DCDC_IEN_WARM_DEFAULT                        0x00000000UL                        /**< Mode DEFAULT for DCDC_IEN                   */
428 #define DCDC_IEN_WARM_DEFAULT                         (_DCDC_IEN_WARM_DEFAULT << 1)       /**< Shifted mode DEFAULT for DCDC_IEN           */
429 #define DCDC_IEN_RUNNING                              (0x1UL << 2)                        /**< DCDC Running Interrupt Enable               */
430 #define _DCDC_IEN_RUNNING_SHIFT                       2                                   /**< Shift value for DCDC_RUNNING                */
431 #define _DCDC_IEN_RUNNING_MASK                        0x4UL                               /**< Bit mask for DCDC_RUNNING                   */
432 #define _DCDC_IEN_RUNNING_DEFAULT                     0x00000000UL                        /**< Mode DEFAULT for DCDC_IEN                   */
433 #define DCDC_IEN_RUNNING_DEFAULT                      (_DCDC_IEN_RUNNING_DEFAULT << 2)    /**< Shifted mode DEFAULT for DCDC_IEN           */
434 #define DCDC_IEN_VREGINLOW                            (0x1UL << 3)                        /**< VREGVDD below threshold Interrupt Enable    */
435 #define _DCDC_IEN_VREGINLOW_SHIFT                     3                                   /**< Shift value for DCDC_VREGINLOW              */
436 #define _DCDC_IEN_VREGINLOW_MASK                      0x8UL                               /**< Bit mask for DCDC_VREGINLOW                 */
437 #define _DCDC_IEN_VREGINLOW_DEFAULT                   0x00000000UL                        /**< Mode DEFAULT for DCDC_IEN                   */
438 #define DCDC_IEN_VREGINLOW_DEFAULT                    (_DCDC_IEN_VREGINLOW_DEFAULT << 3)  /**< Shifted mode DEFAULT for DCDC_IEN           */
439 #define DCDC_IEN_VREGINHIGH                           (0x1UL << 4)                        /**< VREGVDD above threshold Interrupt Enable    */
440 #define _DCDC_IEN_VREGINHIGH_SHIFT                    4                                   /**< Shift value for DCDC_VREGINHIGH             */
441 #define _DCDC_IEN_VREGINHIGH_MASK                     0x10UL                              /**< Bit mask for DCDC_VREGINHIGH                */
442 #define _DCDC_IEN_VREGINHIGH_DEFAULT                  0x00000000UL                        /**< Mode DEFAULT for DCDC_IEN                   */
443 #define DCDC_IEN_VREGINHIGH_DEFAULT                   (_DCDC_IEN_VREGINHIGH_DEFAULT << 4) /**< Shifted mode DEFAULT for DCDC_IEN           */
444 #define DCDC_IEN_REGULATION                           (0x1UL << 5)                        /**< DCDC in Regulation Interrupt Enable         */
445 #define _DCDC_IEN_REGULATION_SHIFT                    5                                   /**< Shift value for DCDC_REGULATION             */
446 #define _DCDC_IEN_REGULATION_MASK                     0x20UL                              /**< Bit mask for DCDC_REGULATION                */
447 #define _DCDC_IEN_REGULATION_DEFAULT                  0x00000000UL                        /**< Mode DEFAULT for DCDC_IEN                   */
448 #define DCDC_IEN_REGULATION_DEFAULT                   (_DCDC_IEN_REGULATION_DEFAULT << 5) /**< Shifted mode DEFAULT for DCDC_IEN           */
449 #define DCDC_IEN_TMAX                                 (0x1UL << 6)                        /**< Ton_max Timeout Interrupt Enable            */
450 #define _DCDC_IEN_TMAX_SHIFT                          6                                   /**< Shift value for DCDC_TMAX                   */
451 #define _DCDC_IEN_TMAX_MASK                           0x40UL                              /**< Bit mask for DCDC_TMAX                      */
452 #define _DCDC_IEN_TMAX_DEFAULT                        0x00000000UL                        /**< Mode DEFAULT for DCDC_IEN                   */
453 #define DCDC_IEN_TMAX_DEFAULT                         (_DCDC_IEN_TMAX_DEFAULT << 6)       /**< Shifted mode DEFAULT for DCDC_IEN           */
454 #define DCDC_IEN_EM4ERR                               (0x1UL << 7)                        /**< EM4 Entry Req Interrupt Enable              */
455 #define _DCDC_IEN_EM4ERR_SHIFT                        7                                   /**< Shift value for DCDC_EM4ERR                 */
456 #define _DCDC_IEN_EM4ERR_MASK                         0x80UL                              /**< Bit mask for DCDC_EM4ERR                    */
457 #define _DCDC_IEN_EM4ERR_DEFAULT                      0x00000000UL                        /**< Mode DEFAULT for DCDC_IEN                   */
458 #define DCDC_IEN_EM4ERR_DEFAULT                       (_DCDC_IEN_EM4ERR_DEFAULT << 7)     /**< Shifted mode DEFAULT for DCDC_IEN           */
459 
460 /* Bit fields for DCDC STATUS */
461 #define _DCDC_STATUS_RESETVALUE                       0x00000000UL                          /**< Default value for DCDC_STATUS               */
462 #define _DCDC_STATUS_MASK                             0x0000001FUL                          /**< Mask for DCDC_STATUS                        */
463 #define DCDC_STATUS_BYPSW                             (0x1UL << 0)                          /**< Bypass Switch is currently enabled          */
464 #define _DCDC_STATUS_BYPSW_SHIFT                      0                                     /**< Shift value for DCDC_BYPSW                  */
465 #define _DCDC_STATUS_BYPSW_MASK                       0x1UL                                 /**< Bit mask for DCDC_BYPSW                     */
466 #define _DCDC_STATUS_BYPSW_DEFAULT                    0x00000000UL                          /**< Mode DEFAULT for DCDC_STATUS                */
467 #define DCDC_STATUS_BYPSW_DEFAULT                     (_DCDC_STATUS_BYPSW_DEFAULT << 0)     /**< Shifted mode DEFAULT for DCDC_STATUS        */
468 #define DCDC_STATUS_WARM                              (0x1UL << 1)                          /**< DCDC Warmup Done                            */
469 #define _DCDC_STATUS_WARM_SHIFT                       1                                     /**< Shift value for DCDC_WARM                   */
470 #define _DCDC_STATUS_WARM_MASK                        0x2UL                                 /**< Bit mask for DCDC_WARM                      */
471 #define _DCDC_STATUS_WARM_DEFAULT                     0x00000000UL                          /**< Mode DEFAULT for DCDC_STATUS                */
472 #define DCDC_STATUS_WARM_DEFAULT                      (_DCDC_STATUS_WARM_DEFAULT << 1)      /**< Shifted mode DEFAULT for DCDC_STATUS        */
473 #define DCDC_STATUS_RUNNING                           (0x1UL << 2)                          /**< DCDC is running                             */
474 #define _DCDC_STATUS_RUNNING_SHIFT                    2                                     /**< Shift value for DCDC_RUNNING                */
475 #define _DCDC_STATUS_RUNNING_MASK                     0x4UL                                 /**< Bit mask for DCDC_RUNNING                   */
476 #define _DCDC_STATUS_RUNNING_DEFAULT                  0x00000000UL                          /**< Mode DEFAULT for DCDC_STATUS                */
477 #define DCDC_STATUS_RUNNING_DEFAULT                   (_DCDC_STATUS_RUNNING_DEFAULT << 2)   /**< Shifted mode DEFAULT for DCDC_STATUS        */
478 #define DCDC_STATUS_VREGIN                            (0x1UL << 3)                          /**< VREGVDD comparator status                   */
479 #define _DCDC_STATUS_VREGIN_SHIFT                     3                                     /**< Shift value for DCDC_VREGIN                 */
480 #define _DCDC_STATUS_VREGIN_MASK                      0x8UL                                 /**< Bit mask for DCDC_VREGIN                    */
481 #define _DCDC_STATUS_VREGIN_DEFAULT                   0x00000000UL                          /**< Mode DEFAULT for DCDC_STATUS                */
482 #define DCDC_STATUS_VREGIN_DEFAULT                    (_DCDC_STATUS_VREGIN_DEFAULT << 3)    /**< Shifted mode DEFAULT for DCDC_STATUS        */
483 #define DCDC_STATUS_BYPCMPOUT                         (0x1UL << 4)                          /**< Bypass Comparator Output                    */
484 #define _DCDC_STATUS_BYPCMPOUT_SHIFT                  4                                     /**< Shift value for DCDC_BYPCMPOUT              */
485 #define _DCDC_STATUS_BYPCMPOUT_MASK                   0x10UL                                /**< Bit mask for DCDC_BYPCMPOUT                 */
486 #define _DCDC_STATUS_BYPCMPOUT_DEFAULT                0x00000000UL                          /**< Mode DEFAULT for DCDC_STATUS                */
487 #define DCDC_STATUS_BYPCMPOUT_DEFAULT                 (_DCDC_STATUS_BYPCMPOUT_DEFAULT << 4) /**< Shifted mode DEFAULT for DCDC_STATUS        */
488 
489 /* Bit fields for DCDC SYNCBUSY */
490 #define _DCDC_SYNCBUSY_RESETVALUE                     0x00000000UL                           /**< Default value for DCDC_SYNCBUSY             */
491 #define _DCDC_SYNCBUSY_MASK                           0x00000001UL                           /**< Mask for DCDC_SYNCBUSY                      */
492 #define DCDC_SYNCBUSY_SYNCBUSY                        (0x1UL << 0)                           /**< Combined Sync Busy Status                   */
493 #define _DCDC_SYNCBUSY_SYNCBUSY_SHIFT                 0                                      /**< Shift value for DCDC_SYNCBUSY               */
494 #define _DCDC_SYNCBUSY_SYNCBUSY_MASK                  0x1UL                                  /**< Bit mask for DCDC_SYNCBUSY                  */
495 #define _DCDC_SYNCBUSY_SYNCBUSY_DEFAULT               0x00000000UL                           /**< Mode DEFAULT for DCDC_SYNCBUSY              */
496 #define DCDC_SYNCBUSY_SYNCBUSY_DEFAULT                (_DCDC_SYNCBUSY_SYNCBUSY_DEFAULT << 0) /**< Shifted mode DEFAULT for DCDC_SYNCBUSY      */
497 
498 /* Bit fields for DCDC CCCTRL */
499 #define _DCDC_CCCTRL_RESETVALUE                       0x00000000UL                      /**< Default value for DCDC_CCCTRL               */
500 #define _DCDC_CCCTRL_MASK                             0x00000001UL                      /**< Mask for DCDC_CCCTRL                        */
501 #define DCDC_CCCTRL_CCEN                              (0x1UL << 0)                      /**< Coulomb Counter Enable                      */
502 #define _DCDC_CCCTRL_CCEN_SHIFT                       0                                 /**< Shift value for DCDC_CCEN                   */
503 #define _DCDC_CCCTRL_CCEN_MASK                        0x1UL                             /**< Bit mask for DCDC_CCEN                      */
504 #define _DCDC_CCCTRL_CCEN_DEFAULT                     0x00000000UL                      /**< Mode DEFAULT for DCDC_CCCTRL                */
505 #define DCDC_CCCTRL_CCEN_DEFAULT                      (_DCDC_CCCTRL_CCEN_DEFAULT << 0)  /**< Shifted mode DEFAULT for DCDC_CCCTRL        */
506 
507 /* Bit fields for DCDC CCCALCTRL */
508 #define _DCDC_CCCALCTRL_RESETVALUE                    0x00000000UL                             /**< Default value for DCDC_CCCALCTRL            */
509 #define _DCDC_CCCALCTRL_MASK                          0x0000030FUL                             /**< Mask for DCDC_CCCALCTRL                     */
510 #define DCDC_CCCALCTRL_CCLOADEN                       (0x1UL << 0)                             /**< CC Load Circuit Enable                      */
511 #define _DCDC_CCCALCTRL_CCLOADEN_SHIFT                0                                        /**< Shift value for DCDC_CCLOADEN               */
512 #define _DCDC_CCCALCTRL_CCLOADEN_MASK                 0x1UL                                    /**< Bit mask for DCDC_CCLOADEN                  */
513 #define _DCDC_CCCALCTRL_CCLOADEN_DEFAULT              0x00000000UL                             /**< Mode DEFAULT for DCDC_CCCALCTRL             */
514 #define DCDC_CCCALCTRL_CCLOADEN_DEFAULT               (_DCDC_CCCALCTRL_CCLOADEN_DEFAULT << 0)  /**< Shifted mode DEFAULT for DCDC_CCCALCTRL     */
515 #define _DCDC_CCCALCTRL_CCLVL_SHIFT                   1                                        /**< Shift value for DCDC_CCLVL                  */
516 #define _DCDC_CCCALCTRL_CCLVL_MASK                    0xEUL                                    /**< Bit mask for DCDC_CCLVL                     */
517 #define _DCDC_CCCALCTRL_CCLVL_DEFAULT                 0x00000000UL                             /**< Mode DEFAULT for DCDC_CCCALCTRL             */
518 #define _DCDC_CCCALCTRL_CCLVL_LOAD0                   0x00000000UL                             /**< Mode LOAD0 for DCDC_CCCALCTRL               */
519 #define _DCDC_CCCALCTRL_CCLVL_LOAD1                   0x00000001UL                             /**< Mode LOAD1 for DCDC_CCCALCTRL               */
520 #define _DCDC_CCCALCTRL_CCLVL_LOAD2                   0x00000002UL                             /**< Mode LOAD2 for DCDC_CCCALCTRL               */
521 #define _DCDC_CCCALCTRL_CCLVL_LOAD3                   0x00000003UL                             /**< Mode LOAD3 for DCDC_CCCALCTRL               */
522 #define _DCDC_CCCALCTRL_CCLVL_LOAD4                   0x00000004UL                             /**< Mode LOAD4 for DCDC_CCCALCTRL               */
523 #define _DCDC_CCCALCTRL_CCLVL_LOAD5                   0x00000005UL                             /**< Mode LOAD5 for DCDC_CCCALCTRL               */
524 #define _DCDC_CCCALCTRL_CCLVL_LOAD6                   0x00000006UL                             /**< Mode LOAD6 for DCDC_CCCALCTRL               */
525 #define _DCDC_CCCALCTRL_CCLVL_LOAD7                   0x00000007UL                             /**< Mode LOAD7 for DCDC_CCCALCTRL               */
526 #define DCDC_CCCALCTRL_CCLVL_DEFAULT                  (_DCDC_CCCALCTRL_CCLVL_DEFAULT << 1)     /**< Shifted mode DEFAULT for DCDC_CCCALCTRL     */
527 #define DCDC_CCCALCTRL_CCLVL_LOAD0                    (_DCDC_CCCALCTRL_CCLVL_LOAD0 << 1)       /**< Shifted mode LOAD0 for DCDC_CCCALCTRL       */
528 #define DCDC_CCCALCTRL_CCLVL_LOAD1                    (_DCDC_CCCALCTRL_CCLVL_LOAD1 << 1)       /**< Shifted mode LOAD1 for DCDC_CCCALCTRL       */
529 #define DCDC_CCCALCTRL_CCLVL_LOAD2                    (_DCDC_CCCALCTRL_CCLVL_LOAD2 << 1)       /**< Shifted mode LOAD2 for DCDC_CCCALCTRL       */
530 #define DCDC_CCCALCTRL_CCLVL_LOAD3                    (_DCDC_CCCALCTRL_CCLVL_LOAD3 << 1)       /**< Shifted mode LOAD3 for DCDC_CCCALCTRL       */
531 #define DCDC_CCCALCTRL_CCLVL_LOAD4                    (_DCDC_CCCALCTRL_CCLVL_LOAD4 << 1)       /**< Shifted mode LOAD4 for DCDC_CCCALCTRL       */
532 #define DCDC_CCCALCTRL_CCLVL_LOAD5                    (_DCDC_CCCALCTRL_CCLVL_LOAD5 << 1)       /**< Shifted mode LOAD5 for DCDC_CCCALCTRL       */
533 #define DCDC_CCCALCTRL_CCLVL_LOAD6                    (_DCDC_CCCALCTRL_CCLVL_LOAD6 << 1)       /**< Shifted mode LOAD6 for DCDC_CCCALCTRL       */
534 #define DCDC_CCCALCTRL_CCLVL_LOAD7                    (_DCDC_CCCALCTRL_CCLVL_LOAD7 << 1)       /**< Shifted mode LOAD7 for DCDC_CCCALCTRL       */
535 #define DCDC_CCCALCTRL_CCCALEM2                       (0x1UL << 8)                             /**< CC Calibrate EM2                            */
536 #define _DCDC_CCCALCTRL_CCCALEM2_SHIFT                8                                        /**< Shift value for DCDC_CCCALEM2               */
537 #define _DCDC_CCCALCTRL_CCCALEM2_MASK                 0x100UL                                  /**< Bit mask for DCDC_CCCALEM2                  */
538 #define _DCDC_CCCALCTRL_CCCALEM2_DEFAULT              0x00000000UL                             /**< Mode DEFAULT for DCDC_CCCALCTRL             */
539 #define DCDC_CCCALCTRL_CCCALEM2_DEFAULT               (_DCDC_CCCALCTRL_CCCALEM2_DEFAULT << 8)  /**< Shifted mode DEFAULT for DCDC_CCCALCTRL     */
540 #define DCDC_CCCALCTRL_CCCALHALT                      (0x1UL << 9)                             /**< CC Calibration Halt Req                     */
541 #define _DCDC_CCCALCTRL_CCCALHALT_SHIFT               9                                        /**< Shift value for DCDC_CCCALHALT              */
542 #define _DCDC_CCCALCTRL_CCCALHALT_MASK                0x200UL                                  /**< Bit mask for DCDC_CCCALHALT                 */
543 #define _DCDC_CCCALCTRL_CCCALHALT_DEFAULT             0x00000000UL                             /**< Mode DEFAULT for DCDC_CCCALCTRL             */
544 #define DCDC_CCCALCTRL_CCCALHALT_DEFAULT              (_DCDC_CCCALCTRL_CCCALHALT_DEFAULT << 9) /**< Shifted mode DEFAULT for DCDC_CCCALCTRL     */
545 
546 /* Bit fields for DCDC CCCMD */
547 #define _DCDC_CCCMD_RESETVALUE                        0x00000000UL                      /**< Default value for DCDC_CCCMD                */
548 #define _DCDC_CCCMD_MASK                              0x00000007UL                      /**< Mask for DCDC_CCCMD                         */
549 #define DCDC_CCCMD_START                              (0x1UL << 0)                      /**< Start CC                                    */
550 #define _DCDC_CCCMD_START_SHIFT                       0                                 /**< Shift value for DCDC_START                  */
551 #define _DCDC_CCCMD_START_MASK                        0x1UL                             /**< Bit mask for DCDC_START                     */
552 #define _DCDC_CCCMD_START_DEFAULT                     0x00000000UL                      /**< Mode DEFAULT for DCDC_CCCMD                 */
553 #define DCDC_CCCMD_START_DEFAULT                      (_DCDC_CCCMD_START_DEFAULT << 0)  /**< Shifted mode DEFAULT for DCDC_CCCMD         */
554 #define DCDC_CCCMD_STOP                               (0x1UL << 1)                      /**< Stop CC                                     */
555 #define _DCDC_CCCMD_STOP_SHIFT                        1                                 /**< Shift value for DCDC_STOP                   */
556 #define _DCDC_CCCMD_STOP_MASK                         0x2UL                             /**< Bit mask for DCDC_STOP                      */
557 #define _DCDC_CCCMD_STOP_DEFAULT                      0x00000000UL                      /**< Mode DEFAULT for DCDC_CCCMD                 */
558 #define DCDC_CCCMD_STOP_DEFAULT                       (_DCDC_CCCMD_STOP_DEFAULT << 1)   /**< Shifted mode DEFAULT for DCDC_CCCMD         */
559 #define DCDC_CCCMD_CLR                                (0x1UL << 2)                      /**< Clear CC                                    */
560 #define _DCDC_CCCMD_CLR_SHIFT                         2                                 /**< Shift value for DCDC_CLR                    */
561 #define _DCDC_CCCMD_CLR_MASK                          0x4UL                             /**< Bit mask for DCDC_CLR                       */
562 #define _DCDC_CCCMD_CLR_DEFAULT                       0x00000000UL                      /**< Mode DEFAULT for DCDC_CCCMD                 */
563 #define DCDC_CCCMD_CLR_DEFAULT                        (_DCDC_CCCMD_CLR_DEFAULT << 2)    /**< Shifted mode DEFAULT for DCDC_CCCMD         */
564 
565 /* Bit fields for DCDC CCEM0CNT */
566 #define _DCDC_CCEM0CNT_RESETVALUE                     0x00000000UL                        /**< Default value for DCDC_CCEM0CNT             */
567 #define _DCDC_CCEM0CNT_MASK                           0xFFFFFFFFUL                        /**< Mask for DCDC_CCEM0CNT                      */
568 #define _DCDC_CCEM0CNT_CCCNT_SHIFT                    0                                   /**< Shift value for DCDC_CCCNT                  */
569 #define _DCDC_CCEM0CNT_CCCNT_MASK                     0xFFFFFFFFUL                        /**< Bit mask for DCDC_CCCNT                     */
570 #define _DCDC_CCEM0CNT_CCCNT_DEFAULT                  0x00000000UL                        /**< Mode DEFAULT for DCDC_CCEM0CNT              */
571 #define DCDC_CCEM0CNT_CCCNT_DEFAULT                   (_DCDC_CCEM0CNT_CCCNT_DEFAULT << 0) /**< Shifted mode DEFAULT for DCDC_CCEM0CNT      */
572 
573 /* Bit fields for DCDC CCEM2CNT */
574 #define _DCDC_CCEM2CNT_RESETVALUE                     0x00000000UL                        /**< Default value for DCDC_CCEM2CNT             */
575 #define _DCDC_CCEM2CNT_MASK                           0xFFFFFFFFUL                        /**< Mask for DCDC_CCEM2CNT                      */
576 #define _DCDC_CCEM2CNT_CCCNT_SHIFT                    0                                   /**< Shift value for DCDC_CCCNT                  */
577 #define _DCDC_CCEM2CNT_CCCNT_MASK                     0xFFFFFFFFUL                        /**< Bit mask for DCDC_CCCNT                     */
578 #define _DCDC_CCEM2CNT_CCCNT_DEFAULT                  0x00000000UL                        /**< Mode DEFAULT for DCDC_CCEM2CNT              */
579 #define DCDC_CCEM2CNT_CCCNT_DEFAULT                   (_DCDC_CCEM2CNT_CCCNT_DEFAULT << 0) /**< Shifted mode DEFAULT for DCDC_CCEM2CNT      */
580 
581 /* Bit fields for DCDC CCTHR */
582 #define _DCDC_CCTHR_RESETVALUE                        0x00010001UL                       /**< Default value for DCDC_CCTHR                */
583 #define _DCDC_CCTHR_MASK                              0xFFFFFFFFUL                       /**< Mask for DCDC_CCTHR                         */
584 #define _DCDC_CCTHR_EM0CNT_SHIFT                      0                                  /**< Shift value for DCDC_EM0CNT                 */
585 #define _DCDC_CCTHR_EM0CNT_MASK                       0xFFFFUL                           /**< Bit mask for DCDC_EM0CNT                    */
586 #define _DCDC_CCTHR_EM0CNT_DEFAULT                    0x00000001UL                       /**< Mode DEFAULT for DCDC_CCTHR                 */
587 #define DCDC_CCTHR_EM0CNT_DEFAULT                     (_DCDC_CCTHR_EM0CNT_DEFAULT << 0)  /**< Shifted mode DEFAULT for DCDC_CCTHR         */
588 #define _DCDC_CCTHR_EM2CNT_SHIFT                      16                                 /**< Shift value for DCDC_EM2CNT                 */
589 #define _DCDC_CCTHR_EM2CNT_MASK                       0xFFFF0000UL                       /**< Bit mask for DCDC_EM2CNT                    */
590 #define _DCDC_CCTHR_EM2CNT_DEFAULT                    0x00000001UL                       /**< Mode DEFAULT for DCDC_CCTHR                 */
591 #define DCDC_CCTHR_EM2CNT_DEFAULT                     (_DCDC_CCTHR_EM2CNT_DEFAULT << 16) /**< Shifted mode DEFAULT for DCDC_CCTHR         */
592 
593 /* Bit fields for DCDC CCIF */
594 #define _DCDC_CCIF_RESETVALUE                         0x00000000UL                      /**< Default value for DCDC_CCIF                 */
595 #define _DCDC_CCIF_MASK                               0x0000000FUL                      /**< Mask for DCDC_CCIF                          */
596 #define DCDC_CCIF_EM0OF                               (0x1UL << 0)                      /**< EM0 Counter Overflow                        */
597 #define _DCDC_CCIF_EM0OF_SHIFT                        0                                 /**< Shift value for DCDC_EM0OF                  */
598 #define _DCDC_CCIF_EM0OF_MASK                         0x1UL                             /**< Bit mask for DCDC_EM0OF                     */
599 #define _DCDC_CCIF_EM0OF_DEFAULT                      0x00000000UL                      /**< Mode DEFAULT for DCDC_CCIF                  */
600 #define DCDC_CCIF_EM0OF_DEFAULT                       (_DCDC_CCIF_EM0OF_DEFAULT << 0)   /**< Shifted mode DEFAULT for DCDC_CCIF          */
601 #define DCDC_CCIF_EM2OF                               (0x1UL << 1)                      /**< EM2 Counter Overflow                        */
602 #define _DCDC_CCIF_EM2OF_SHIFT                        1                                 /**< Shift value for DCDC_EM2OF                  */
603 #define _DCDC_CCIF_EM2OF_MASK                         0x2UL                             /**< Bit mask for DCDC_EM2OF                     */
604 #define _DCDC_CCIF_EM2OF_DEFAULT                      0x00000000UL                      /**< Mode DEFAULT for DCDC_CCIF                  */
605 #define DCDC_CCIF_EM2OF_DEFAULT                       (_DCDC_CCIF_EM2OF_DEFAULT << 1)   /**< Shifted mode DEFAULT for DCDC_CCIF          */
606 #define DCDC_CCIF_EM0CMP                              (0x1UL << 2)                      /**< EM0 Counter Compare Match                   */
607 #define _DCDC_CCIF_EM0CMP_SHIFT                       2                                 /**< Shift value for DCDC_EM0CMP                 */
608 #define _DCDC_CCIF_EM0CMP_MASK                        0x4UL                             /**< Bit mask for DCDC_EM0CMP                    */
609 #define _DCDC_CCIF_EM0CMP_DEFAULT                     0x00000000UL                      /**< Mode DEFAULT for DCDC_CCIF                  */
610 #define DCDC_CCIF_EM0CMP_DEFAULT                      (_DCDC_CCIF_EM0CMP_DEFAULT << 2)  /**< Shifted mode DEFAULT for DCDC_CCIF          */
611 #define DCDC_CCIF_EM2CMP                              (0x1UL << 3)                      /**< EM2 Counter Compare Match                   */
612 #define _DCDC_CCIF_EM2CMP_SHIFT                       3                                 /**< Shift value for DCDC_EM2CMP                 */
613 #define _DCDC_CCIF_EM2CMP_MASK                        0x8UL                             /**< Bit mask for DCDC_EM2CMP                    */
614 #define _DCDC_CCIF_EM2CMP_DEFAULT                     0x00000000UL                      /**< Mode DEFAULT for DCDC_CCIF                  */
615 #define DCDC_CCIF_EM2CMP_DEFAULT                      (_DCDC_CCIF_EM2CMP_DEFAULT << 3)  /**< Shifted mode DEFAULT for DCDC_CCIF          */
616 
617 /* Bit fields for DCDC CCIEN */
618 #define _DCDC_CCIEN_RESETVALUE                        0x00000000UL                      /**< Default value for DCDC_CCIEN                */
619 #define _DCDC_CCIEN_MASK                              0x0000000FUL                      /**< Mask for DCDC_CCIEN                         */
620 #define DCDC_CCIEN_EM0OF                              (0x1UL << 0)                      /**< Clmb Cntr EM0 Overflow Interrupt Enable     */
621 #define _DCDC_CCIEN_EM0OF_SHIFT                       0                                 /**< Shift value for DCDC_EM0OF                  */
622 #define _DCDC_CCIEN_EM0OF_MASK                        0x1UL                             /**< Bit mask for DCDC_EM0OF                     */
623 #define _DCDC_CCIEN_EM0OF_DEFAULT                     0x00000000UL                      /**< Mode DEFAULT for DCDC_CCIEN                 */
624 #define DCDC_CCIEN_EM0OF_DEFAULT                      (_DCDC_CCIEN_EM0OF_DEFAULT << 0)  /**< Shifted mode DEFAULT for DCDC_CCIEN         */
625 #define DCDC_CCIEN_EM2OF                              (0x1UL << 1)                      /**< Clmb Cntr EM2 Overflow Interrupt Enable     */
626 #define _DCDC_CCIEN_EM2OF_SHIFT                       1                                 /**< Shift value for DCDC_EM2OF                  */
627 #define _DCDC_CCIEN_EM2OF_MASK                        0x2UL                             /**< Bit mask for DCDC_EM2OF                     */
628 #define _DCDC_CCIEN_EM2OF_DEFAULT                     0x00000000UL                      /**< Mode DEFAULT for DCDC_CCIEN                 */
629 #define DCDC_CCIEN_EM2OF_DEFAULT                      (_DCDC_CCIEN_EM2OF_DEFAULT << 1)  /**< Shifted mode DEFAULT for DCDC_CCIEN         */
630 #define DCDC_CCIEN_EM0CMP                             (0x1UL << 2)                      /**< Clmb Cntr EM0 Cmp Match Interrupt Enable    */
631 #define _DCDC_CCIEN_EM0CMP_SHIFT                      2                                 /**< Shift value for DCDC_EM0CMP                 */
632 #define _DCDC_CCIEN_EM0CMP_MASK                       0x4UL                             /**< Bit mask for DCDC_EM0CMP                    */
633 #define _DCDC_CCIEN_EM0CMP_DEFAULT                    0x00000000UL                      /**< Mode DEFAULT for DCDC_CCIEN                 */
634 #define DCDC_CCIEN_EM0CMP_DEFAULT                     (_DCDC_CCIEN_EM0CMP_DEFAULT << 2) /**< Shifted mode DEFAULT for DCDC_CCIEN         */
635 #define DCDC_CCIEN_EM2CMP                             (0x1UL << 3)                      /**< Clmb Cntr EM2 Cmp Match Interrupt Enable    */
636 #define _DCDC_CCIEN_EM2CMP_SHIFT                      3                                 /**< Shift value for DCDC_EM2CMP                 */
637 #define _DCDC_CCIEN_EM2CMP_MASK                       0x8UL                             /**< Bit mask for DCDC_EM2CMP                    */
638 #define _DCDC_CCIEN_EM2CMP_DEFAULT                    0x00000000UL                      /**< Mode DEFAULT for DCDC_CCIEN                 */
639 #define DCDC_CCIEN_EM2CMP_DEFAULT                     (_DCDC_CCIEN_EM2CMP_DEFAULT << 3) /**< Shifted mode DEFAULT for DCDC_CCIEN         */
640 
641 /* Bit fields for DCDC CCSTATUS */
642 #define _DCDC_CCSTATUS_RESETVALUE                     0x00000000UL                            /**< Default value for DCDC_CCSTATUS             */
643 #define _DCDC_CCSTATUS_MASK                           0x00000003UL                            /**< Mask for DCDC_CCSTATUS                      */
644 #define DCDC_CCSTATUS_CLRBSY                          (0x1UL << 0)                            /**< Coulomb Counter Clear Busy                  */
645 #define _DCDC_CCSTATUS_CLRBSY_SHIFT                   0                                       /**< Shift value for DCDC_CLRBSY                 */
646 #define _DCDC_CCSTATUS_CLRBSY_MASK                    0x1UL                                   /**< Bit mask for DCDC_CLRBSY                    */
647 #define _DCDC_CCSTATUS_CLRBSY_DEFAULT                 0x00000000UL                            /**< Mode DEFAULT for DCDC_CCSTATUS              */
648 #define DCDC_CCSTATUS_CLRBSY_DEFAULT                  (_DCDC_CCSTATUS_CLRBSY_DEFAULT << 0)    /**< Shifted mode DEFAULT for DCDC_CCSTATUS      */
649 #define DCDC_CCSTATUS_CCRUNNING                       (0x1UL << 1)                            /**< Coulomb Counter Running                     */
650 #define _DCDC_CCSTATUS_CCRUNNING_SHIFT                1                                       /**< Shift value for DCDC_CCRUNNING              */
651 #define _DCDC_CCSTATUS_CCRUNNING_MASK                 0x2UL                                   /**< Bit mask for DCDC_CCRUNNING                 */
652 #define _DCDC_CCSTATUS_CCRUNNING_DEFAULT              0x00000000UL                            /**< Mode DEFAULT for DCDC_CCSTATUS              */
653 #define DCDC_CCSTATUS_CCRUNNING_DEFAULT               (_DCDC_CCSTATUS_CCRUNNING_DEFAULT << 1) /**< Shifted mode DEFAULT for DCDC_CCSTATUS      */
654 
655 /* Bit fields for DCDC LOCK */
656 #define _DCDC_LOCK_RESETVALUE                         0x00000000UL                        /**< Default value for DCDC_LOCK                 */
657 #define _DCDC_LOCK_MASK                               0x0000FFFFUL                        /**< Mask for DCDC_LOCK                          */
658 #define _DCDC_LOCK_LOCKKEY_SHIFT                      0                                   /**< Shift value for DCDC_LOCKKEY                */
659 #define _DCDC_LOCK_LOCKKEY_MASK                       0xFFFFUL                            /**< Bit mask for DCDC_LOCKKEY                   */
660 #define _DCDC_LOCK_LOCKKEY_DEFAULT                    0x00000000UL                        /**< Mode DEFAULT for DCDC_LOCK                  */
661 #define _DCDC_LOCK_LOCKKEY_UNLOCKKEY                  0x0000ABCDUL                        /**< Mode UNLOCKKEY for DCDC_LOCK                */
662 #define DCDC_LOCK_LOCKKEY_DEFAULT                     (_DCDC_LOCK_LOCKKEY_DEFAULT << 0)   /**< Shifted mode DEFAULT for DCDC_LOCK          */
663 #define DCDC_LOCK_LOCKKEY_UNLOCKKEY                   (_DCDC_LOCK_LOCKKEY_UNLOCKKEY << 0) /**< Shifted mode UNLOCKKEY for DCDC_LOCK        */
664 
665 /* Bit fields for DCDC LOCKSTATUS */
666 #define _DCDC_LOCKSTATUS_RESETVALUE                   0x00000000UL                          /**< Default value for DCDC_LOCKSTATUS           */
667 #define _DCDC_LOCKSTATUS_MASK                         0x00000001UL                          /**< Mask for DCDC_LOCKSTATUS                    */
668 #define DCDC_LOCKSTATUS_LOCK                          (0x1UL << 0)                          /**< Lock Status                                 */
669 #define _DCDC_LOCKSTATUS_LOCK_SHIFT                   0                                     /**< Shift value for DCDC_LOCK                   */
670 #define _DCDC_LOCKSTATUS_LOCK_MASK                    0x1UL                                 /**< Bit mask for DCDC_LOCK                      */
671 #define _DCDC_LOCKSTATUS_LOCK_DEFAULT                 0x00000000UL                          /**< Mode DEFAULT for DCDC_LOCKSTATUS            */
672 #define _DCDC_LOCKSTATUS_LOCK_UNLOCKED                0x00000000UL                          /**< Mode UNLOCKED for DCDC_LOCKSTATUS           */
673 #define _DCDC_LOCKSTATUS_LOCK_LOCKED                  0x00000001UL                          /**< Mode LOCKED for DCDC_LOCKSTATUS             */
674 #define DCDC_LOCKSTATUS_LOCK_DEFAULT                  (_DCDC_LOCKSTATUS_LOCK_DEFAULT << 0)  /**< Shifted mode DEFAULT for DCDC_LOCKSTATUS    */
675 #define DCDC_LOCKSTATUS_LOCK_UNLOCKED                 (_DCDC_LOCKSTATUS_LOCK_UNLOCKED << 0) /**< Shifted mode UNLOCKED for DCDC_LOCKSTATUS   */
676 #define DCDC_LOCKSTATUS_LOCK_LOCKED                   (_DCDC_LOCKSTATUS_LOCK_LOCKED << 0)   /**< Shifted mode LOCKED for DCDC_LOCKSTATUS     */
677 
678 /** @} End of group EFR32BG27_DCDC_BitFields */
679 /** @} End of group EFR32BG27_DCDC */
680 /** @} End of group Parts */
681 
682 #endif // EFR32BG27_DCDC_H
683