mFrame
載入中...
搜尋中...
無符合項目
VBAT.h
1
7#ifndef MCXA153_56A377A9_538F_4A4D_B506_0F2F24672148
8#define MCXA153_56A377A9_538F_4A4D_B506_0F2F24672148
9
10/* ***************************************************************************************
11 * Include
12 */
13#include "mframe.h"
14
15//----------------------------------------------------------------------------------------
16#include "./../vbat/Mask.h"
17#include "./../vbat/Register.h"
18#include "./../vbat/Shift.h"
19
20//----------------------------------------------------------------------------------------
21
22/* ***************************************************************************************
23 * Namespace
24 */
25namespace mcxa153::chip::vbat {
26 class VBAT;
27 extern Register& VBAT0;
28} // namespace mcxa153::chip::vbat
29
30/* ***************************************************************************************
31 * Class/Interface/Struct/Enum
32 */
158 /* *************************************************************************************
159 * Variable
160 */
161
162 /* *************************************************************************************
163 * Abstract Method
164 */
165
166 /* *************************************************************************************
167 * Construct Method
168 */
169 protected:
174 virtual ~VBAT(void) override = default;
175
176 /* *************************************************************************************
177 * Operator Method
178 */
179
180 /* *************************************************************************************
181 * Override Method
182 */
183
184 /* *************************************************************************************
185 * Public Method
186 */
187
188 /* *************************************************************************************
189 * Protected Method
190 */
191
192 /* *************************************************************************************
193 * Private Method
194 */
195
196 /* *************************************************************************************
197 * Static Variable
198 */
199
200 /* *************************************************************************************
201 * Static Method
202 */
203 public:
209 static inline constexpr uint32 VERID_FEATURE(uint32 value) {
212 }
213
219 static inline constexpr uint32 VERID_MINOR(uint32 value) {
220 return ((value << +mcxa153::chip::vbat::Shift::VERID_MINOR) &
222 }
223
229 static inline constexpr uint32 VERID_MAJOR(uint32 value) {
230 return ((value << +mcxa153::chip::vbat::Shift::VERID_MAJOR) &
232 }
233
243 static inline constexpr uint32 FROCTLA_FRO_EN(uint32 value) {
246 }
247
257 static inline constexpr uint32 FROLCKA_LOCK(uint32 value) {
258 return ((value << +mcxa153::chip::vbat::Shift::FROLCKA_LOCK) &
260 }
261
267 static inline constexpr uint32 FROCLKE_CLKE(uint32 value) {
268 return ((value << +mcxa153::chip::vbat::Shift::FROCLKE_CLKE) &
270 }
271
277 static inline constexpr uint32 WAKEUP_WAKEUPA_REG(uint32 value) {
280 }
281
291 static inline constexpr uint32 WAKLCKA_LOCK(uint32 value) {
292 return ((value << +mcxa153::chip::vbat::Shift::WAKLCKA_LOCK) &
294 }
295};
296
297/* ***************************************************************************************
298 * End of file
299 */
300
301#endif /* MCXA153_56A377A9_538F_4A4D_B506_0F2F24672148 */
MCXA153 電池供電域 (VBAT) 控制介面
Definition VBAT.h:157
static constexpr uint32 VERID_MAJOR(uint32 value)
Version ID - MAJOR.
Definition VBAT.h:229
static constexpr uint32 WAKEUP_WAKEUPA_REG(uint32 value)
WAKEUP_WAKEUPA - REG.
Definition VBAT.h:277
static constexpr uint32 FROLCKA_LOCK(uint32 value)
FROCTLA - LOCK.
Definition VBAT.h:257
static constexpr uint32 FROCLKE_CLKE(uint32 value)
FROCTLA - CLKE.
Definition VBAT.h:267
static constexpr uint32 VERID_MINOR(uint32 value)
Version ID - MINOR.
Definition VBAT.h:219
static constexpr uint32 FROCTLA_FRO_EN(uint32 value)
FROCTLA - FRO_EN.
Definition VBAT.h:243
virtual ~VBAT(void) override=default
Destroy the object.
static constexpr uint32 VERID_FEATURE(uint32 value)
VERID - FEATURE.
Definition VBAT.h:209
static constexpr uint32 WAKLCKA_LOCK(uint32 value)
WAKLCKA - LOCK.
Definition VBAT.h:291
Definition NonInstantiable.h:29
Definition vbat/Mask.h:22
@ VERID_MINOR
VERID - MINOR.
@ FROCLKE_CLKE
FROCTLA - CLKE.
@ WAKLCKA_LOCK
WAKLCKA - LOCK.
@ VERID_FEATURE
VERID - FEATURE.
@ FROLCKA_LOCK
FROCTLA - LOCK.
@ FROCTLA_FRO_EN
FROCTLA - FRO_EN.
@ VERID_MAJOR
VERID - MAJOR.
@ WAKEUP_WAKEUPA_REG
WAKEUP_WAKEUPA - REG.
@ VERID_MINOR
Version ID - MINOR.
@ FROCLKE_CLKE
FROCTLA - CLKE.
@ WAKLCKA_LOCK
WAKLCKA - LOCK.
@ VERID_FEATURE
VERID - FEATURE.
@ FROLCKA_LOCK
FROCTLA - LOCK.
@ FROCTLA_FRO_EN
FROCTLA - FRO_EN.
@ VERID_MAJOR
Version ID - MAJOR.
@ WAKEUP_WAKEUPA_REG
WAKEUP_WAKEUPA - REG.
@ VBAT
VBAT群組 - 電池供電域控制,MCXA153低功耗核心功能 (10700-10799)