MSP430 DriverLib for MSP430F5xx_6xx Devices  2.91.13.01
pmm

Functions

void PMM_enableSvsL (void)
 Enables the low-side SVS circuitry. More...
 
void PMM_disableSvsL (void)
 Disables the low-side SVS circuitry. More...
 
void PMM_enableSvmL (void)
 Enables the low-side SVM circuitry. More...
 
void PMM_disableSvmL (void)
 Disables the low-side SVM circuitry. More...
 
void PMM_enableSvsH (void)
 Enables the high-side SVS circuitry. More...
 
void PMM_disableSvsH (void)
 Disables the high-side SVS circuitry. More...
 
void PMM_enableSvmH (void)
 Enables the high-side SVM circuitry. More...
 
void PMM_disableSvmH (void)
 Disables the high-side SVM circuitry. More...
 
void PMM_enableSvsLSvmL (void)
 Enables the low-side SVS and SVM circuitry. More...
 
void PMM_disableSvsLSvmL (void)
 Disables the low-side SVS and SVM circuitry. More...
 
void PMM_enableSvsHSvmH (void)
 Enables the high-side SVS and SVM circuitry. More...
 
void PMM_disableSvsHSvmH (void)
 Disables the high-side SVS and SVM circuitry. More...
 
void PMM_enableSvsLReset (void)
 Enables the POR signal generation when a low-voltage event is registered by the low-side SVS. More...
 
void PMM_disableSvsLReset (void)
 Disables the POR signal generation when a low-voltage event is registered by the low-side SVS. More...
 
void PMM_enableSvmLInterrupt (void)
 Enables the interrupt generation when a low-voltage event is registered by the low-side SVM. More...
 
void PMM_disableSvmLInterrupt (void)
 Disables the interrupt generation when a low-voltage event is registered by the low-side SVM. More...
 
void PMM_enableSvsHReset (void)
 Enables the POR signal generation when a low-voltage event is registered by the high-side SVS. More...
 
void PMM_disableSvsHReset (void)
 Disables the POR signal generation when a low-voltage event is registered by the high-side SVS. More...
 
void PMM_enableSvmHInterrupt (void)
 Enables the interrupt generation when a low-voltage event is registered by the high-side SVM. More...
 
void PMM_disableSvmHInterrupt (void)
 Disables the interrupt generation when a low-voltage event is registered by the high-side SVM. More...
 
void PMM_clearPMMIFGS (void)
 Clear all interrupt flags for the PMM. More...
 
void PMM_enableSvsLInLPMFastWake (void)
 Enables supervisor low side in LPM with twake-up-fast from LPM2, LPM3, and LPM4. More...
 
void PMM_enableSvsLInLPMSlowWake (void)
 Enables supervisor low side in LPM with twake-up-slow from LPM2, LPM3, and LPM4. More...
 
void PMM_disableSvsLInLPMFastWake (void)
 Disables supervisor low side in LPM with twake-up-fast from LPM2, LPM3, and LPM4. More...
 
void PMM_disableSvsLInLPMSlowWake (void)
 Disables supervisor low side in LPM with twake-up-slow from LPM2, LPM3, and LPM4. More...
 
void PMM_enableSvsHInLPMNormPerf (void)
 Enables supervisor high side in LPM with tpd = 20 s(1) More...
 
void PMM_enableSvsHInLPMFullPerf (void)
 Enables supervisor high side in LPM with tpd = 2.5 s(1) More...
 
void PMM_disableSvsHInLPMNormPerf (void)
 Disables supervisor high side in LPM with tpd = 20 s(1) More...
 
void PMM_disableSvsHInLPMFullPerf (void)
 Disables supervisor high side in LPM with tpd = 2.5 s(1) More...
 
void PMM_optimizeSvsLInLPMFastWake (void)
 Optimized to provide twake-up-fast from LPM2, LPM3, and LPM4 with least power. More...
 
