mFrame
載入中...
搜尋中...
無符合項目
SPC.h
1
7#ifndef MCXA153_2E3411A1_6370_44BE_84E2_32D911539D8F
8#define MCXA153_2E3411A1_6370_44BE_84E2_32D911539D8F
9
10/* ***************************************************************************************
11 * Include
12 */
13#include "mframe.h"
14
15//----------------------------------------------------------------------------------------
16#include "./../Processor.h"
17#include "./../spc/ActiveModeCoreLdoOption.h"
18#include "./../spc/ActiveModeRegulatorsConfig.h"
19#include "./../spc/AnalogModuleControl.h"
20#include "./../spc/BandgapMode.h"
21#include "./../spc/CoreLdoDriveStrength.h"
22#include "./../spc/CoreLdoVoltageLevel.h"
23#include "./../spc/CoreVoltageDetectConfig.h"
24#include "./../spc/Count.h"
25#include "./../spc/LowPowerModeCoreLdoOption.h"
26#include "./../spc/LowPowerModeRegulatorsConfig.h"
27#include "./../spc/LowPowerRequestConfig.h"
28#include "./../spc/LowPowerRequestOutputOverride.h"
29#include "./../spc/LowPowerRequestPinPolarity.h"
30#include "./../spc/LowVoltageLevelSelect.h"
31#include "./../spc/Mask.h"
32#include "./../spc/PowerDomainID.h"
33#include "./../spc/PowerDomainLowPowerMode.h"
34#include "./../spc/PowerDomains.h"
35#include "./../spc/Register.h"
36#include "./../spc/Shift.h"
37#include "./../spc/SramOperateVoltage.h"
38#include "./../spc/SramVoltageConfig.h"
39#include "./../spc/Status.h"
40#include "./../spc/SystemVoltageDetectConfig.h"
41#include "./../spc/VoltageDetectFlag.h"
42#include "./../spc/VoltageDetectOption.h"
43
44//----------------------------------------------------------------------------------------
45
46/* ***************************************************************************************
47 * Namespace
48 */
49namespace mcxa153::chip::spc {
50 class SPC;
51 Register* const SPC0 =
52 reinterpret_cast<Register*>(mcxa153::chip::Processor::BASE_SPC0);
53
54 Register* const SPC[] = {SPC0};
55} // namespace mcxa153::chip::spc
56
57/* ***************************************************************************************
58 * Class/Interface/Struct/Enum
59 */
177 /* *************************************************************************************
178 * Variable
179 */
180
181 /* *************************************************************************************
182 * Abstract Method
183 */
184
185 /* *************************************************************************************
186 * Construct Method
187 */
188 protected:
193 virtual ~SPC(void) override = default;
194
195 /* *************************************************************************************
196 * Operator Method
197 */
198
199 /* *************************************************************************************
200 * Override Method
201 */
202
203 /* *************************************************************************************
204 * Public Method
205 */
206
207 /* *************************************************************************************
208 * Protected Method
209 */
210
211 /* *************************************************************************************
212 * Private Method
213 */
214
215 /* *************************************************************************************
216 * Static Variable
217 */
218
219 /* *************************************************************************************
220 * Static Method
221 */
222 public:
235
247 static inline void clearPeriphIOIsolationFlag(Register* base) {
249 }
250
265 static inline bool getBusyStatusFlag(Register* base) {
266 return ((base->sc & +mcxa153::chip::spc::Mask::SC_BUSY) != 0UL);
267 }
268
288
294 static inline void clearLowPowerRequest(Register* base) {
296 }
297
306 static inline bool checkSwitchState(Register* base) {
307 return ((base->sc & +mcxa153::chip::spc::Mask::SC_SWITCH_STATE) != 0UL);
308 }
309
320 PowerDomainID powerDomainId);
321
333 PowerDomainID powerDomainId) {
334 return ((base->pd_status[+powerDomainId] &
337 }
338
346 PowerDomainID powerDomainId) {
348 }
349
357 static inline void trimSRAMLdoRefVoltage(Register* base, uint8 trimValue) {
358 base->sramretldo_reftrim = ((base->sramretldo_reftrim &
361 }
362
371 static inline void enableSRAMLdo(Register* base, bool enable) {
372 if (enable) {
374 } else {
376 }
377 }
378
387 static inline void retainSRAMArray(Register* base, uint8 mask) {
389 }
390
400 const LowPowerRequestConfig& config);
401
410 static inline void enableIntegratedPowerSwitchManually(Register* base, bool enable) {
411 if (enable) {
414 } else {
417 }
418 }
419
448 bool sleepGate,
449 bool wakeupUngate) {
450 uint32 tmp32 =
451 ((base->cfg) &
453
454 tmp32 |= SPC::CFG_INTG_PWSWTCH_SLEEP_EN(sleepGate) |
455 SPC::CFG_INTG_PWSWTCH_WKUP_EN(wakeupUngate);
456
457 base->cfg = tmp32;
458 }
459
467 static void setSRAMOperateVoltage(Register* base, const SramVoltageConfig& config);
468
479
486 static inline uint32 getActiveModeVoltageDetectStatus(Register* base) {
487 uint32 state;
488 state = base->active_cfg &
491 return state;
492 }
493
515
525
569 Register* base, const ActiveModeRegulatorsConfig& config);
570
578 static inline void enableActiveModeAnalogModules(Register* base, uint32 maskValue) {
579 base->active_cfg1 |= SPC::ACTIVE_CFG1_SOC_CNTRL(maskValue);
580 }
581
589 static inline void disableActiveModeAnalogModules(Register* base, uint32 maskValue) {
590 base->active_cfg1 &= ~SPC::ACTIVE_CFG1_SOC_CNTRL(maskValue);
591 }
592
600 static inline uint32 getActiveModeEnabledAnalogModules(Register* base) {
601 return base->active_cfg1;
602 }
603
615
622 static inline uint32 getLowPowerModeVoltageDetectStatus(Register* base) {
623 uint32 state;
624 state = base->lp_cfg &
626 return state;
627 }
628
641 static inline void enableLowPowerModeLowPowerIREF(Register* base, bool enable) {
642 if (enable) {
644 } else {
646 }
647 }
648
671
680 static inline void enableSRAMLdOLowPowerModeIREF(Register* base, bool enable) {
681 if (enable) {
683 } else {
685 }
686 }
687
695 static inline void setLowPowerWakeUpDelay(Register* base, uint16 delay) {
697 }
698
736 Register* base, const LowPowerModeRegulatorsConfig* config);
737
745 static inline void enableLowPowerModeAnalogModules(Register* base, uint32 maskValue) {
746 base->lp_cfg1 |= SPC::LP_CFG1_SOC_CNTRL(maskValue);
747 }
748
756 static inline void disableLowPowerModeAnalogModules(Register* base, uint32 maskValue) {
757 base->lp_cfg1 &= ~SPC::LP_CFG1_SOC_CNTRL(maskValue);
758 }
759
767 static inline uint32 getLowPowerModeEnabledAnalogModules(Register* base) {
768 return base->lp_cfg1;
769 }
770
777 static inline uint8 getVoltageDetectStatusFlag(Register* base) {
778 return static_cast<uint8>(base->vd_stat);
779 }
780
788 static inline void clearVoltageDetectStatusFlag(Register* base, uint8 mask) {
789 base->vd_stat |= mask;
790 }
791
803 const CoreVoltageDetectConfig& config);
804
813 static inline void lockCoreVoltageDetectResetSetting(Register* base) {
815 }
816
827 }
828
844 bool enable);
845
866 bool enable);
867
881
894 const SystemVoltageDetectConfig& config);
895
906 }
907
918 }
919
935 Register* base, bool enable);
936
952 bool enable);
953
970 Register* base, bool enable);
971
988 Register* base, bool enable);
989
1002 uint8 lowPowerIsoMask,
1003 uint8 IsoMask);
1004
1011 static inline uint8 getExternalDomainsStatus(Register* base) {
1012 return static_cast<uint8>(base->evd_cfg >> +Shift::EVD_CFG_REG_EVDSTAT);
1013 }
1014
1034 Register* base, const ActiveModeCoreLdoOption& option);
1035
1055 Register* base, CoreLdoVoltageLevel voltageLevel);
1056
1070
1085 Register* base, CoreLdoDriveStrength driveStrength);
1086
1099
1121 Register* base, const LowPowerModeCoreLdoOption& option);
1122
1145 Register* base, CoreLdoVoltageLevel voltageLevel);
1146
1157
1172 Register* base, CoreLdoDriveStrength driveStrength);
1173
1184
1194 static inline constexpr uint32 VERID_FEATURE(uint32 value) {
1195 return ((value << +mcxa153::chip::spc::Shift::VERID_FEATURE) &
1197 }
1198
1204 static inline constexpr uint32 VERID_MINOR(uint32 value) {
1205 return ((value << +mcxa153::chip::spc::Shift::VERID_MINOR) &
1207 }
1208
1214 static inline constexpr uint32 VERID_MAJOR(uint32 value) {
1215 return ((value << +mcxa153::chip::spc::Shift::VERID_MAJOR) &
1217 }
1218
1228 static inline constexpr uint32 SC_BUSY(uint32 value) {
1229 return ((value << +mcxa153::chip::spc::Shift::SC_BUSY) &
1231 }
1232
1247 static inline constexpr uint32 SC_SPC_LP_REQ(uint32 value) {
1248 return ((value << +mcxa153::chip::spc::Shift::SC_SPC_LP_REQ) &
1250 }
1251
1267 static inline constexpr uint32 SC_SPC_LP_MODE(uint32 value) {
1268 return ((value << +mcxa153::chip::spc::Shift::SC_SPC_LP_MODE) &
1270 }
1271
1277 static inline constexpr uint32 SC_ISO_CLR(uint32 value) {
1278 return ((value << +mcxa153::chip::spc::Shift::SC_ISO_CLR) &
1280 }
1281
1291 static inline constexpr uint32 SC_SWITCH_STATE(uint32 value) {
1292 return ((value << +mcxa153::chip::spc::Shift::SC_SWITCH_STATE) &
1294 }
1295
1305 static inline constexpr uint32 LPREQ_CFG_LPREQOE(uint32 value) {
1308 }
1309
1319 static inline constexpr uint32 LPREQ_CFG_LPREQPOL(uint32 value) {
1322 }
1323
1337 static inline constexpr uint32 LPREQ_CFG_LPREQOV(uint32 value) {
1340 }
1341
1351 static inline constexpr uint32 CFG_INTG_PWSWTCH_SLEEP_EN(uint32 value) {
1354 }
1355
1365 static inline constexpr uint32 CFG_INTG_PWSWTCH_WKUP_EN(uint32 value) {
1368 }
1369
1383
1397
1407 static inline constexpr uint32 PD_STATUS_PWR_REQ_STATUS(uint32 value) {
1410 }
1411
1421 static inline constexpr uint32 PD_STATUS_PD_LP_REQ(uint32 value) {
1424 }
1425
1441 static inline constexpr uint32 PD_STATUS_LP_MODE(uint32 value) {
1444 }
1445
1459 static inline constexpr uint32 SRAMCTL_VSM(uint32 value) {
1460 return ((value << +mcxa153::chip::spc::Shift::SRAMCTL_VSM) &
1462 }
1463
1473 static inline constexpr uint32 SRAMCTL_REQ(uint32 value) {
1474 return ((value << +mcxa153::chip::spc::Shift::SRAMCTL_REQ) &
1476 }
1477
1487 static inline constexpr uint32 SRAMCTL_ACK(uint32 value) {
1488 return ((value << +mcxa153::chip::spc::Shift::SRAMCTL_ACK) &
1490 }
1491
1497 static inline constexpr uint32 SRAMRETLDO_REFTRIM_REFTRIM(uint32 value) {
1500 }
1501
1511 static inline constexpr uint32 SRAMRETLDO_CNTRL_SRAMLDO_ON(uint32 value) {
1514 }
1515
1525
1535 static inline constexpr uint32 ACTIVE_CFG_CORELDO_VDD_DS(uint32 value) {
1538 }
1539
1553 static inline constexpr uint32 ACTIVE_CFG_CORELDO_VDD_LVL(uint32 value) {
1556 }
1557
1571 static inline constexpr uint32 ACTIVE_CFG_BGMODE(uint32 value) {
1574 }
1575
1585 static inline constexpr uint32 ACTIVE_CFG_VDD_VD_DISABLE(uint32 value) {
1588 }
1589
1599 static inline constexpr uint32 ACTIVE_CFG_CORE_LVDE(uint32 value) {
1602 }
1603
1613 static inline constexpr uint32 ACTIVE_CFG_SYS_LVDE(uint32 value) {
1616 }
1617
1627 static inline constexpr uint32 ACTIVE_CFG_SYS_HVDE(uint32 value) {
1630 }
1631
1637 static inline constexpr uint32 ACTIVE_CFG1_SOC_CNTRL(uint32 value) {
1640 }
1641
1651 static inline constexpr uint32 LP_CFG_CORELDO_VDD_DS(uint32 value) {
1654 }
1655
1670 static inline constexpr uint32 LP_CFG_CORELDO_VDD_LVL(uint32 value) {
1673 }
1674
1684 static inline constexpr uint32 LP_CFG_SRAMLDO_DPD_ON(uint32 value) {
1687 }
1688
1702 static inline constexpr uint32 LP_CFG_BGMODE(uint32 value) {
1703 return ((value << +mcxa153::chip::spc::Shift::LP_CFG_BGMODE) &
1705 }
1706
1716 static inline constexpr uint32 LP_CFG_LP_IREFEN(uint32 value) {
1719 }
1720
1730 static inline constexpr uint32 LP_CFG_CORE_LVDE(uint32 value) {
1733 }
1734
1744 static inline constexpr uint32 LP_CFG_SYS_LVDE(uint32 value) {
1745 return ((value << +mcxa153::chip::spc::Shift::LP_CFG_SYS_LVDE) &
1747 }
1748
1758 static inline constexpr uint32 LP_CFG_SYS_HVDE(uint32 value) {
1759 return ((value << +mcxa153::chip::spc::Shift::LP_CFG_SYS_HVDE) &
1761 }
1762
1768 static inline constexpr uint32 LP_CFG1_SOC_CNTRL(uint32 value) {
1771 }
1772
1778 static inline constexpr uint32 LPWKUP_DELAY_LPWKUP_DELAY(uint32 value) {
1781 }
1782
1788 static inline constexpr uint32 ACTIVE_VDELAY_ACTIVE_VDELAY(uint32 value) {
1791 }
1792
1806 static inline constexpr uint32 VD_STAT_COREVDD_LVDF(uint32 value) {
1809 }
1810
1824 static inline constexpr uint32 VD_STAT_SYSVDD_LVDF(uint32 value) {
1827 }
1828
1842 static inline constexpr uint32 VD_STAT_SYSVDD_HVDF(uint32 value) {
1845 }
1846
1856 static inline constexpr uint32 VD_CORE_CFG_LVDRE(uint32 value) {
1859 }
1860
1870 static inline constexpr uint32 VD_CORE_CFG_LVDIE(uint32 value) {
1873 }
1874
1884 static inline constexpr uint32 VD_CORE_CFG_LOCK(uint32 value) {
1887 }
1888
1898 static inline constexpr uint32 VD_SYS_CFG_LVDRE(uint32 value) {
1901 }
1902
1912 static inline constexpr uint32 VD_SYS_CFG_LVDIE(uint32 value) {
1915 }
1916
1926 static inline constexpr uint32 VD_SYS_CFG_HVDRE(uint32 value) {
1929 }
1930
1940 static inline constexpr uint32 VD_SYS_CFG_HVDIE(uint32 value) {
1943 }
1944
1954 static inline constexpr uint32 VD_SYS_CFG_LVSEL(uint32 value) {
1957 }
1958
1968 static inline constexpr uint32 VD_SYS_CFG_LOCK(uint32 value) {
1969 return ((value << +mcxa153::chip::spc::Shift::VD_SYS_CFG_LOCK) &
1971 }
1972
1978 static inline constexpr uint32 EVD_CFG_EVDISO(uint32 value) {
1979 return ((value << +mcxa153::chip::spc::Shift::EVD_CFG_EVDISO) &
1981 }
1982
1988 static inline constexpr uint32 EVD_CFG_EVDLPISO(uint32 value) {
1991 }
1992
1998 static inline constexpr uint32 EVD_CFG_EVDSTAT(uint32 value) {
1999 return ((value << +mcxa153::chip::spc::Shift::EVD_CFG_EVDSTAT) &
2001 }
2002
2003 static inline constexpr uint32 EVD_CFG_REG_EVDISO(uint32 value) {
2004 return value << +Shift::EVD_CFG_REG_EVDISO;
2005 }
2006
2007 static inline constexpr uint32 EVD_CFG_REG_EVDLPISO(uint32 value) {
2008 return value << +Shift::EVD_CFG_REG_EVDLPISO;
2009 }
2010
2011 static inline constexpr uint32 EVD_CFG_REG_EVDSTAT(uint32 value) {
2012 return value << +Shift::EVD_CFG_REG_EVDSTAT;
2013 }
2014};
2015
2016/* ***************************************************************************************
2017 * End of file
2018 */
2019
2020#endif /* MCXA153_2E3411A1_6370_44BE_84E2_32D911539D8F */
static constexpr uint32 BASE_SPC0
SPC0 基地址 - 系統電源控制器0 (0x40090000)
Definition Processor.h:233
MCXA153 系統電源控制器 (SPC) 管理介面
Definition SPC.h:176
static bool checkLowPowerReqest(Register *base)
Checks system low power request.
Definition SPC.h:284
static constexpr uint32 ACTIVE_CFG_CORELDO_VDD_DS(uint32 value)
ACTIVE_CFG - CORELDO_VDD_DS.
Definition SPC.h:1535
static constexpr uint32 VD_STAT_SYSVDD_LVDF(uint32 value)
VD_STAT - SYSVDD_LVDF.
Definition SPC.h:1824
static constexpr uint32 ACTIVE_VDELAY_ACTIVE_VDELAY(uint32 value)
ACTIVE_VDELAY - ACTIVE_VDELAY.
Definition SPC.h:1788
static void unlockCoreVoltageDetectResetSetting(Register *base)
Unlocks Core voltage detect reset setting.
Definition SPC.h:825
static constexpr uint32 LPREQ_CFG_LPREQOE(uint32 value)
LPREQ_CFG - LPREQOE.
Definition SPC.h:1305
static mcxa153::chip::spc::Status enableLowPowerModeSystemHighVoltageDetect(Register *base, bool enable)
Enables/Disables the System High Voltage Detector in Low Power mode.
static constexpr uint32 VD_CORE_CFG_LOCK(uint32 value)
VD_CORE_CFG - LOCK.
Definition SPC.h:1884
static constexpr uint32 LPREQ_CFG_LPREQOV(uint32 value)
LPREQ_CFG - LPREQOV.
Definition SPC.h:1337
static void setActiveModeVoltageTrimDelay(Register *base, uint16 delay)
Sets the delay when the regulators change voltage level in Active mode.
Definition SPC.h:522
static void enableIntegratedPowerSwitchManually(Register *base, bool enable)
Enables/disables the integrated power switch manually.
Definition SPC.h:410
static mcxa153::chip::spc::BandgapMode getLowPowerModeBandgapMode(Register *base)
Gets the Bandgap mode in Low Power mode.
Definition SPC.h:610
static void lockSystemVoltageDetectResetSetting(Register *base)
Lock System voltage detect reset setting.
Definition SPC.h:904
static void enableActiveModeAnalogModules(Register *base, uint32 maskValue)
Enables analog modules in active mode.
Definition SPC.h:578
static constexpr uint32 SRAMRETLDO_REFTRIM_REFTRIM(uint32 value)
SRAMRETLDO_REFTRIM - REFTRIM.
Definition SPC.h:1497
static bool checkPowerDomainLowPowerRequest(Register *base, PowerDomainID powerDomainId)
Checks power domain's low power request.
Definition SPC.h:332
static void clearVoltageDetectStatusFlag(Register *base, uint8 mask)
Clear Voltage Detect Status Flags.
Definition SPC.h:788
static constexpr uint32 VD_SYS_CFG_LVDRE(uint32 value)
VD_SYS_CFG - LVDRE.
Definition SPC.h:1898
static constexpr uint32 SC_BUSY(uint32 value)
SC - BUSY.
Definition SPC.h:1228
static uint8 getVoltageDetectStatusFlag(Register *base)
Get Voltage Detect Status Flags.
Definition SPC.h:777
static constexpr uint32 SC_SPC_LP_MODE(uint32 value)
SC - SPC_LP_MODE.
Definition SPC.h:1267
static constexpr uint32 PD_STATUS_PD_LP_REQ(uint32 value)
PD_STATUS - PD_LP_REQ.
Definition SPC.h:1421
static CoreLdoDriveStrength getLowPowerCoreLDOVDDDriveStrength(Register *base)
Gets CORE LDO VDD Drive Strength for Low Power modes.
Definition SPC.h:1180
static constexpr uint32 LP_CFG_LP_IREFEN(uint32 value)
LP_CFG - LP_IREFEN.
Definition SPC.h:1716
static mcxa153::chip::spc::Status setLowPowerModeCoreLDORegulatorDriveStrength(Register *base, CoreLdoDriveStrength driveStrength)
Set Core LDO VDD Regulator Drive Strength in Low power mode.
static void clearPeriphIOIsolationFlag(Register *base)
Clears peripherals and I/O pads isolation flags for each power domains.
Definition SPC.h:247
static mcxa153::chip::spc::Status setLowPowerModeRegulatorsConfig(Register *base, const LowPowerModeRegulatorsConfig *config)
Configs all settings of regulators in Low power mode at a time.
static void setSRAMOperateVoltage(Register *base, const SramVoltageConfig &config)
Set SRAM operate voltage.
static constexpr uint32 PD_STATUS_LP_MODE(uint32 value)
PD_STATUS - LP_MODE.
Definition SPC.h:1441
static constexpr uint32 VERID_MINOR(uint32 value)
VERID - MINOR.
Definition SPC.h:1204
static constexpr uint32 VERID_MAJOR(uint32 value)
VERID - MAJOR.
Definition SPC.h:1214
static constexpr uint32 SRAMRETLDO_CNTRL_SRAMLDO_ON(uint32 value)
SRAMRETLDO_CNTRL - SRAMLDO_ON.
Definition SPC.h:1511
static constexpr uint32 VD_STAT_SYSVDD_HVDF(uint32 value)
VD_STAT - SYSVDD_HVDF.
Definition SPC.h:1842
static constexpr uint32 SRAMCTL_REQ(uint32 value)
SRAMCTL - REQ.
Definition SPC.h:1473
static mcxa153::chip::spc::Status enableActiveModeSystemHighVoltageDetect(Register *base, bool enable)
Enables/Disables the System High Voltage Detector in Active mode.
static constexpr uint32 LP_CFG_SYS_LVDE(uint32 value)
LP_CFG - SYS_LVDE.
Definition SPC.h:1744
static mcxa153::chip::spc::Status setLowPowerModeCoreLDORegulatorConfig(Register *base, const LowPowerModeCoreLdoOption &option)
Configs CORE LDO Regulator in low power mode.
static mcxa153::chip::spc::Status setActiveModeCoreLDORegulatorConfig(Register *base, const ActiveModeCoreLdoOption &option)
Configs Core LDO Regulator in Active mode.
static mcxa153::chip::spc::Status setActiveModeRegulatorsConfig(Register *base, const ActiveModeRegulatorsConfig &config)
Configs all settings of regulators in Active mode at a time.
static constexpr uint32 LP_CFG_CORELDO_VDD_DS(uint32 value)
LP_CFG - CORELDO_VDD_DS.
Definition SPC.h:1651
static constexpr uint32 VD_CORE_CFG_LVDIE(uint32 value)
VD_CORE_CFG - LVDIE.
Definition SPC.h:1870
static void setLowPowerRequestConfig(Register *base, const LowPowerRequestConfig &config)
Configs Low power request output pin.
static constexpr uint32 ACTIVE_CFG_BGMODE(uint32 value)
ACTIVE_CFG - BGMODE.
Definition SPC.h:1571
static constexpr uint32 VD_SYS_CFG_LVDIE(uint32 value)
VD_SYS_CFG - LVDIE.
Definition SPC.h:1912
static constexpr uint32 ACTIVE_CFG_VDD_VD_DISABLE(uint32 value)
ACTIVE_CFG - VDD_VD_DISABLE.
Definition SPC.h:1585
static constexpr uint32 ACTIVE_CFG1_SOC_CNTRL(uint32 value)
ACTIVE_CFG1 - SOC_CNTRL.
Definition SPC.h:1637
static void enableLowPowerModeLowPowerIREF(Register *base, bool enable)
Enables/Disables Low Power IREF in low power modes.
Definition SPC.h:641
static void clearLowPowerRequest(Register *base)
Clears system low power request, set SPC in active mode.
Definition SPC.h:294
static void unlockSystemVoltageDetectResetSetting(Register *base)
Unlock System voltage detect reset setting.
Definition SPC.h:916
static uint32 getLowPowerModeVoltageDetectStatus(Register *base)
Gets the status of all voltage detectors in Low Power mode.
Definition SPC.h:622
static constexpr uint32 SC_SWITCH_STATE(uint32 value)
SC - SWITCH_STATE.
Definition SPC.h:1291
static mcxa153::chip::spc::Status enableActiveModeSystemLowVoltageDetect(Register *base, bool enable)
Enables/Disable the System Low Voltage Detector in Active mode.
static uint32 getLowPowerModeEnabledAnalogModules(Register *base)
Gets enabled analog modules that enabled in low power modes.
Definition SPC.h:767
static constexpr uint32 VD_CORE_CFG_LVDRE(uint32 value)
VD_CORE_CFG - LVDRE.
Definition SPC.h:1856
static constexpr uint32 VD_SYS_CFG_HVDIE(uint32 value)
VD_SYS_CFG - HVDIE.
Definition SPC.h:1940
static void clearPowerDomainLowPowerRequestFlag(Register *base, PowerDomainID powerDomainId)
Clears selected power domain's low power request flag.
Definition SPC.h:345
static constexpr uint32 LP_CFG_CORELDO_VDD_LVL(uint32 value)
LP_CFG - CORELDO_VDD_LVL.
Definition SPC.h:1670
static constexpr uint32 SRAMCTL_VSM(uint32 value)
SRAMCTL - VSM.
Definition SPC.h:1459
static mcxa153::chip::spc::Status setActiveModeBandgapModeConfig(Register *base, mcxa153::chip::spc::BandgapMode mode)
Configs Bandgap mode in Active mode.
static CoreLdoDriveStrength getActiveModeCoreLDODriveStrength(Register *base)
Gets CORE LDO VDD Regulator Drive Strength in Active mode.
Definition SPC.h:1094
static constexpr uint32 SC_SPC_LP_REQ(uint32 value)
SC - SPC_LP_REQ.
Definition SPC.h:1247
static void enableLowPowerModeAnalogModules(Register *base, uint32 maskValue)
Enables analog modules in low power modes.
Definition SPC.h:745
static constexpr uint32 EVD_CFG_EVDSTAT(uint32 value)
EVD_CFG - EVDSTAT.
Definition SPC.h:1998
static constexpr uint32 LP_CFG1_SOC_CNTRL(uint32 value)
LP_CFG1 - SOC_CNTRL.
Definition SPC.h:1768
static void setLowPowerWakeUpDelay(Register *base, uint16 delay)
Sets the delay when exit the low power modes.
Definition SPC.h:695
static mcxa153::chip::spc::Status setActiveModeCoreLDORegulatorDriveStrength(Register *base, CoreLdoDriveStrength driveStrength)
Set Core LDO VDD Regulator Drive Strength in Active mode.
static constexpr uint32 CFG_INTG_PWSWTCH_WKUP_ACTIVE_EN(uint32 value)
CFG - INTG_PWSWTCH_WKUP_ACTIVE_EN.
Definition SPC.h:1393
static uint8 getPeriphIOIsolationStatus(Register *base)
Gets Isolation status for each power domains.
static void enableSRAMLdOLowPowerModeIREF(Register *base, bool enable)
Enables/disables SRAM_LDO deep power low power IREF.
Definition SPC.h:680
static BandgapMode getActiveModeBandgapMode(Register *base)
Gets the Bandgap mode in Active mode.
Definition SPC.h:475
static void setExternalVoltageDomainsConfig(Register *base, uint8 lowPowerIsoMask, uint8 IsoMask)
Configs external voltage domains.
static mcxa153::chip::spc::Status enableLowPowerModeCoreLowVoltageDetect(Register *base, bool enable)
Enables/Disables the Core Low Voltage Detector in Low Power mode.
static constexpr uint32 EVD_CFG_EVDISO(uint32 value)
EVD_CFG - EVDISO.
Definition SPC.h:1978
static constexpr uint32 VD_SYS_CFG_LOCK(uint32 value)
VD_SYS_CFG - LOCK.
Definition SPC.h:1968
static void setSystemVoltageDetectConfig(Register *base, const SystemVoltageDetectConfig &config)
Configs SYS voltage detect options.
static void trimSRAMLdoRefVoltage(Register *base, uint8 trimValue)
Trims SRAM retention regulator reference voltage, trim step is 12 mV, range is around 0....
Definition SPC.h:357
static mcxa153::chip::spc::Status setLowPowerModeBandgapmodeConfig(Register *base, mcxa153::chip::spc::BandgapMode mode)
Configs Bandgap mode in Low Power mode.
static bool checkSwitchState(Register *base)
Checks whether the power switch is on.
Definition SPC.h:306
static void enableSRAMLdo(Register *base, bool enable)
Enables/disables SRAM retention LDO.
Definition SPC.h:371
static constexpr uint32 LPWKUP_DELAY_LPWKUP_DELAY(uint32 value)
LPWKUP_DELAY - LPWKUP_DELAY.
Definition SPC.h:1778
static constexpr uint32 ACTIVE_CFG_CORELDO_VDD_LVL(uint32 value)
ACTIVE_CFG - CORELDO_VDD_LVL.
Definition SPC.h:1553
static constexpr uint32 VERID_FEATURE(uint32 value)
VERID - FEATURE.
Definition SPC.h:1194
static constexpr uint32 ACTIVE_CFG_SYS_HVDE(uint32 value)
ACTIVE_CFG - SYS_HVDE.
Definition SPC.h:1627
static constexpr uint32 VD_SYS_CFG_HVDRE(uint32 value)
VD_SYS_CFG - HVDRE.
Definition SPC.h:1926
static uint32 getActiveModeVoltageDetectStatus(Register *base)
Gets all voltage detectors status in Active mode.
Definition SPC.h:486
static void lockCoreVoltageDetectResetSetting(Register *base)
Locks Core voltage detect reset setting.
Definition SPC.h:813
static CoreLdoVoltageLevel getLowPowerCoreLDOVDDVoltageLevel(Register *base)
Gets the CORE LDO VDD Regulator Voltage Level for Low Power modes.
Definition SPC.h:1153
static bool getBusyStatusFlag(Register *base)
Gets SPC busy status flag.
Definition SPC.h:265
static void retainSRAMArray(Register *base, uint8 mask)
Definition SPC.h:387
static void setCoreVoltageDetectConfig(Register *base, const CoreVoltageDetectConfig &config)
Configs CORE voltage detect options.
static constexpr uint32 CFG_INTG_PWSWTCH_SLEEP_ACTIVE_EN(uint32 value)
CFG - INTG_PWSWTCH_SLEEP_ACTIVE_EN.
Definition SPC.h:1379
static constexpr uint32 VD_SYS_CFG_LVSEL(uint32 value)
VD_SYS_CFG - LVSEL.
Definition SPC.h:1954
static constexpr uint32 SRAMCTL_ACK(uint32 value)
SRAMCTL - ACK.
Definition SPC.h:1487
static CoreLdoVoltageLevel getActiveModeCoreLDOVDDVoltageLevel(Register *base)
Gets CORE LDO Regulator Voltage level.
Definition SPC.h:1065
static mcxa153::chip::spc::Status enableActiveModeCoreLowVoltageDetect(Register *base, bool enable)
Enables/Disables the Core Low Voltage Detector in Active mode.
static void enableIntegratedPowerSwitchAutomatically(Register *base, bool sleepGate, bool wakeupUngate)
Enables/disables the integrated power switch automatically.
Definition SPC.h:447
static constexpr uint32 ACTIVE_CFG_SYS_LVDE(uint32 value)
ACTIVE_CFG - SYS_LVDE.
Definition SPC.h:1613
static uint8 getExternalDomainsStatus(Register *base)
Gets External Domains status.
Definition SPC.h:1011
static mcxa153::chip::spc::Status setLowPowerModeCoreLDORegulatorVoltageLevel(Register *base, CoreLdoVoltageLevel voltageLevel)
Set Core LDO VDD Regulator Voltage level in Low power mode.
static constexpr uint32 PD_STATUS_PWR_REQ_STATUS(uint32 value)
PD_STATUS - PWR_REQ_STATUS.
Definition SPC.h:1407
static constexpr uint32 ACTIVE_CFG_CORE_LVDE(uint32 value)
ACTIVE_CFG - CORE_LVDE.
Definition SPC.h:1599
static constexpr uint32 EVD_CFG_EVDLPISO(uint32 value)
EVD_CFG - EVDLPISO.
Definition SPC.h:1988
static constexpr uint32 LP_CFG_CORE_LVDE(uint32 value)
LP_CFG - CORE_LVDE.
Definition SPC.h:1730
virtual ~SPC(void) override=default
Destroy the object.
static uint32 getActiveModeEnabledAnalogModules(Register *base)
Gets enabled analog modules that enabled in active mode.
Definition SPC.h:600
static constexpr uint32 SC_ISO_CLR(uint32 value)
SC - ISO_CLR.
Definition SPC.h:1277
static constexpr uint32 SRAMRETLDO_CNTRL_SRAM_RET_EN(uint32 value)
SRAMRETLDO_CNTRL - SRAM_RET_EN.
Definition SPC.h:1521
static mcxa153::chip::spc::Status enableLowPowerModeSystemLowVoltageDetect(Register *base, bool enable)
Enables/Disables the System Low Voltage Detector in Low Power mode.
static constexpr uint32 CFG_INTG_PWSWTCH_WKUP_EN(uint32 value)
CFG - INTG_PWSWTCH_WKUP_EN.
Definition SPC.h:1365
static void setSystemVDDLowVoltageLevel(Register *base, LowVoltageLevelSelect level)
Set system VDD Low-voltage level selection.
static constexpr uint32 LP_CFG_SRAMLDO_DPD_ON(uint32 value)
LP_CFG - SRAMLDO_DPD_ON.
Definition SPC.h:1684
static constexpr uint32 CFG_INTG_PWSWTCH_SLEEP_EN(uint32 value)
CFG - INTG_PWSWTCH_SLEEP_EN.
Definition SPC.h:1351
static constexpr uint32 LP_CFG_SYS_HVDE(uint32 value)
LP_CFG - SYS_HVDE.
Definition SPC.h:1758
static PowerDomainLowPowerMode getPowerDomainLowPowerMode(Register *base, PowerDomainID powerDomainId)
Gets selected power domain's requested low power mode.
static constexpr uint32 LP_CFG_BGMODE(uint32 value)
LP_CFG - BGMODE.
Definition SPC.h:1702
static mcxa153::chip::spc::Status setActiveModeCoreLDORegulatorVoltageLevel(Register *base, CoreLdoVoltageLevel voltageLevel)
Set Core LDO Regulator Voltage level in Active mode.
static constexpr uint32 VD_STAT_COREVDD_LVDF(uint32 value)
VD_STAT - COREVDD_LVDF.
Definition SPC.h:1806
static constexpr uint32 LPREQ_CFG_LPREQPOL(uint32 value)
LPREQ_CFG - LPREQPOL.
Definition SPC.h:1319
static void disableActiveModeAnalogModules(Register *base, uint32 maskValue)
Disables analog modules in active mode.
Definition SPC.h:589
static void disableLowPowerModeAnalogModules(Register *base, uint32 maskValue)
Disables analog modules in low power modes.
Definition SPC.h:756
Definition NonInstantiable.h:29
void delay(int milliseconds) const
延遲指定的毫秒數進行執行緒等待
Definition ActiveModeCoreLdoOption.h:24
Status
System Power Controller (SPC) Status Enumeration.
Definition spc/Status.h:64
@ LP_CFG_CORE_LVDE
LP_CFG - CORE_LVDE.
@ VD_SYS_CFG_LOCK
VD_SYS_CFG - LOCK.
@ VD_STAT_SYSVDD_LVDF
VD_STAT - SYSVDD_LVDF.
@ EVD_CFG_EVDISO
EVD_CFG - EVDISO.
@ CFG_INTG_PWSWTCH_SLEEP_EN
CFG - INTG_PWSWTCH_SLEEP_EN.
@ VD_SYS_CFG_HVDIE
VD_SYS_CFG - HVDIE.
@ VERID_MINOR
VERID - MINOR.
@ LPREQ_CFG_LPREQOE
LPREQ_CFG - LPREQOE.
@ LP_CFG_SYS_HVDE
LP_CFG - SYS_HVDE.
@ VD_SYS_CFG_LVDIE
VD_SYS_CFG - LVDIE.
@ PD_STATUS_PD_LP_REQ
PD_STATUS - PD_LP_REQ.
@ PD_STATUS_LP_MODE
PD_STATUS - LP_MODE.
@ VD_STAT_COREVDD_LVDF
VD_STAT - COREVDD_LVDF.
@ VD_CORE_CFG_LVDRE
VD_CORE_CFG - LVDRE.
@ VD_SYS_CFG_LVSEL
VD_SYS_CFG - LVSEL.
@ LP_CFG_SRAMLDO_DPD_ON
LP_CFG - SRAMLDO_DPD_ON.
@ VD_SYS_CFG_HVDRE
VD_SYS_CFG - HVDRE.
@ ACTIVE_CFG_CORELDO_VDD_DS
ACTIVE_CFG - CORELDO_VDD_DS.
@ LP_CFG_SYS_LVDE
LP_CFG - SYS_LVDE.
@ SRAMRETLDO_CNTRL_SRAM_RET_EN
SRAMRETLDO_CNTRL - SRAM_RET_EN.
@ CFG_INTG_PWSWTCH_WKUP_ACTIVE_EN
CFG - INTG_PWSWTCH_WKUP_ACTIVE_EN.
@ VERID_FEATURE
VERID - FEATURE.
@ ACTIVE_CFG_CORELDO_VDD_LVL
ACTIVE_CFG - CORELDO_VDD_LVL.
@ SRAMCTL_VSM
SRAMCTL - VSM.
@ LP_CFG_CORELDO_VDD_LVL
LP_CFG - CORELDO_VDD_LVL.
@ LP_CFG_BGMODE
LP_CFG - BGMODE.
@ SC_SPC_LP_REQ
SC - SPC_LP_REQ.
@ EVD_CFG_EVDLPISO
EVD_CFG - EVDLPISO.
@ CFG_INTG_PWSWTCH_WKUP_EN
CFG - INTG_PWSWTCH_WKUP_EN.
@ SRAMCTL_ACK
SRAMCTL - ACK.
@ LPREQ_CFG_LPREQPOL
LPREQ_CFG - LPREQPOL.
@ ACTIVE_CFG_CORE_LVDE
ACTIVE_CFG - CORE_LVDE.
@ SRAMRETLDO_CNTRL_SRAMLDO_ON
SRAMRETLDO_CNTRL - SRAMLDO_ON.
@ LPREQ_CFG_LPREQOV
LPREQ_CFG - LPREQOV.
@ LP_CFG_CORELDO_VDD_DS
LP_CFG - CORELDO_VDD_DS.
@ VD_CORE_CFG_LVDIE
VD_CORE_CFG - LVDIE.
@ SRAMCTL_REQ
SRAMCTL - REQ.
@ VD_CORE_CFG_LOCK
VD_CORE_CFG - LOCK.
@ PD_STATUS_PWR_REQ_STATUS
PD_STATUS - PWR_REQ_STATUS.
@ VERID_MAJOR
VERID - MAJOR.
@ ACTIVE_VDELAY_ACTIVE_VDELAY
ACTIVE_VDELAY - ACTIVE_VDELAY.
@ CFG_INTG_PWSWTCH_SLEEP_ACTIVE_EN
CFG - INTG_PWSWTCH_SLEEP_ACTIVE_EN.
@ SC_SPC_LP_MODE
SC - SPC_LP_MODE.
@ ACTIVE_CFG1_SOC_CNTRL
ACTIVE_CFG1 - SOC_CNTRL.
@ LP_CFG1_SOC_CNTRL
LP_CFG1 - SOC_CNTRL.
@ SC_ISO_CLR
SC - ISO_CLR.
@ LPWKUP_DELAY_LPWKUP_DELAY
LPWKUP_DELAY - LPWKUP_DELAY.
@ ACTIVE_CFG_BGMODE
ACTIVE_CFG - BGMODE.
@ SC_SWITCH_STATE
SC - SWITCH_STATE.
@ ACTIVE_CFG_SYS_LVDE
ACTIVE_CFG - SYS_LVDE.
@ LP_CFG_LP_IREFEN
LP_CFG - LP_IREFEN.
@ ACTIVE_CFG_SYS_HVDE
ACTIVE_CFG - SYS_HVDE.
@ VD_STAT_SYSVDD_HVDF
VD_STAT - SYSVDD_HVDF.
@ VD_SYS_CFG_LVDRE
VD_SYS_CFG - LVDRE.
@ ACTIVE_CFG_VDD_VD_DISABLE
ACTIVE_CFG - VDD_VD_DISABLE.
@ SRAMRETLDO_REFTRIM_REFTRIM
SRAMRETLDO_REFTRIM - REFTRIM.
@ EVD_CFG_EVDSTAT
EVD_CFG - EVDSTAT.
CoreLdoVoltageLevel
Core LDO Voltage Level Enumeration.
Definition CoreLdoVoltageLevel.h:65
BandgapMode
Bandgap Mode Enumeration.
Definition BandgapMode.h:64
CoreLdoDriveStrength
Core LDO Drive Strength Enumeration Enumeration for configuring the drive strength of the Core LDO (L...
Definition CoreLdoDriveStrength.h:59
LowVoltageLevelSelect
Low Voltage Detection (LVD) Threshold Level Selection.
Definition LowVoltageLevelSelect.h:66
PowerDomainLowPowerMode
Power Domain Low Power Mode Enumeration.
Definition PowerDomainLowPowerMode.h:53
@ LP_CFG_CORE_LVDE
LP_CFG - CORE_LVDE.
@ VD_SYS_CFG_LOCK
VD_SYS_CFG - LOCK.
@ VD_STAT_SYSVDD_LVDF
VD_STAT - SYSVDD_LVDF.
@ EVD_CFG_EVDISO
EVD_CFG - EVDISO.
@ CFG_INTG_PWSWTCH_SLEEP_EN
CFG - INTG_PWSWTCH_SLEEP_EN.
@ VD_SYS_CFG_HVDIE
VD_SYS_CFG - HVDIE.
@ VERID_MINOR
VERID - MINOR.
@ LPREQ_CFG_LPREQOE
LPREQ_CFG - LPREQOE.
@ LP_CFG_SYS_HVDE
LP_CFG - SYS_HVDE.
@ VD_SYS_CFG_LVDIE
VD_SYS_CFG - LVDIE.
@ PD_STATUS_PD_LP_REQ
PD_STATUS - PD_LP_REQ.
@ PD_STATUS_LP_MODE
PD_STATUS - LP_MODE.
@ VD_STAT_COREVDD_LVDF
VD_STAT - COREVDD_LVDF.
@ VD_CORE_CFG_LVDRE
VD_CORE_CFG - LVDRE.
@ VD_SYS_CFG_LVSEL
VD_SYS_CFG - LVSEL.
@ LP_CFG_SRAMLDO_DPD_ON
LP_CFG - SRAMLDO_DPD_ON.
@ VD_SYS_CFG_HVDRE
VD_SYS_CFG - HVDRE.
@ ACTIVE_CFG_CORELDO_VDD_DS
ACTIVE_CFG - CORELDO_VDD_DS.
@ LP_CFG_SYS_LVDE
LP_CFG - SYS_LVDE.
@ SRAMRETLDO_CNTRL_SRAM_RET_EN
SRAMRETLDO_CNTRL - SRAM_RET_EN.
@ CFG_INTG_PWSWTCH_WKUP_ACTIVE_EN
CFG - INTG_PWSWTCH_WKUP_ACTIVE_EN.
@ VERID_FEATURE
VERID - FEATURE.
@ ACTIVE_CFG_CORELDO_VDD_LVL
ACTIVE_CFG - CORELDO_VDD_LVL.
@ SRAMCTL_VSM
SRAMCTL - VSM.
@ LP_CFG_CORELDO_VDD_LVL
LP_CFG - CORELDO_VDD_LVL.
@ LP_CFG_BGMODE
LP_CFG - BGMODE.
@ SC_SPC_LP_REQ
SC - SPC_LP_REQ.
@ EVD_CFG_EVDLPISO
EVD_CFG - EVDLPISO.
@ CFG_INTG_PWSWTCH_WKUP_EN
CFG - INTG_PWSWTCH_WKUP_EN.
@ SRAMCTL_ACK
SRAMCTL - ACK.
@ LPREQ_CFG_LPREQPOL
LPREQ_CFG - LPREQPOL.
@ ACTIVE_CFG_CORE_LVDE
ACTIVE_CFG - CORE_LVDE.
@ SRAMRETLDO_CNTRL_SRAMLDO_ON
SRAMRETLDO_CNTRL - SRAMLDO_ON.
@ LPREQ_CFG_LPREQOV
LPREQ_CFG - LPREQOV.
@ LP_CFG_CORELDO_VDD_DS
LP_CFG - CORELDO_VDD_DS.
@ VD_CORE_CFG_LVDIE
VD_CORE_CFG - LVDIE.
@ SRAMCTL_REQ
SRAMCTL - REQ.
@ VD_CORE_CFG_LOCK
VD_CORE_CFG - LOCK.
@ PD_STATUS_PWR_REQ_STATUS
PD_STATUS - PWR_REQ_STATUS.
@ VERID_MAJOR
VERID - MAJOR.
@ ACTIVE_VDELAY_ACTIVE_VDELAY
ACTIVE_VDELAY - ACTIVE_VDELAY.
@ CFG_INTG_PWSWTCH_SLEEP_ACTIVE_EN
CFG - INTG_PWSWTCH_SLEEP_ACTIVE_EN.
@ SC_SPC_LP_MODE
SC - SPC_LP_MODE.
@ ACTIVE_CFG1_SOC_CNTRL
ACTIVE_CFG1 - SOC_CNTRL.
@ LP_CFG1_SOC_CNTRL
LP_CFG1 - SOC_CNTRL.
@ SC_ISO_CLR
SC - ISO_CLR.
@ LPWKUP_DELAY_LPWKUP_DELAY
LPWKUP_DELAY - LPWKUP_DELAY.
@ ACTIVE_CFG_BGMODE
ACTIVE_CFG - BGMODE.
@ SC_SWITCH_STATE
SC - SWITCH_STATE.
@ ACTIVE_CFG_SYS_LVDE
ACTIVE_CFG - SYS_LVDE.
@ LP_CFG_LP_IREFEN
LP_CFG - LP_IREFEN.
@ ACTIVE_CFG_SYS_HVDE
ACTIVE_CFG - SYS_HVDE.
@ VD_STAT_SYSVDD_HVDF
VD_STAT - SYSVDD_HVDF.
@ VD_SYS_CFG_LVDRE
VD_SYS_CFG - LVDRE.
@ ACTIVE_CFG_VDD_VD_DISABLE
ACTIVE_CFG - VDD_VD_DISABLE.
@ SRAMRETLDO_REFTRIM_REFTRIM
SRAMRETLDO_REFTRIM - REFTRIM.
@ EVD_CFG_EVDSTAT
EVD_CFG - EVDSTAT.
PowerDomainID
Power Domain Identifier Enumeration.
Definition PowerDomainID.h:57
Active Mode Core LDO Option Configuration.
Definition ActiveModeCoreLdoOption.h:43
Active Mode Regulators Configuration.
Definition ActiveModeRegulatorsConfig.h:43
Core Voltage Detect Configuration This structure defines the configuration for core voltage detection...
Definition CoreVoltageDetectConfig.h:42
Low Power Mode Core LDO Option Configuration This structure defines the configuration options for the...
Definition LowPowerModeCoreLdoOption.h:52
Definition LowPowerModeRegulatorsConfig.h:164
Low Power Request output pin configuration.
Definition LowPowerRequestConfig.h:200
System Power Controller (SPC) Register Structure.
Definition spc/Register.h:61
__IO uint32 cfg
SPC Configuration Register.
Definition spc/Register.h:106
__IO uint32 active_cfg
Active Power Mode Configuration Register.
Definition spc/Register.h:174
__IO uint32 vd_stat
Voltage Detect Status Register.
Definition spc/Register.h:236
__IO uint32 vd_sys_cfg
System Voltage Detect Configuration Register.
Definition spc/Register.h:252
__IO uint32 lp_cfg1
Low Power Mode Configuration 1 Register.
Definition spc/Register.h:198
__IO uint32 sramretldo_reftrim
SRAM Retention Reference Trim Register.
Definition spc/Register.h:151
__IO uint32 evd_cfg
External Voltage Domain Configuration Register.
Definition spc/Register.h:267
__IO uint32 active_cfg1
Active Power Mode Configuration 1 Register.
Definition spc/Register.h:182
__IO uint32 pd_status[1]
Power Domain Status Register Array.
Definition spc/Register.h:121
__IO uint32 sc
Status Control Register.
Definition spc/Register.h:83
__IO uint32 vd_core_cfg
Core Voltage Detect Configuration Register.
Definition spc/Register.h:244
__IO uint32 active_vdelay
Active Voltage Trim Delay Register.
Definition spc/Register.h:221
__IO uint32 lp_cfg
Low Power Mode Configuration Register.
Definition spc/Register.h:190
__IO uint32 lpwkup_delay
Low Power Wake-Up Delay Register.
Definition spc/Register.h:213
__IO uint32 sramretldo_cntrl
SRAM Retention LDO Control Register.
Definition spc/Register.h:159
SRAM Voltage Configuration Structure.
Definition SramVoltageConfig.h:61
System Voltage Detection Configuration Structure.
Definition SystemVoltageDetectConfig.h:66