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 "./../Processor.h"
17#include "./../vbat/Mask.h"
18#include "./../vbat/Register.h"
19#include "./../vbat/Shift.h"
20
21//----------------------------------------------------------------------------------------
22
23/* ***************************************************************************************
24 * Namespace
25 */
26namespace mcxa153::chip::vbat {
27 class VBAT;
28 Register* const VBAT0 =
29 reinterpret_cast<Register*>(mcxa153::chip::Processor::BASE_VBAT0);
30
31 Register* const VBAT[] = {VBAT0};
32} // namespace mcxa153::chip::vbat
33
34/* ***************************************************************************************
35 * Class/Interface/Struct/Enum
36 */
162 /* *************************************************************************************
163 * Variable
164 */
165
166 /* *************************************************************************************
167 * Abstract Method
168 */
169
170 /* *************************************************************************************
171 * Construct Method
172 */
173 protected:
178 virtual ~VBAT(void) override = default;
179
180 /* *************************************************************************************
181 * Operator Method
182 */
183
184 /* *************************************************************************************
185 * Override Method
186 */
187
188 /* *************************************************************************************
189 * Public Method
190 */
191
192 /* *************************************************************************************
193 * Protected Method
194 */
195
196 /* *************************************************************************************
197 * Private Method
198 */
199
200 /* *************************************************************************************
201 * Static Variable
202 */
203
204 /* *************************************************************************************
205 * Static Method
206 */
207 public:
213 static inline constexpr uint32 VERID_FEATURE(uint32 value) {
216 }
217
223 static inline constexpr uint32 VERID_MINOR(uint32 value) {
224 return ((value << +mcxa153::chip::vbat::Shift::VERID_MINOR) &
226 }
227
233 static inline constexpr uint32 VERID_MAJOR(uint32 value) {
234 return ((value << +mcxa153::chip::vbat::Shift::VERID_MAJOR) &
236 }
237
247 static inline constexpr uint32 FROCTLA_FRO_EN(uint32 value) {
250 }
251
261 static inline constexpr uint32 FROLCKA_LOCK(uint32 value) {
262 return ((value << +mcxa153::chip::vbat::Shift::FROLCKA_LOCK) &
264 }
265
271 static inline constexpr uint32 FROCLKE_CLKE(uint32 value) {
272 return ((value << +mcxa153::chip::vbat::Shift::FROCLKE_CLKE) &
274 }
275
281 static inline constexpr uint32 WAKEUP_WAKEUPA_REG(uint32 value) {
284 }
285
295 static inline constexpr uint32 WAKLCKA_LOCK(uint32 value) {
296 return ((value << +mcxa153::chip::vbat::Shift::WAKLCKA_LOCK) &
298 }
299};
300
301/* ***************************************************************************************
302 * End of file
303 */
304
305#endif /* MCXA153_56A377A9_538F_4A4D_B506_0F2F24672148 */
static constexpr uint32 BASE_VBAT0
VBAT0 基地址 - 電池供電域控制器0 (0x40093000)
Definition Processor.h:231
MCXA153 電池供電域 (VBAT) 控制介面
Definition VBAT.h:161
static constexpr uint32 VERID_MAJOR(uint32 value)
Version ID - MAJOR.
Definition VBAT.h:233
static constexpr uint32 WAKEUP_WAKEUPA_REG(uint32 value)
WAKEUP_WAKEUPA - REG.
Definition VBAT.h:281
static constexpr uint32 FROLCKA_LOCK(uint32 value)
FROCTLA - LOCK.
Definition VBAT.h:261
static constexpr uint32 FROCLKE_CLKE(uint32 value)
FROCTLA - CLKE.
Definition VBAT.h:271
static constexpr uint32 VERID_MINOR(uint32 value)
Version ID - MINOR.
Definition VBAT.h:223
static constexpr uint32 FROCTLA_FRO_EN(uint32 value)
FROCTLA - FRO_EN.
Definition VBAT.h:247
virtual ~VBAT(void) override=default
Destroy the object.
static constexpr uint32 VERID_FEATURE(uint32 value)
VERID - FEATURE.
Definition VBAT.h:213
static constexpr uint32 WAKLCKA_LOCK(uint32 value)
WAKLCKA - LOCK.
Definition VBAT.h:295
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.