void PMM_optimizeSvsHInLPMFullPerf (void)
 Optimized to provide tpd = 2.5 s(1) in LPM with least power. More...
 
uint16_t PMM_setVCoreUp (uint8_t level)
 Increase Vcore by one level. More...
 
uint16_t PMM_setVCoreDown (uint8_t level)
 Decrease Vcore by one level. More...
 
bool PMM_setVCore (uint8_t level)
 Set Vcore to expected level. More...
 
uint16_t PMM_getInterruptStatus (uint16_t mask)
 Returns interrupt status. More...
 

Detailed Description

Function Documentation

§ PMM_clearPMMIFGS()

void PMM_clearPMMIFGS ( void  )

Clear all interrupt flags for the PMM.

Modified bits of PMMCTL0 register and bits of PMMIFG register.

Returns
None

§ PMM_disableSvmH()

void PMM_disableSvmH ( void  )

Disables the high-side SVM circuitry.

Modified bits of PMMCTL0 register and bits of SVSMHCTL register.

Returns
None

§ PMM_disableSvmHInterrupt()

void PMM_disableSvmHInterrupt ( void  )

Disables the interrupt generation when a low-voltage event is registered by the high-side SVM.

Modified bits of PMMCTL0 register and bits of PMMIE register.

Returns
None

§ PMM_disableSvmL()

void PMM_disableSvmL ( void  )

Disables the low-side SVM circuitry.

Modified bits of PMMCTL0 register and bits of SVSMLCTL register.

Returns
None

§ PMM_disableSvmLInterrupt()

void PMM_disableSvmLInterrupt ( void  )

Disables the interrupt generation when a low-voltage event is registered by the low-side SVM.

Modified bits of PMMCTL0 register and bits of PMMIE register.

Returns
None

§ PMM_disableSvsH()

void PMM_disableSvsH ( void  )

Disables the high-side SVS circuitry.

Modified bits of PMMCTL0 register and bits of SVSMHCTL register.

Returns
None

§ PMM_disableSvsHInLPMFullPerf()

void PMM_disableSvsHInLPMFullPerf ( void  )

Disables supervisor high side in LPM with tpd = 2.5 s(1)

Modified bits of PMMCTL0 register and bits of SVSMHCTL register.

Returns
None

§ PMM_disableSvsHInLPMNormPerf()

void PMM_disableSvsHInLPMNormPerf ( void  )

Disables supervisor high side in LPM with tpd = 20 s(1)

Modified bits of PMMCTL0 register and bits of SVSMHCTL register.

Returns
None

§ PMM_disableSvsHReset()

void PMM_disableSvsHReset ( void  )

Disables the POR signal generation when a low-voltage event is registered by the high-side SVS.

Modified bits of PMMCTL0 register and bits of PMMIE register.

Returns
None

§ PMM_disableSvsHSvmH()

void PMM_disableSvsHSvmH ( void  )

Disables the high-side SVS and SVM circuitry.

Modified bits of PMMCTL0 register and bits of SVSMHCTL register.

Returns
None

§ PMM_disableSvsL()

void PMM_disableSvsL ( void  )

Disables the low-side SVS circuitry.

Modified bits of PMMCTL0 register and bits of SVSMLCTL register.

Returns
None

§ PMM_disableSvsLInLPMFastWake()

void PMM_disableSvsLInLPMFastWake ( void  )

Disables supervisor low side in LPM with twake-up-fast from LPM2, LPM3, and LPM4.

Modified bits of PMMCTL0 register and bits of SVSMLCTL register.

Returns
None

§ PMM_disableSvsLInLPMSlowWake()

void PMM_disableSvsLInLPMSlowWake ( void  )

Disables supervisor low side in LPM with twake-up-slow from LPM2, LPM3, and LPM4.

Modified bits of PMMCTL0 register and bits of SVSMLCTL register.

Returns
None

§ PMM_disableSvsLReset()

void PMM_disableSvsLReset ( void  )

