7 #ifndef __MSP430WARE_PMM_H__ 8 #define __MSP430WARE_PMM_H__ 10 #include "inc/hw_memmap.h" 12 #ifdef __MSP430_HAS_PMM__ 31 #define PMM_CORE_LEVEL_0 PMMCOREV_0 32 #define PMM_CORE_LEVEL_1 PMMCOREV_1 33 #define PMM_CORE_LEVEL_2 PMMCOREV_2 34 #define PMM_CORE_LEVEL_3 PMMCOREV_3 43 #define PMM_SVSMLDLYIFG SVSMLDLYIFG 44 #define PMM_SVMLIFG SVMLIFG 45 #define PMM_SVMLVLRIFG SVMLVLRIFG 46 #define PMM_SVSMHDLYIFG SVSMHDLYIFG 47 #define PMM_SVMHIFG SVMHIFG 48 #define PMM_SVMHVLRIFG SVMHVLRIFG 49 #define PMM_PMMBORIFG PMMBORIFG 50 #define PMM_PMMRSTIFG PMMRSTIFG 51 #define PMM_PMMPORIFG PMMPORIFG 52 #define PMM_SVSHIFG SVSHIFG 53 #define PMM_SVSLIFG SVSLIFG 54 #define PMM_PMMLPM5IFG PMMLPM5IFG 554 #endif // __MSP430WARE_PMM_H__ void PMM_enableSvmLInterrupt(void)
Enables the interrupt generation when a low-voltage event is registered by the low-side SVM...
Definition: pmm.c:119
void PMM_disableSvsL(void)
Disables the low-side SVS circuitry.
Definition: pmm.c:28
void PMM_disableSvsLReset(void)
Disables the POR signal generation when a low-voltage event is registered by the low-side SVS...
Definition: pmm.c:112
void PMM_clearPMMIFGS(void)
Clear all interrupt flags for the PMM.
Definition: pmm.c:161
void PMM_enableSvsHInLPMNormPerf(void)
Enables supervisor high side in LPM with tpd = 20 s(1)
Definition: pmm.c:200
bool PMM_setVCore(uint8_t level)
Set Vcore to expected level.
Definition: pmm.c:461
void PMM_enableSvsHInLPMFullPerf(void)
Enables supervisor high side in LPM with tpd = 2.5 s(1)
Definition: pmm.c:208
void PMM_enableSvsH(void)
Enables the high-side SVS circuitry.
Definition: pmm.c:49
uint16_t PMM_getInterruptStatus(uint16_t mask)
Returns interrupt status.
Definition: pmm.c:497
void PMM_enableSvsHReset(void)
Enables the POR signal generation when a low-voltage event is registered by the high-side SVS...
Definition: pmm.c:133
void PMM_enableSvmL(void)
Enables the low-side SVM circuitry.
Definition: pmm.c:35
uint16_t PMM_setVCoreDown(uint8_t level)
Decrease Vcore by one level.
Definition: pmm.c:374
void PMM_disableSvsHInLPMFullPerf(void)
Disables supervisor high side in LPM with tpd = 2.5 s(1)
Definition: pmm.c:223
void PMM_disableSvsHSvmH(void)
Disables the high-side SVS and SVM circuitry.
Definition: pmm.c:98
void PMM_disableSvmL(void)
Disables the low-side SVM circuitry.
Definition: pmm.c:42
void PMM_disableSvmH(void)
Disables the high-side SVM circuitry.
Definition: pmm.c:70
void PMM_disableSvsHInLPMNormPerf(void)
Disables supervisor high side in LPM with tpd = 20 s(1)
Definition: pmm.c:216
void PMM_enableSvsLInLPMSlowWake(void)
Enables supervisor low side in LPM with twake-up-slow from LPM2, LPM3, and LPM4.
Definition: pmm.c:177
void PMM_optimizeSvsLInLPMFastWake(void)
Optimized to provide twake-up-fast from LPM2, LPM3, and LPM4 with least power.
Definition: pmm.c:231
void PMM_disableSvsLInLPMFastWake(void)
Disables supervisor low side in LPM with twake-up-fast from LPM2, LPM3, and LPM4. ...
Definition: pmm.c:185
void PMM_disableSvsLInLPMSlowWake(void)
Disables supervisor low side in LPM with twake-up-slow from LPM2, LPM3, and LPM4. ...
Definition: pmm.c:193
void PMM_disableSvsH(void)
Disables the high-side SVS circuitry.
Definition: pmm.c:56
void PMM_enableSvsHSvmH(void)
Enables the high-side SVS and SVM circuitry.
Definition: pmm.c:91
void PMM_enableSvmHInterrupt(void)
Enables the interrupt generation when a low-voltage event is registered by the high-side SVM...
Definition: pmm.c:147
void PMM_optimizeSvsHInLPMFullPerf(void)
Optimized to provide tpd = 2.5 s(1) in LPM with least power.
Definition: pmm.c:239
void PMM_enableSvsLSvmL(void)
Enables the low-side SVS and SVM circuitry.
Definition: pmm.c:77
void PMM_enableSvsL(void)
Enables the low-side SVS circuitry.
Definition: pmm.c:21
void PMM_enableSvmH(void)
Enables the high-side SVM circuitry.
Definition: pmm.c:63
void PMM_disableSvmLInterrupt(void)
Disables the interrupt generation when a low-voltage event is registered by the low-side SVM...
Definition: pmm.c:126
void PMM_disableSvsHReset(void)
Disables the POR signal generation when a low-voltage event is registered by the high-side SVS...
Definition: pmm.c:140
uint16_t PMM_setVCoreUp(uint8_t level)
Increase Vcore by one level.
Definition: pmm.c:246
void PMM_disableSvmHInterrupt(void)
Disables the interrupt generation when a low-voltage event is registered by the high-side SVM...
Definition: pmm.c:154
void PMM_disableSvsLSvmL(void)
Disables the low-side SVS and SVM circuitry.
Definition: pmm.c:84
void PMM_enableSvsLReset(void)
Enables the POR signal generation when a low-voltage event is registered by the low-side SVS...
Definition: pmm.c:105
void PMM_enableSvsLInLPMFastWake(void)
Enables supervisor low side in LPM with twake-up-fast from LPM2, LPM3, and LPM4.
Definition: pmm.c:168