MSP430 DriverLib for MSP430FR5xx_6xx Devices  2.70.00.08
 All Data Structures Files Functions Variables Enumerations Modules Pages
pmm

Functions

void PMM_enableSVSH (void)
 Enables the high-side SVS circuitry. More...
 
void PMM_disableSVSH (void)
 Disables the high-side SVS circuitry. More...
 
void PMM_turnOnRegulator (void)
 Makes the low-dropout voltage regulator (LDO) remain ON when going into LPM 3/4. More...
 
void PMM_turnOffRegulator (void)
 Turns OFF the low-dropout voltage regulator (LDO) when going into LPM3/4, thus the system will enter LPM3.5 or LPM4.5 respectively. More...
 
void PMM_trigPOR (void)
 Calling this function will trigger a software Power On Reset (POR). More...
 
void PMM_trigBOR (void)
 Calling this function will trigger a software Brown Out Rest (BOR). More...
 
void PMM_clearInterrupt (uint16_t mask)
 Clears interrupt flags for the PMM. More...
 
uint16_t PMM_getInterruptStatus (uint16_t mask)
 Returns interrupt status. More...
 
void PMM_unlockLPM5 (void)
 Unlock LPM5. More...
 

Detailed Description

Function Documentation

void PMM_clearInterrupt ( uint16_t  mask)

Clears interrupt flags for the PMM.

Parameters
maskis the mask for specifying the required flag Mask value is the logical OR of any of the following:
  • PMM_BOR_INTERRUPT - Software BOR interrupt
  • PMM_RST_INTERRUPT - RESET pin interrupt
  • PMM_POR_INTERRUPT - Software POR interrupt
  • PMM_SVSH_INTERRUPT - SVS high side interrupt
  • PMM_LPM5_INTERRUPT - LPM5 indication
  • PMM_ALL - All interrupts

Modified bits of PMMCTL0 register and bits of PMMIFG register.

Returns
None
void PMM_disableSVSH ( void  )

Disables the high-side SVS circuitry.

Modified bits of PMMCTL0 register.

Returns
None
void PMM_enableSVSH ( void  )

Enables the high-side SVS circuitry.

Modified bits of PMMCTL0 register.

Returns
None
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_BOR_INTERRUPT - Software BOR interrupt
  • PMM_RST_INTERRUPT - RESET pin interrupt
  • PMM_POR_INTERRUPT - Software POR interrupt
  • PMM_SVSH_INTERRUPT - SVS high side interrupt
  • PMM_LPM5_INTERRUPT - LPM5 indication
  • PMM_ALL - All interrupts
Returns
Logical OR of any of the following:
  • PMM_BOR_INTERRUPT Software BOR interrupt
  • PMM_RST_INTERRUPT RESET pin interrupt
  • PMM_POR_INTERRUPT Software POR interrupt
  • PMM_SVSH_INTERRUPT SVS high side interrupt
  • PMM_LPM5_INTERRUPT LPM5 indication
  • PMM_ALL All interrupts
    indicating the status of the selected interrupt flags
void PMM_trigBOR ( void  )

Calling this function will trigger a software Brown Out Rest (BOR).

Modified bits of PMMCTL0 register.

Returns
None
void PMM_trigPOR ( void  )

Calling this function will trigger a software Power On Reset (POR).

Modified bits of PMMCTL0 register.

Returns
None
void PMM_turnOffRegulator ( void  )

Turns OFF the low-dropout voltage regulator (LDO) when going into LPM3/4, thus the system will enter LPM3.5 or LPM4.5 respectively.

Modified bits of PMMCTL0 register.

Returns
None
void PMM_turnOnRegulator ( void  )

Makes the low-dropout voltage regulator (LDO) remain ON when going into LPM 3/4.

Modified bits of PMMCTL0 register.

Returns
None
void PMM_unlockLPM5 ( void  )

Unlock LPM5.

LPMx.5 configuration is not locked and defaults to its reset condition. Disable the GPIO power-on default high-impedance mode to activate previously configured port settings.

Returns
None

Copyright 2016, Texas Instruments Incorporated