Disables the POR signal generation when a low-voltage event is registered by the low-side SVS.

Modified bits of PMMCTL0 register and bits of PMMIE register.

Returns
None

§ PMM_disableSvsLSvmL()

void PMM_disableSvsLSvmL ( void  )

Disables the low-side SVS and SVM circuitry.

Modified bits of PMMCTL0 register and bits of SVSMLCTL register.

Returns
None

§ PMM_enableSvmH()

void PMM_enableSvmH ( void  )

Enables the high-side SVM circuitry.

Modified bits of PMMCTL0 register and bits of SVSMHCTL register.

Returns
None

§ PMM_enableSvmHInterrupt()

void PMM_enableSvmHInterrupt ( void  )

Enables the interrupt generation when a low-voltage event is registered by the high-side SVM.

Modified bits of PMMCTL0 register and bits of PMMIE register.

Returns
None

§ PMM_enableSvmL()

void PMM_enableSvmL ( void  )

Enables the low-side SVM circuitry.

Modified bits of PMMCTL0 register and bits of SVSMLCTL register.

Returns
None

§ PMM_enableSvmLInterrupt()

void PMM_enableSvmLInterrupt ( void  )

Enables the interrupt generation when a low-voltage event is registered by the low-side SVM.

Modified bits of PMMCTL0 register and bits of PMMIE register.

Returns
None

§ PMM_enableSvsH()

void PMM_enableSvsH ( void  )

Enables the high-side SVS circuitry.

Modified bits of PMMCTL0 register and bits of SVSMHCTL register.

Returns
None

§ PMM_enableSvsHInLPMFullPerf()

void PMM_enableSvsHInLPMFullPerf ( void  )

Enables supervisor high side in LPM with tpd = 2.5 s(1)

Modified bits of PMMCTL0 register and bits of SVSMHCTL register.

Returns
None

§ PMM_enableSvsHInLPMNormPerf()

void PMM_enableSvsHInLPMNormPerf ( void  )

Enables supervisor high side in LPM with tpd = 20 s(1)

Modified bits of PMMCTL0 register and bits of SVSMHCTL register.

Returns
None

§ PMM_enableSvsHReset()

void PMM_enableSvsHReset ( void  )

Enables the POR signal generation when a low-voltage event is registered by the high-side SVS.

Modified bits of PMMCTL0 register and bits of PMMIE register.

Returns
None

§ PMM_enableSvsHSvmH()

void PMM_enableSvsHSvmH ( void  )

Enables the high-side SVS and SVM circuitry.

Modified bits of PMMCTL0 register and bits of SVSMHCTL register.

Returns
None

§ PMM_enableSvsL()

void PMM_enableSvsL ( void  )

Enables the low-side SVS circuitry.

Modified bits of PMMCTL0 register and bits of SVSMLCTL register.

Returns
None

§ PMM_enableSvsLInLPMFastWake()

void PMM_enableSvsLInLPMFastWake ( void  )

Enables supervisor low side in LPM with twake-up-fast from LPM2, LPM3, and LPM4.

Modified bits of PMMCTL0 register and bits of SVSMLCTL register.

Returns
None

§ PMM_enableSvsLInLPMSlowWake()

void PMM_enableSvsLInLPMSlowWake ( void  )

Enables supervisor low side in LPM with twake-up-slow from LPM2, LPM3, and LPM4.

Modified bits of PMMCTL0 register and bits of SVSMLCTL register.

Returns
None

§ PMM_enableSvsLReset()

void PMM_enableSvsLReset ( void  )

Enables the POR signal generation when a low-voltage event is registered by the low-side SVS.

Modified bits of PMMCTL0 register and bits of PMMIE register.

Returns
None

§ PMM_enableSvsLSvmL()

void PMM_enableSvsLSvmL ( void  )

Enables the low-side SVS and SVM circuitry.

Modified bits of PMMCTL0 register and bits of SVSMLCTL register.

Returns
None

