Functions | |
void | PMM_setupVoltageMonitor (uint8_t voltageMonitorLevel) |
Sets up the voltage monitor. More... | |
void | PMM_calibrateReference (void) |
Setup the calibration. More... | |
void | PMM_setRegulatorStatus (uint8_t status) |
Set the status of the PMM regulator. More... | |
void | PMM_unlockIOConfiguration (void) |
Unlocks the IO. More... | |
void | PMM_enableInterrupt (uint8_t mask) |
Enables interrupts. More... | |
void | PMM_disableInterrupt (uint8_t mask) |
Disables interrupts. More... | |
uint8_t | PMM_getInterruptStatus (uint8_t mask) |
Returns the interrupt status. More... | |
void | PMM_clearInterrupt (uint8_t mask) |
Clears the masked interrupts. More... | |
void PMM_calibrateReference | ( | void | ) |
Setup the calibration.
Modified bits of REFCAL0 register and bits of REFCAL1 register.
void PMM_clearInterrupt | ( | uint8_t | mask | ) |
Clears the masked interrupts.
mask | Mask value is the logical OR of any of the following:
|
void PMM_disableInterrupt | ( | uint8_t | mask | ) |
Disables interrupts.
mask | Mask value is the logical OR of any of the following:
|
void PMM_enableInterrupt | ( | uint8_t | mask | ) |
Enables interrupts.
mask | Mask value is the logical OR of any of the following:
|
uint8_t PMM_getInterruptStatus | ( | uint8_t | mask | ) |
Returns the interrupt status.
mask | Mask value is the logical OR of any of the following:
|
void PMM_setRegulatorStatus | ( | uint8_t | status | ) |
Set the status of the PMM regulator.
status | Valid values are:
|
Modified bits of LPM45CTL register.
void PMM_setupVoltageMonitor | ( | uint8_t | voltageMonitorLevel | ) |
Sets up the voltage monitor.
voltageMonitorLevel | Valid values are:
|
Modified bits of VMONCTL register.
void PMM_unlockIOConfiguration | ( | void | ) |
Unlocks the IO.
Modified bits are LOCKLPM45 of LPM45CTL register.