MSP430 DriverLib for MSP430FR57xx 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_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

§ PMM_clearInterrupt()

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_SVSL_INTERRUPT - SVS low side interrupt, not available for FR58xx/59xx
  • PMM_LPM5_INTERRUPT - LPM5 indication
  • PMM_ALL - All interrupts

Modified bits of PMMCTL0 register and bits of PMMIFG register.

Returns
None

§ PMM_disableSVSH()

void PMM_disableSVSH ( void  )

Disables the high-side SVS circuitry.

Modified bits of PMMCTL0 register.

Returns
None

§ PMM_disableSVSL()

void PMM_disableSVSL ( void  )

Disables the low-side SVS circuitry.

Modified bits of PMMCTL0 register.

Returns
None

§ PMM_enableSVSH()

void PMM_enableSVSH ( void  )

Enables the high-side SVS circuitry.

Modified bits of PMMCTL0 register.

Returns
None

§ PMM_enableSVSL()

void PMM_enableSVSL ( void  )

Enables the low-side SVS circuitry.

Modified bits of PMMCTL0 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_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_SVSL_INTERRUPT - SVS low side interrupt, not available for FR58xx/59xx
  • 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_SVSL_INTERRUPT SVS low side interrupt, not available for FR58xx/59xx
  • PMM_LPM5_INTERRUPT LPM5 indication
  • PMM_ALL All interrupts
    indicating the status of the selected interrupt flags

§ PMM_trigBOR()

void PMM_trigBOR ( void  )

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

Modified bits of PMMCTL0 register.

Returns
None

§ PMM_trigPOR()

void PMM_trigPOR ( void  )

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

Modified bits of PMMCTL0 register.

Returns
None

§ PMM_turnOffRegulator()

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

§ PMM_turnOnRegulator()

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

§ PMM_unlockLPM5()

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 2020, Texas Instruments Incorporated