§ PMM_getInterruptStatus()

uint16_t PMM_getInterruptStatus ( uint16_t  mask)

Returns interrupt status.

Parameters
maskis the mask for specifying the required flag Mask value is the logical OR of any of the following:
  • PMM_SVSMLDLYIFG
  • PMM_SVMLIFG
  • PMM_SVMLVLRIFG
  • PMM_SVSMHDLYIFG
  • PMM_SVMHIFG
  • PMM_SVMHVLRIFG
  • PMM_PMMBORIFG
  • PMM_PMMRSTIFG
  • PMM_PMMPORIFG
  • PMM_SVSHIFG
  • PMM_SVSLIFG
  • PMM_PMMLPM5IFG
Returns
Logical OR of any of the following:
  • PMM_SVSMLDLYIFG
  • PMM_SVMLIFG
  • PMM_SVMLVLRIFG
  • PMM_SVSMHDLYIFG
  • PMM_SVMHIFG
  • PMM_SVMHVLRIFG
  • PMM_PMMBORIFG
  • PMM_PMMRSTIFG
  • PMM_PMMPORIFG
  • PMM_SVSHIFG
  • PMM_SVSLIFG
  • PMM_PMMLPM5IFG
    indicating the status of the masked interrupts

§ PMM_optimizeSvsHInLPMFullPerf()

void PMM_optimizeSvsHInLPMFullPerf ( void  )

Optimized to provide tpd = 2.5 s(1) in LPM with least power.

Modified bits of PMMCTL0 register and bits of SVSMLCTL register.

Returns
None

§ PMM_optimizeSvsLInLPMFastWake()

void PMM_optimizeSvsLInLPMFastWake ( void  )

Optimized to provide twake-up-fast from LPM2, LPM3, and LPM4 with least power.

Modified bits of PMMCTL0 register and bits of SVSMLCTL register.

Returns
None

§ PMM_setVCore()

bool PMM_setVCore ( uint8_t  level)

Set Vcore to expected level.

Parameters
levellevel to which Vcore needs to be decreased/increased Valid values are:
  • PMM_CORE_LEVEL_0 [Default]
  • PMM_CORE_LEVEL_1
  • PMM_CORE_LEVEL_2
  • PMM_CORE_LEVEL_3

Modified bits of PMMCTL0 register, bits of PMMIFG register, bits of PMMRIE register, bits of SVSMHCTL register and bits of SVSMLCTL register.

Returns
STATUS_SUCCESS or STATUS_FAIL

References PMM_setVCoreDown(), and PMM_setVCoreUp().

§ PMM_setVCoreDown()

uint16_t PMM_setVCoreDown ( uint8_t  level)

Decrease Vcore by one level.

Parameters
levellevel to which Vcore needs to be decreased Valid values are:
  • PMM_CORE_LEVEL_0 [Default]
  • PMM_CORE_LEVEL_1
  • PMM_CORE_LEVEL_2
  • PMM_CORE_LEVEL_3

Modified bits of PMMCTL0 register, bits of PMMIFG register, bits of PMMRIE register, bits of SVSMHCTL register and bits of SVSMLCTL register.

Returns
STATUS_SUCCESS

Referenced by PMM_setVCore().

§ PMM_setVCoreUp()

uint16_t PMM_setVCoreUp ( uint8_t  level)

Increase Vcore by one level.

Parameters
levellevel to which Vcore needs to be increased Valid values are:
  • PMM_CORE_LEVEL_0 [Default]
  • PMM_CORE_LEVEL_1
  • PMM_CORE_LEVEL_2
  • PMM_CORE_LEVEL_3

Modified bits of PMMCTL0 register, bits of PMMIFG register, bits of PMMRIE register, bits of SVSMHCTL register and bits of SVSMLCTL register.

Returns
STATUS_SUCCESS or STATUS_FAIL

Referenced by PMM_setVCore().


Copyright 2020, Texas Instruments Incorporated