Go to the source code of this file.
Defines | |
#define | __MSP430_HAS_PMM__ |
#define | PMM_CORE_LEVEL_0 PMMCOREV_0 |
#define | PMM_CORE_LEVEL_1 PMMCOREV_1 |
#define | PMM_CORE_LEVEL_2 PMMCOREV_2 |
#define | PMM_CORE_LEVEL_3 PMMCOREV_3 |
#define | PMM_SVSMLDLYIFG SVSMLDLYIFG |
#define | PMM_SVMLIFG SVMLIFG |
#define | PMM_SVMLVLRIFG SVMLVLRIFG |
#define | PMM_SVSMHDLYIFG SVSMHDLYIFG |
#define | PMM_SVMHIFG SVMHIFG |
#define | PMM_SVMHVLRIFG SVMHVLRIFG |
#define | PMM_PMMBORIFG PMMBORIFG |
#define | PMM_PMMRSTIFG PMMRSTIFG |
#define | PMM_PMMPORIFG PMMPORIFG |
#define | PMM_SVSHIFG SVSHIFG |
#define | PMM_SVSLIFG SVSLIFG |
#define | PMM_PMMLPM5IFG PMMLPM5IFG |
Functions | |
void | PMM_enableSvsL (unsigned int baseAddress) |
void | PMM_disableSvsL (unsigned int baseAddress) |
void | PMM_enableSvmL (unsigned int baseAddress) |
void | PMM_disableSvmL (unsigned int baseAddress) |
void | PMM_enableSvsH (unsigned int baseAddress) |
void | PMM_disableSvsH (unsigned int baseAddress) |
void | PMM_enableSvmH (unsigned int baseAddress) |
void | PMM_disableSvmH (unsigned int baseAddress) |
void | PMM_enableSvsL_SVML (unsigned int baseAddress) |
void | PMM_disableSvsL_SVML (unsigned int baseAddress) |
void | PMM_enableSvsH_SVMH (unsigned int baseAddress) |
void | PMM_disableSvsH_SVMH (unsigned int baseAddress) |
void | PMM_enableSvsLReset (unsigned int baseAddress) |
void | PMM_disableSvsLReset (unsigned int baseAddress) |
void | PMM_enableSvmLInterrupt (unsigned int baseAddress) |
void | PMM_disableSvmLInterrupt (unsigned int baseAddress) |
void | PMM_enableSvsHReset (unsigned int baseAddress) |
void | PMM_disableSvsHReset (unsigned int baseAddress) |
void | PMM_enableSvmHInterrupt (unsigned int baseAddress) |
void | PMM_disableSvmHInterrupt (unsigned int baseAddress) |
void | PMM_clearPMMIFGS (unsigned int baseAddress) |
void | PMM_SvsLEnabledInLPMFastWake (unsigned int baseAddress) |
void | PMM_SvsLEnabledInLPMSlowWake (unsigned int baseAddress) |
void | PMM_SvsLDisabledInLPMFastWake (unsigned int baseAddress) |
void | PMM_SvsLDisabledInLPMSlowWake (unsigned int baseAddress) |
void | PMM_SvsHEnabledInLPMNormPerf (unsigned int baseAddress) |
void | PMM_SvsHEnabledInLPMFullPerf (unsigned int baseAddress) |
void | PMM_SvsHDisabledInLPMNormPerf (unsigned int baseAddress) |
void | PMM_SvsHDisabledInLPMFullPerf (unsigned int baseAddress) |
void | PMM_SvsLOptimizedInLPMFastWake (unsigned int baseAddress) |
void | PMM_SvsHOptimizedInLPMFullPerf (unsigned int baseAddress) |
unsigned short | PMM_setVCore (unsigned int baseAddress, unsigned char level) |
unsigned int | PMM_getInterruptStatus (unsigned int baseAddress, unsigned int mask) |
#define __MSP430_HAS_PMM__ |
#define PMM_CORE_LEVEL_0 PMMCOREV_0 |
Referenced by PMM_setVCore().
#define PMM_CORE_LEVEL_1 PMMCOREV_1 |
Referenced by PMM_setVCore().
#define PMM_CORE_LEVEL_2 PMMCOREV_2 |
Referenced by PMM_setVCore().
#define PMM_CORE_LEVEL_3 PMMCOREV_3 |
Referenced by PMM_setVCore().
#define PMM_SVSMLDLYIFG SVSMLDLYIFG |
#define PMM_SVMLIFG SVMLIFG |
#define PMM_SVMLVLRIFG SVMLVLRIFG |
#define PMM_SVSMHDLYIFG SVSMHDLYIFG |
#define PMM_SVMHIFG SVMHIFG |
#define PMM_SVMHVLRIFG SVMHVLRIFG |
#define PMM_PMMBORIFG PMMBORIFG |
#define PMM_PMMRSTIFG PMMRSTIFG |
#define PMM_PMMPORIFG PMMPORIFG |
#define PMM_SVSHIFG SVSHIFG |
#define PMM_SVSLIFG SVSLIFG |
#define PMM_PMMLPM5IFG PMMLPM5IFG |
void PMM_enableSvsL | ( | unsigned int | baseAddress | ) |
void PMM_disableSvsL | ( | unsigned int | baseAddress | ) |
void PMM_enableSvmL | ( | unsigned int | baseAddress | ) |
void PMM_disableSvmL | ( | unsigned int | baseAddress | ) |
void PMM_enableSvsH | ( | unsigned int | baseAddress | ) |
void PMM_disableSvsH | ( | unsigned int | baseAddress | ) |
void PMM_enableSvmH | ( | unsigned int | baseAddress | ) |
void PMM_disableSvmH | ( | unsigned int | baseAddress | ) |
void PMM_enableSvsL_SVML | ( | unsigned int | baseAddress | ) |
void PMM_disableSvsL_SVML | ( | unsigned int | baseAddress | ) |
void PMM_enableSvsH_SVMH | ( | unsigned int | baseAddress | ) |
void PMM_disableSvsH_SVMH | ( | unsigned int | baseAddress | ) |
void PMM_enableSvsLReset | ( | unsigned int | baseAddress | ) |
void PMM_disableSvsLReset | ( | unsigned int | baseAddress | ) |
void PMM_enableSvmLInterrupt | ( | unsigned int | baseAddress | ) |
void PMM_disableSvmLInterrupt | ( | unsigned int | baseAddress | ) |
void PMM_enableSvsHReset | ( | unsigned int | baseAddress | ) |
void PMM_disableSvsHReset | ( | unsigned int | baseAddress | ) |
void PMM_enableSvmHInterrupt | ( | unsigned int | baseAddress | ) |
void PMM_disableSvmHInterrupt | ( | unsigned int | baseAddress | ) |
void PMM_clearPMMIFGS | ( | unsigned int | baseAddress | ) |
Clear all interrupt flags for the PMM
baseAddress | is the base address of the PMM module. |
Modified registers are PMMCTL0, PMMIFG.
References HWREGB.
void PMM_SvsLEnabledInLPMFastWake | ( | unsigned int | baseAddress | ) |
void PMM_SvsLEnabledInLPMSlowWake | ( | unsigned int | baseAddress | ) |
void PMM_SvsLDisabledInLPMFastWake | ( | unsigned int | baseAddress | ) |
void PMM_SvsLDisabledInLPMSlowWake | ( | unsigned int | baseAddress | ) |
void PMM_SvsHEnabledInLPMNormPerf | ( | unsigned int | baseAddress | ) |
void PMM_SvsHEnabledInLPMFullPerf | ( | unsigned int | baseAddress | ) |
void PMM_SvsHDisabledInLPMNormPerf | ( | unsigned int | baseAddress | ) |
void PMM_SvsHDisabledInLPMFullPerf | ( | unsigned int | baseAddress | ) |
void PMM_SvsLOptimizedInLPMFastWake | ( | unsigned int | baseAddress | ) |
void PMM_SvsHOptimizedInLPMFullPerf | ( | unsigned int | baseAddress | ) |
unsigned short PMM_setVCore | ( | unsigned int | baseAddress, |
unsigned char | level | ||
) |
Set Vcore to expected level
baseAddress | is the base address of the I2C module. |
level | level to which Vcore needs to be decreased/increased Valid values are PMM_CORE_LEVEL_0 [Default Value], PMM_CORE_LEVEL_1 PMM_CORE_LEVEL_2 PMM_CORE_LEVEL_3 |
Modified registers are PMMCTL0, PMMRIE, PMMIFG, SVSMLCTL, SVSMHCTL.
References ASSERT, HWREGB, PMM_CORE_LEVEL_0, PMM_CORE_LEVEL_1, PMM_CORE_LEVEL_2, PMM_CORE_LEVEL_3, PMM_setVCoreDown(), PMM_setVCoreUp(), and STATUS_SUCCESS.
unsigned int PMM_getInterruptStatus | ( | unsigned int | baseAddress, |
unsigned int | mask | ||
) |
Returns interrupt status
baseAddress | is the base address of the I2C module. |
mask | is the mask for specifying the required flag Valid values are PMM_SVSMLDLYIFG PMM_SVMLIFG, PMM_SVMLVLRIFG, PMM_SVSMHDLYIFG, PMM_SVMHIFG, PMM_SVMHVLRIFG, PMM_PMMBORIFG, PMM_PMMRSTIFG, PMM_PMMPORIFG, PMM_SVSHIFG, PMM_SVSLIFG, PMM_PMMLPM5IFG |
References HWREG.