7 #ifndef __MSP430WARE_PMM_H__ 8 #define __MSP430WARE_PMM_H__ 10 #include "inc/hw_memmap.h" 12 #ifdef __MSP430_HAS_PMM__ 31 #define PMM_DISABLE_VMON (VMONLVL_0) 32 #define PMM_DVCC_2350MV (VMONLVL_1) 33 #define PMM_DVCC_2650MV (VMONLVL_2) 34 #define PMM_DVCC_2850MV (VMONLVL_3) 35 #define PMM_VMONIN_1160MV (VMONLVL_7) 43 #define PMM_REGULATOR_ON (0x00) 44 #define PMM_REGULATOR_OFF PMMREGOFF 54 #define PMM_VMON_INTERRUPT VMONIE 55 #define PMM_LPM45_INTERRUPT LPM45IFG 190 #endif // __MSP430WARE_PMM_H__ void PMM_setupVoltageMonitor(uint8_t voltageMonitorLevel)
Sets up the voltage monitor.
Definition: pmm.c:21
void PMM_enableInterrupt(uint8_t mask)
Enables interrupts.
Definition: pmm.c:44
void PMM_clearInterrupt(uint8_t mask)
Clears the masked interrupts.
Definition: pmm.c:66
void PMM_disableInterrupt(uint8_t mask)
Disables interrupts.
Definition: pmm.c:48
void PMM_unlockIOConfiguration(void)
Unlocks the IO.
Definition: pmm.c:40
void PMM_setRegulatorStatus(uint8_t status)
Set the status of the PMM regulator.
Definition: pmm.c:33
uint8_t PMM_getInterruptStatus(uint8_t mask)
Returns the interrupt status.
Definition: pmm.c:52
void PMM_calibrateReference(void)
Setup the calibration.
Definition: pmm.c:28