![]() |
![]() |
#include "inc/hw_types.h"
#include "driverlib/5xx_6xx/debug.h"
#include "driverlib/5xx_6xx/pmm.h"
#include "deprecated/CCS/msp430xgeneric.h"
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_enableSvsLSvmL (unsigned int baseAddress) |
void | PMM_disableSvsLSvmL (unsigned int baseAddress) |
void | PMM_enableSvsHSvmH (unsigned int baseAddress) |
void | PMM_disableSvsHSvmH (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 int | PMM_setVCoreUp (unsigned int baseAddress, unsigned char level) |
unsigned int | PMM_setVCoreDown (unsigned int baseAddress, unsigned char level) |
unsigned short | PMM_setVCore (unsigned int baseAddress, unsigned char level) |
unsigned int | PMM_getInterruptStatus (unsigned int baseAddress, unsigned int mask) |
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_enableSvsLSvmL | ( | unsigned int | baseAddress | ) |
void PMM_disableSvsLSvmL | ( | unsigned int | baseAddress | ) |
void PMM_enableSvsHSvmH | ( | unsigned int | baseAddress | ) |
void PMM_disableSvsHSvmH | ( | 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 int PMM_setVCoreUp | ( | unsigned int | baseAddress, |
unsigned char | level | ||
) |
Increase Vcore by one level
baseAddress | is the base address of the I2C module. |
level | level to which Vcore needs to be increased |
Modified registers are PMMCTL0, PMMRIE, PMMIFG, SVSMLCTL, SVSMHCTL.
References HWREGB, STATUS_FAIL, and STATUS_SUCCESS.
Referenced by PMM_setVCore().
unsigned int PMM_setVCoreDown | ( | unsigned int | baseAddress, |
unsigned char | level | ||
) |
Decrease Vcore by one level
baseAddress | is the base address of the I2C module. |
level | level to which Vcore needs to be decreased |
Modified registers are PMMCTL0, PMMRIE, PMMIFG, SVSMLCTL, SVSMHCTL.
References HWREGB, and STATUS_SUCCESS.
Referenced by PMM_setVCore().
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.