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 "./../spc/ActiveModeCoreLdoOption.h"
17#include "./../spc/ActiveModeRegulatorsConfig.h"
18#include "./../spc/AnalogModuleControl.h"
19#include "./../spc/BandgapMode.h"
20#include "./../spc/CoreLdoDriveStrength.h"
21#include "./../spc/CoreLdoVoltageLevel.h"
22#include "./../spc/CoreVoltageDetectConfig.h"
23#include "./../spc/Count.h"
24#include "./../spc/LowPowerModeCoreLdoOption.h"
25#include "./../spc/LowPowerModeRegulatorsConfig.h"
26#include "./../spc/LowPowerRequestConfig.h"
27#include "./../spc/LowPowerRequestOutputOverride.h"
28#include "./../spc/LowPowerRequestPinPolarity.h"
29#include "./../spc/LowVoltageLevelSelect.h"
30#include "./../spc/Mask.h"
31#include "./../spc/PowerDomainID.h"
32#include "./../spc/PowerDomainLowPowerMode.h"
33#include "./../spc/PowerDomains.h"
34#include "./../spc/Register.h"
35#include "./../spc/Shift.h"
36#include "./../spc/SramOperateVoltage.h"
37#include "./../spc/SramVoltageConfig.h"
38#include "./../spc/Status.h"
39#include "./../spc/SystemVoltageDetectConfig.h"
40#include "./../spc/VoltageDetectFlag.h"
41#include "./../spc/VoltageDetectOption.h"
42
43//----------------------------------------------------------------------------------------
44
45/* ***************************************************************************************
46 * Namespace
47 */
48namespace mcxa153::chip::spc {
49 class SPC;
50 extern Register& SPC0;
51} // namespace mcxa153::chip::spc
52
53/* ***************************************************************************************
54 * Class/Interface/Struct/Enum
55 */
173 /* *************************************************************************************
174 * Variable
175 */
176
177 /* *************************************************************************************
178 * Abstract Method
179 */
180
181 /* *************************************************************************************
182 * Construct Method
183 */
184 protected:
189 virtual ~SPC(void) override = default;
190
191 /* *************************************************************************************
192 * Operator Method
193 */
194
195 /* *************************************************************************************
196 * Override Method
197 */
198
199 /* *************************************************************************************
200 * Public Method
201 */
202
203 /* *************************************************************************************
204 * Protected Method
205 */
206
207 /* *************************************************************************************
208 * Private Method
209 */
210
211 /* *************************************************************************************
212 * Static Variable
213 */
214
215 /* *************************************************************************************
216 * Static Method
217 */
218 public:
231
243 static inline void clearPeriphIOIsolationFlag(Register& base) {
245 }
246
261 static inline bool getBusyStatusFlag(Register& base) {
262 return ((base.sc & +mcxa153::chip::spc::Mask::SC_BUSY) != 0UL);
263 }
264
284
290 static inline void clearLowPowerRequest(Register& base) {
292 }
293
302 static inline bool checkSwitchState(Register& base) {
303 return ((base.sc & +mcxa153::chip::spc::Mask::SC_SWITCH_STATE) != 0UL);
304 }
305
316 PowerDomainID powerDomainId);
317
329 PowerDomainID powerDomainId) {
330 return ((base.pd_status[+powerDomainId] &
333 }
334
342 PowerDomainID powerDomainId) {
344 }
345
353 static inline void trimSRAMLdoRefVoltage(Register& base, uint8 trimValue) {
357 }
358
367 static inline void enableSRAMLdo(Register& base, bool enable) {
368 if (enable) {
370 } else {
372 }
373 }
374
383 static inline void retainSRAMArray(Register& base, uint8 mask) {
385 }
386
396 const LowPowerRequestConfig& config);
397
406 static inline void enableIntegratedPowerSwitchManually(Register& base, bool enable) {
407 if (enable) {
410 } else {
413 }
414 }
415
444 bool sleepGate,
445 bool wakeupUngate) {
446 uint32 tmp32 =
447 ((base.cfg) &
449
450 tmp32 |= SPC::CFG_INTG_PWSWTCH_SLEEP_EN(sleepGate) |
451 SPC::CFG_INTG_PWSWTCH_WKUP_EN(wakeupUngate);
452
453 base.cfg = tmp32;
454 }
455
463 static void setSRAMOperateVoltage(Register& base, const SramVoltageConfig& config);
464
475
482 static inline uint32 getActiveModeVoltageDetectStatus(Register& base) {
483 uint32 state;
484 state = base.active_cfg &
487 return state;
488 }
489
511
521
565 Register& base, const ActiveModeRegulatorsConfig& config);
566
574 static inline void enableActiveModeAnalogModules(Register& base, uint32 maskValue) {
575 base.active_cfg1 |= SPC::ACTIVE_CFG1_SOC_CNTRL(maskValue);
576 }
577
585 static inline void disableActiveModeAnalogModules(Register& base, uint32 maskValue) {
586 base.active_cfg1 &= ~SPC::ACTIVE_CFG1_SOC_CNTRL(maskValue);
587 }
588
596 static inline uint32 getActiveModeEnabledAnalogModules(Register& base) {
597 return base.active_cfg1;
598 }
599
611
618 static inline uint32 getLowPowerModeVoltageDetectStatus(Register& base) {
619 uint32 state;
620 state = base.lp_cfg &
622 return state;
623 }
624
637 static inline void enableLowPowerModeLowPowerIREF(Register& base, bool enable) {
638 if (enable) {
640 } else {
642 }
643 }
644
667
676 static inline void enableSRAMLdOLowPowerModeIREF(Register& base, bool enable) {
677 if (enable) {
679 } else {
681 }
682 }
683
691 static inline void setLowPowerWakeUpDelay(Register& base, uint16 delay) {
693 }
694
732 Register& base, const LowPowerModeRegulatorsConfig* config);
733
741 static inline void enableLowPowerModeAnalogModules(Register& base, uint32 maskValue) {
742 base.lp_cfg1 |= SPC::LP_CFG1_SOC_CNTRL(maskValue);
743 }
744
752 static inline void disableLowPowerModeAnalogModules(Register& base, uint32 maskValue) {
753 base.lp_cfg1 &= ~SPC::LP_CFG1_SOC_CNTRL(maskValue);
754 }
755
763 static inline uint32 getLowPowerModeEnabledAnalogModules(Register& base) {
764 return base.lp_cfg1;
765 }
766
773 static inline uint8 getVoltageDetectStatusFlag(Register& base) {
774 return static_cast<uint8>(base.vd_stat);
775 }
776
784 static inline void clearVoltageDetectStatusFlag(Register& base, uint8 mask) {
785 base.vd_stat |= mask;
786 }
787
799 const CoreVoltageDetectConfig& config);
800
809 static inline void lockCoreVoltageDetectResetSetting(Register& base) {
811 }
812
823 }
824
840 bool enable);
841
862 bool enable);
863
877
890 const SystemVoltageDetectConfig& config);
891
902 }
903
914 }
915
931 Register& base, bool enable);
932
948 bool enable);
949
966 Register& base, bool enable);
967
984 Register& base, bool enable);
985
998 uint8 lowPowerIsoMask,
999 uint8 IsoMask);
1000
1007 static inline uint8 getExternalDomainsStatus(Register& base) {
1008 return static_cast<uint8>(base.evd_cfg >> +Shift::EVD_CFG_REG_EVDSTAT);
1009 }
1010
1030 Register& base, const ActiveModeCoreLdoOption& option);
1031
1051 Register& base, CoreLdoVoltageLevel voltageLevel);
1052
1066
1081 Register& base, CoreLdoDriveStrength driveStrength);
1082
1095
1117 Register& base, const LowPowerModeCoreLdoOption& option);
1118
1141 Register& base, CoreLdoVoltageLevel voltageLevel);
1142
1153
1168 Register& base, CoreLdoDriveStrength driveStrength);
1169
1180
1190 static inline constexpr uint32 VERID_FEATURE(uint32 value) {
1191 return ((value << +mcxa153::chip::spc::Shift::VERID_FEATURE) &
1193 }
1194
1200 static inline constexpr uint32 VERID_MINOR(uint32 value) {
1201 return ((value << +mcxa153::chip::spc::Shift::VERID_MINOR) &
1203 }
1204
1210 static inline constexpr uint32 VERID_MAJOR(uint32 value) {
1211 return ((value << +mcxa153::chip::spc::Shift::VERID_MAJOR) &
1213 }
1214
1224 static inline constexpr uint32 SC_BUSY(uint32 value) {
1225 return ((value << +mcxa153::chip::spc::Shift::SC_BUSY) &
1227 }
1228
1243 static inline constexpr uint32 SC_SPC_LP_REQ(uint32 value) {
1244 return ((value << +mcxa153::chip::spc::Shift::SC_SPC_LP_REQ) &
1246 }
1247
1263 static inline constexpr uint32 SC_SPC_LP_MODE(uint32 value) {
1264 return ((value << +mcxa153::chip::spc::Shift::SC_SPC_LP_MODE) &
1266 }
1267
1273 static inline constexpr uint32 SC_ISO_CLR(uint32 value) {
1274 return ((value << +mcxa153::chip::spc::Shift::SC_ISO_CLR) &
1276 }
1277
1287 static inline constexpr uint32 SC_SWITCH_STATE(uint32 value) {
1288 return ((value << +mcxa153::chip::spc::Shift::SC_SWITCH_STATE) &
1290 }
1291
1301 static inline constexpr uint32 LPREQ_CFG_LPREQOE(uint32 value) {
1304 }
1305
1315 static inline constexpr uint32 LPREQ_CFG_LPREQPOL(uint32 value) {
1318 }
1319
1333 static inline constexpr uint32 LPREQ_CFG_LPREQOV(uint32 value) {
1336 }
1337
1347 static inline constexpr uint32 CFG_INTG_PWSWTCH_SLEEP_EN(uint32 value) {
1350 }
1351
1361 static inline constexpr uint32 CFG_INTG_PWSWTCH_WKUP_EN(uint32 value) {
1364 }
1365
1379
1393
1403 static inline constexpr uint32 PD_STATUS_PWR_REQ_STATUS(uint32 value) {
1406 }
1407
1417 static inline constexpr uint32 PD_STATUS_PD_LP_REQ(uint32 value) {
1420 }
1421
1437 static inline constexpr uint32 PD_STATUS_LP_MODE(uint32 value) {
1440 }
1441
1455 static inline constexpr uint32 SRAMCTL_VSM(uint32 value) {
1456 return ((value << +mcxa153::chip::spc::Shift::SRAMCTL_VSM) &
1458 }
1459
1469 static inline constexpr uint32 SRAMCTL_REQ(uint32 value) {
1470 return ((value << +mcxa153::chip::spc::Shift::SRAMCTL_REQ) &
1472 }
1473
1483 static inline constexpr uint32 SRAMCTL_ACK(uint32 value) {
1484 return ((value << +mcxa153::chip::spc::Shift::SRAMCTL_ACK) &
1486 }
1487
1493 static inline constexpr uint32 SRAMRETLDO_REFTRIM_REFTRIM(uint32 value) {
1496 }
1497
1507 static inline constexpr uint32 SRAMRETLDO_CNTRL_SRAMLDO_ON(uint32 value) {
1510 }
1511
1521
1531 static inline constexpr uint32 ACTIVE_CFG_CORELDO_VDD_DS(uint32 value) {
1534 }
1535
1549 static inline constexpr uint32 ACTIVE_CFG_CORELDO_VDD_LVL(uint32 value) {
1552 }
1553
1567 static inline constexpr uint32 ACTIVE_CFG_BGMODE(uint32 value) {
1570 }
1571
1581 static inline constexpr uint32 ACTIVE_CFG_VDD_VD_DISABLE(uint32 value) {
1584 }
1585
1595 static inline constexpr uint32 ACTIVE_CFG_CORE_LVDE(uint32 value) {
1598 }
1599
1609 static inline constexpr uint32 ACTIVE_CFG_SYS_LVDE(uint32 value) {
1612 }
1613
1623 static inline constexpr uint32 ACTIVE_CFG_SYS_HVDE(uint32 value) {
1626 }
1627
1633 static inline constexpr uint32 ACTIVE_CFG1_SOC_CNTRL(uint32 value) {
1636 }
1637
1647 static inline constexpr uint32 LP_CFG_CORELDO_VDD_DS(uint32 value) {
1650 }
1651
1666 static inline constexpr uint32 LP_CFG_CORELDO_VDD_LVL(uint32 value) {
1669 }
1670
1680 static inline constexpr uint32 LP_CFG_SRAMLDO_DPD_ON(uint32 value) {
1683 }
1684
1698 static inline constexpr uint32 LP_CFG_BGMODE(uint32 value) {
1699 return ((value << +mcxa153::chip::spc::Shift::LP_CFG_BGMODE) &
1701 }
1702
1712 static inline constexpr uint32 LP_CFG_LP_IREFEN(uint32 value) {
1715 }
1716
1726 static inline constexpr uint32 LP_CFG_CORE_LVDE(uint32 value) {
1729 }
1730
1740 static inline constexpr uint32 LP_CFG_SYS_LVDE(uint32 value) {
1741 return ((value << +mcxa153::chip::spc::Shift::LP_CFG_SYS_LVDE) &
1743 }
1744
1754 static inline constexpr uint32 LP_CFG_SYS_HVDE(uint32 value) {
1755 return ((value << +mcxa153::chip::spc::Shift::LP_CFG_SYS_HVDE) &
1757 }
1758
1764 static inline constexpr uint32 LP_CFG1_SOC_CNTRL(uint32 value) {
1767 }
1768
1774 static inline constexpr uint32 LPWKUP_DELAY_LPWKUP_DELAY(uint32 value) {
1777 }
1778
1784 static inline constexpr uint32 ACTIVE_VDELAY_ACTIVE_VDELAY(uint32 value) {
1787 }
1788
1802 static inline constexpr uint32 VD_STAT_COREVDD_LVDF(uint32 value) {
1805 }
1806
1820 static inline constexpr uint32 VD_STAT_SYSVDD_LVDF(uint32 value) {
1823 }
1824
1838 static inline constexpr uint32 VD_STAT_SYSVDD_HVDF(uint32 value) {
1841 }
1842
1852 static inline constexpr uint32 VD_CORE_CFG_LVDRE(uint32 value) {
1855 }
1856
1866 static inline constexpr uint32 VD_CORE_CFG_LVDIE(uint32 value) {
1869 }
1870
1880 static inline constexpr uint32 VD_CORE_CFG_LOCK(uint32 value) {
1883 }
1884
1894 static inline constexpr uint32 VD_SYS_CFG_LVDRE(uint32 value) {
1897 }
1898
1908 static inline constexpr uint32 VD_SYS_CFG_LVDIE(uint32 value) {
1911 }
1912
1922 static inline constexpr uint32 VD_SYS_CFG_HVDRE(uint32 value) {
1925 }
1926
1936 static inline constexpr uint32 VD_SYS_CFG_HVDIE(uint32 value) {
1939 }
1940
1950 static inline constexpr uint32 VD_SYS_CFG_LVSEL(uint32 value) {
1953 }
1954
1964 static inline constexpr uint32 VD_SYS_CFG_LOCK(uint32 value) {
1965 return ((value << +mcxa153::chip::spc::Shift::VD_SYS_CFG_LOCK) &
1967 }
1968
1974 static inline constexpr uint32 EVD_CFG_EVDISO(uint32 value) {
1975 return ((value << +mcxa153::chip::spc::Shift::EVD_CFG_EVDISO) &
1977 }
1978
1984 static inline constexpr uint32 EVD_CFG_EVDLPISO(uint32 value) {
1987 }
1988
1994 static inline constexpr uint32 EVD_CFG_EVDSTAT(uint32 value) {
1995 return ((value << +mcxa153::chip::spc::Shift::EVD_CFG_EVDSTAT) &
1997 }
1998
1999 static inline constexpr uint32 EVD_CFG_REG_EVDISO(uint32 value) {
2000 return value << +Shift::EVD_CFG_REG_EVDISO;
2001 }
2002
2003 static inline constexpr uint32 EVD_CFG_REG_EVDLPISO(uint32 value) {
2004 return value << +Shift::EVD_CFG_REG_EVDLPISO;
2005 }
2006
2007 static inline constexpr uint32 EVD_CFG_REG_EVDSTAT(uint32 value) {
2008 return value << +Shift::EVD_CFG_REG_EVDSTAT;
2009 }
2010};
2011
2012/* ***************************************************************************************
2013 * End of file
2014 */
2015
2016#endif /* MCXA153_2E3411A1_6370_44BE_84E2_32D911539D8F */
MCXA153 系統電源控制器 (SPC) 管理介面
Definition SPC.h:172
static constexpr uint32 ACTIVE_CFG_CORELDO_VDD_DS(uint32 value)
ACTIVE_CFG - CORELDO_VDD_DS.
Definition SPC.h:1531
static void clearPeriphIOIsolationFlag(Register &base)
Clears peripherals and I/O pads isolation flags for each power domains.
Definition SPC.h:243
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 VD_STAT_SYSVDD_LVDF(uint32 value)
VD_STAT - SYSVDD_LVDF.
Definition SPC.h:1820
static CoreLdoDriveStrength getLowPowerCoreLDOVDDDriveStrength(Register &base)
Gets CORE LDO VDD Drive Strength for Low Power modes.
Definition SPC.h:1176
static constexpr uint32 ACTIVE_VDELAY_ACTIVE_VDELAY(uint32 value)
ACTIVE_VDELAY - ACTIVE_VDELAY.
Definition SPC.h:1784
static constexpr uint32 LPREQ_CFG_LPREQOE(uint32 value)
LPREQ_CFG - LPREQOE.
Definition SPC.h:1301
static void setExternalVoltageDomainsConfig(Register &base, uint8 lowPowerIsoMask, uint8 IsoMask)
Configs external voltage domains.
static mcxa153::chip::spc::Status setActiveModeCoreLDORegulatorConfig(Register &base, const ActiveModeCoreLdoOption &option)
Configs Core LDO Regulator in Active mode.
static constexpr uint32 VD_CORE_CFG_LOCK(uint32 value)
VD_CORE_CFG - LOCK.
Definition SPC.h:1880
static mcxa153::chip::spc::Status setActiveModeCoreLDORegulatorDriveStrength(Register &base, CoreLdoDriveStrength driveStrength)
Set Core LDO VDD Regulator Drive Strength in Active mode.
static constexpr uint32 LPREQ_CFG_LPREQOV(uint32 value)
LPREQ_CFG - LPREQOV.
Definition SPC.h:1333
static void setLowPowerWakeUpDelay(Register &base, uint16 delay)
Sets the delay when exit the low power modes.
Definition SPC.h:691
static uint8 getPeriphIOIsolationStatus(Register &base)
Gets Isolation status for each power domains.
static mcxa153::chip::spc::Status enableActiveModeCoreLowVoltageDetect(Register &base, bool enable)
Enables/Disables the Core Low Voltage Detector in Active mode.
static constexpr uint32 SRAMRETLDO_REFTRIM_REFTRIM(uint32 value)
SRAMRETLDO_REFTRIM - REFTRIM.
Definition SPC.h:1493
static uint32 getLowPowerModeEnabledAnalogModules(Register &base)
Gets enabled analog modules that enabled in low power modes.
Definition SPC.h:763
static mcxa153::chip::spc::Status setLowPowerModeCoreLDORegulatorVoltageLevel(Register &base, CoreLdoVoltageLevel voltageLevel)
Set Core LDO VDD Regulator Voltage level in Low power mode.
static constexpr uint32 VD_SYS_CFG_LVDRE(uint32 value)
VD_SYS_CFG - LVDRE.
Definition SPC.h:1894
static void unlockCoreVoltageDetectResetSetting(Register &base)
Unlocks Core voltage detect reset setting.
Definition SPC.h:821
static constexpr uint32 SC_BUSY(uint32 value)
SC - BUSY.
Definition SPC.h:1224
static uint32 getActiveModeEnabledAnalogModules(Register &base)
Gets enabled analog modules that enabled in active mode.
Definition SPC.h:596
static mcxa153::chip::spc::Status setLowPowerModeCoreLDORegulatorConfig(Register &base, const LowPowerModeCoreLdoOption &option)
Configs CORE LDO Regulator in low power mode.
static mcxa153::chip::spc::BandgapMode getLowPowerModeBandgapMode(Register &base)
Gets the Bandgap mode in Low Power mode.
Definition SPC.h:606
static constexpr uint32 SC_SPC_LP_MODE(uint32 value)
SC - SPC_LP_MODE.
Definition SPC.h:1263
static constexpr uint32 PD_STATUS_PD_LP_REQ(uint32 value)
PD_STATUS - PD_LP_REQ.
Definition SPC.h:1417
static constexpr uint32 LP_CFG_LP_IREFEN(uint32 value)
LP_CFG - LP_IREFEN.
Definition SPC.h:1712
static mcxa153::chip::spc::Status enableActiveModeSystemLowVoltageDetect(Register &base, bool enable)
Enables/Disable the System Low Voltage Detector in Active mode.
static mcxa153::chip::spc::Status setLowPowerModeBandgapmodeConfig(Register &base, mcxa153::chip::spc::BandgapMode mode)
Configs Bandgap mode in Low Power mode.
static void disableActiveModeAnalogModules(Register &base, uint32 maskValue)
Disables analog modules in active mode.
Definition SPC.h:585
static CoreLdoVoltageLevel getLowPowerCoreLDOVDDVoltageLevel(Register &base)
Gets the CORE LDO VDD Regulator Voltage Level for Low Power modes.
Definition SPC.h:1149
static constexpr uint32 PD_STATUS_LP_MODE(uint32 value)
PD_STATUS - LP_MODE.
Definition SPC.h:1437
static mcxa153::chip::spc::Status setLowPowerModeRegulatorsConfig(Register &base, const LowPowerModeRegulatorsConfig *config)
Configs all settings of regulators in Low power mode at a time.
static constexpr uint32 VERID_MINOR(uint32 value)
VERID - MINOR.
Definition SPC.h:1200
static void enableIntegratedPowerSwitchAutomatically(Register &base, bool sleepGate, bool wakeupUngate)
Enables/disables the integrated power switch automatically.
Definition SPC.h:443
static constexpr uint32 VERID_MAJOR(uint32 value)
VERID - MAJOR.
Definition SPC.h:1210
static constexpr uint32 SRAMRETLDO_CNTRL_SRAMLDO_ON(uint32 value)
SRAMRETLDO_CNTRL - SRAMLDO_ON.
Definition SPC.h:1507
static constexpr uint32 VD_STAT_SYSVDD_HVDF(uint32 value)
VD_STAT - SYSVDD_HVDF.
Definition SPC.h:1838
static constexpr uint32 SRAMCTL_REQ(uint32 value)
SRAMCTL - REQ.
Definition SPC.h:1469
static void setCoreVoltageDetectConfig(Register &base, const CoreVoltageDetectConfig &config)
Configs CORE voltage detect options.
static void enableSRAMLdOLowPowerModeIREF(Register &base, bool enable)
Enables/disables SRAM_LDO deep power low power IREF.
Definition SPC.h:676
static void setActiveModeVoltageTrimDelay(Register &base, uint16 delay)
Sets the delay when the regulators change voltage level in Active mode.
Definition SPC.h:518
static mcxa153::chip::spc::Status enableActiveModeSystemHighVoltageDetect(Register &base, bool enable)
Enables/Disables the System High Voltage Detector in Active mode.
static void setSRAMOperateVoltage(Register &base, const SramVoltageConfig &config)
Set SRAM operate voltage.
static constexpr uint32 LP_CFG_SYS_LVDE(uint32 value)
LP_CFG - SYS_LVDE.
Definition SPC.h:1740
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:353
static bool checkLowPowerReqest(Register &base)
Checks system low power request.
Definition SPC.h:280
static PowerDomainLowPowerMode getPowerDomainLowPowerMode(Register &base, PowerDomainID powerDomainId)
Gets selected power domain's requested low power mode.
static constexpr uint32 LP_CFG_CORELDO_VDD_DS(uint32 value)
LP_CFG - CORELDO_VDD_DS.
Definition SPC.h:1647
static constexpr uint32 VD_CORE_CFG_LVDIE(uint32 value)
VD_CORE_CFG - LVDIE.
Definition SPC.h:1866
static CoreLdoVoltageLevel getActiveModeCoreLDOVDDVoltageLevel(Register &base)
Gets CORE LDO Regulator Voltage level.
Definition SPC.h:1061
static mcxa153::chip::spc::Status setActiveModeCoreLDORegulatorVoltageLevel(Register &base, CoreLdoVoltageLevel voltageLevel)
Set Core LDO Regulator Voltage level in Active mode.
static constexpr uint32 ACTIVE_CFG_BGMODE(uint32 value)
ACTIVE_CFG - BGMODE.
Definition SPC.h:1567
static void disableLowPowerModeAnalogModules(Register &base, uint32 maskValue)
Disables analog modules in low power modes.
Definition SPC.h:752
static uint32 getLowPowerModeVoltageDetectStatus(Register &base)
Gets the status of all voltage detectors in Low Power mode.
Definition SPC.h:618
static constexpr uint32 VD_SYS_CFG_LVDIE(uint32 value)
VD_SYS_CFG - LVDIE.
Definition SPC.h:1908
static constexpr uint32 ACTIVE_CFG_VDD_VD_DISABLE(uint32 value)
ACTIVE_CFG - VDD_VD_DISABLE.
Definition SPC.h:1581
static constexpr uint32 ACTIVE_CFG1_SOC_CNTRL(uint32 value)
ACTIVE_CFG1 - SOC_CNTRL.
Definition SPC.h:1633
static bool getBusyStatusFlag(Register &base)
Gets SPC busy status flag.
Definition SPC.h:261
static constexpr uint32 SC_SWITCH_STATE(uint32 value)
SC - SWITCH_STATE.
Definition SPC.h:1287
static void setSystemVDDLowVoltageLevel(Register &base, LowVoltageLevelSelect level)
Set system VDD Low-voltage level selection.
static constexpr uint32 VD_CORE_CFG_LVDRE(uint32 value)
VD_CORE_CFG - LVDRE.
Definition SPC.h:1852
static void enableActiveModeAnalogModules(Register &base, uint32 maskValue)
Enables analog modules in active mode.
Definition SPC.h:574
static constexpr uint32 VD_SYS_CFG_HVDIE(uint32 value)
VD_SYS_CFG - HVDIE.
Definition SPC.h:1936
static mcxa153::chip::spc::Status enableLowPowerModeSystemHighVoltageDetect(Register &base, bool enable)
Enables/Disables the System High Voltage Detector in Low Power mode.
static void enableLowPowerModeLowPowerIREF(Register &base, bool enable)
Enables/Disables Low Power IREF in low power modes.
Definition SPC.h:637
static constexpr uint32 LP_CFG_CORELDO_VDD_LVL(uint32 value)
LP_CFG - CORELDO_VDD_LVL.
Definition SPC.h:1666
static void setLowPowerRequestConfig(Register &base, const LowPowerRequestConfig &config)
Configs Low power request output pin.
static constexpr uint32 SRAMCTL_VSM(uint32 value)
SRAMCTL - VSM.
Definition SPC.h:1455
static mcxa153::chip::spc::Status setLowPowerModeCoreLDORegulatorDriveStrength(Register &base, CoreLdoDriveStrength driveStrength)
Set Core LDO VDD Regulator Drive Strength in Low power mode.
static bool checkSwitchState(Register &base)
Checks whether the power switch is on.
Definition SPC.h:302
static constexpr uint32 SC_SPC_LP_REQ(uint32 value)
SC - SPC_LP_REQ.
Definition SPC.h:1243
static constexpr uint32 EVD_CFG_EVDSTAT(uint32 value)
EVD_CFG - EVDSTAT.
Definition SPC.h:1994
static uint32 getActiveModeVoltageDetectStatus(Register &base)
Gets all voltage detectors status in Active mode.
Definition SPC.h:482
static constexpr uint32 LP_CFG1_SOC_CNTRL(uint32 value)
LP_CFG1 - SOC_CNTRL.
Definition SPC.h:1764
static void clearPowerDomainLowPowerRequestFlag(Register &base, PowerDomainID powerDomainId)
Clears selected power domain's low power request flag.
Definition SPC.h:341
static void retainSRAMArray(Register &base, uint8 mask)
Definition SPC.h:383
static constexpr uint32 CFG_INTG_PWSWTCH_WKUP_ACTIVE_EN(uint32 value)
CFG - INTG_PWSWTCH_WKUP_ACTIVE_EN.
Definition SPC.h:1389
static void clearVoltageDetectStatusFlag(Register &base, uint8 mask)
Clear Voltage Detect Status Flags.
Definition SPC.h:784
static uint8 getExternalDomainsStatus(Register &base)
Gets External Domains status.
Definition SPC.h:1007
static void unlockSystemVoltageDetectResetSetting(Register &base)
Unlock System voltage detect reset setting.
Definition SPC.h:912
static constexpr uint32 EVD_CFG_EVDISO(uint32 value)
EVD_CFG - EVDISO.
Definition SPC.h:1974
static constexpr uint32 VD_SYS_CFG_LOCK(uint32 value)
VD_SYS_CFG - LOCK.
Definition SPC.h:1964
static void lockSystemVoltageDetectResetSetting(Register &base)
Lock System voltage detect reset setting.
Definition SPC.h:900
static constexpr uint32 LPWKUP_DELAY_LPWKUP_DELAY(uint32 value)
LPWKUP_DELAY - LPWKUP_DELAY.
Definition SPC.h:1774
static constexpr uint32 ACTIVE_CFG_CORELDO_VDD_LVL(uint32 value)
ACTIVE_CFG - CORELDO_VDD_LVL.
Definition SPC.h:1549
static constexpr uint32 VERID_FEATURE(uint32 value)
VERID - FEATURE.
Definition SPC.h:1190
static constexpr uint32 ACTIVE_CFG_SYS_HVDE(uint32 value)
ACTIVE_CFG - SYS_HVDE.
Definition SPC.h:1623
static constexpr uint32 VD_SYS_CFG_HVDRE(uint32 value)
VD_SYS_CFG - HVDRE.
Definition SPC.h:1922
static void setSystemVoltageDetectConfig(Register &base, const SystemVoltageDetectConfig &config)
Configs SYS voltage detect options.
static BandgapMode getActiveModeBandgapMode(Register &base)
Gets the Bandgap mode in Active mode.
Definition SPC.h:471
static constexpr uint32 CFG_INTG_PWSWTCH_SLEEP_ACTIVE_EN(uint32 value)
CFG - INTG_PWSWTCH_SLEEP_ACTIVE_EN.
Definition SPC.h:1375
static constexpr uint32 VD_SYS_CFG_LVSEL(uint32 value)
VD_SYS_CFG - LVSEL.
Definition SPC.h:1950
static constexpr uint32 SRAMCTL_ACK(uint32 value)
SRAMCTL - ACK.
Definition SPC.h:1483
static void enableSRAMLdo(Register &base, bool enable)
Enables/disables SRAM retention LDO.
Definition SPC.h:367
static mcxa153::chip::spc::Status enableLowPowerModeCoreLowVoltageDetect(Register &base, bool enable)
Enables/Disables the Core Low Voltage Detector in Low Power mode.
static constexpr uint32 ACTIVE_CFG_SYS_LVDE(uint32 value)
ACTIVE_CFG - SYS_LVDE.
Definition SPC.h:1609
static constexpr uint32 PD_STATUS_PWR_REQ_STATUS(uint32 value)
PD_STATUS - PWR_REQ_STATUS.
Definition SPC.h:1403
static bool checkPowerDomainLowPowerRequest(Register &base, PowerDomainID powerDomainId)
Checks power domain's low power request.
Definition SPC.h:328
static constexpr uint32 ACTIVE_CFG_CORE_LVDE(uint32 value)
ACTIVE_CFG - CORE_LVDE.
Definition SPC.h:1595
static constexpr uint32 EVD_CFG_EVDLPISO(uint32 value)
EVD_CFG - EVDLPISO.
Definition SPC.h:1984
static constexpr uint32 LP_CFG_CORE_LVDE(uint32 value)
LP_CFG - CORE_LVDE.
Definition SPC.h:1726
static uint8 getVoltageDetectStatusFlag(Register &base)
Get Voltage Detect Status Flags.
Definition SPC.h:773
virtual ~SPC(void) override=default
Destroy the object.
static constexpr uint32 SC_ISO_CLR(uint32 value)
SC - ISO_CLR.
Definition SPC.h:1273
static void enableIntegratedPowerSwitchManually(Register &base, bool enable)
Enables/disables the integrated power switch manually.
Definition SPC.h:406
static CoreLdoDriveStrength getActiveModeCoreLDODriveStrength(Register &base)
Gets CORE LDO VDD Regulator Drive Strength in Active mode.
Definition SPC.h:1090
static mcxa153::chip::spc::Status enableLowPowerModeSystemLowVoltageDetect(Register &base, bool enable)
Enables/Disables the System Low Voltage Detector in Low Power mode.
static constexpr uint32 SRAMRETLDO_CNTRL_SRAM_RET_EN(uint32 value)
SRAMRETLDO_CNTRL - SRAM_RET_EN.
Definition SPC.h:1517
static constexpr uint32 CFG_INTG_PWSWTCH_WKUP_EN(uint32 value)
CFG - INTG_PWSWTCH_WKUP_EN.
Definition SPC.h:1361
static mcxa153::chip::spc::Status setActiveModeBandgapModeConfig(Register &base, mcxa153::chip::spc::BandgapMode mode)
Configs Bandgap mode in Active mode.
static void lockCoreVoltageDetectResetSetting(Register &base)
Locks Core voltage detect reset setting.
Definition SPC.h:809
static constexpr uint32 LP_CFG_SRAMLDO_DPD_ON(uint32 value)
LP_CFG - SRAMLDO_DPD_ON.
Definition SPC.h:1680
static void clearLowPowerRequest(Register &base)
Clears system low power request, set SPC in active mode.
Definition SPC.h:290
static constexpr uint32 CFG_INTG_PWSWTCH_SLEEP_EN(uint32 value)
CFG - INTG_PWSWTCH_SLEEP_EN.
Definition SPC.h:1347
static constexpr uint32 LP_CFG_SYS_HVDE(uint32 value)
LP_CFG - SYS_HVDE.
Definition SPC.h:1754
static void enableLowPowerModeAnalogModules(Register &base, uint32 maskValue)
Enables analog modules in low power modes.
Definition SPC.h:741
static constexpr uint32 LP_CFG_BGMODE(uint32 value)
LP_CFG - BGMODE.
Definition SPC.h:1698
static constexpr uint32 VD_STAT_COREVDD_LVDF(uint32 value)
VD_STAT - COREVDD_LVDF.
Definition SPC.h:1802
static constexpr uint32 LPREQ_CFG_LPREQPOL(uint32 value)
LPREQ_CFG - LPREQPOL.
Definition SPC.h:1315
Definition NonInstantiable.h:29
void delay(int milliseconds) const
延遲指定的毫秒數進行執行緒等待
Definition ActiveModeCoreLdoOption.h:24
@ 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.
Status
System Power Controller (SPC) Status Enumeration.
Definition spc/Status.h:64
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
@ SPC
SPC群組 - 系統電源控制器狀態,MCXA153電源管理核心 (10400-10499)
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