LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
IP: PMC register block and driver

Detailed Description

Data Structures

struct  IP_PMC_001_T
 Power Management Controller register block structure. More...
 

Macros

#define PMC_PWR_DEEP_SLEEP_MODE   0x3F00AA
 Power Management Controller power modes.
 
#define PMC_PWR_POWER_DOWN_MODE   0x3FFCBA
 
#define PMC_PWR_DEEP_POWER_DOWN_MODE   0x3FFF7F
 

Functions

STATIC INLINE void IP_PMC_SetPowerMode (IP_PMC_001_T *pPMC, uint32_t PwrMode)
 Set power mode in PMC block.
 

Macro Definition Documentation

#define PMC_PWR_DEEP_POWER_DOWN_MODE   0x3FFF7F

Definition at line 61 of file pmc_001.h.

#define PMC_PWR_DEEP_SLEEP_MODE   0x3F00AA

Power Management Controller power modes.

Definition at line 59 of file pmc_001.h.

#define PMC_PWR_POWER_DOWN_MODE   0x3FFCBA

Definition at line 60 of file pmc_001.h.

Function Documentation

STATIC INLINE void IP_PMC_SetPowerMode ( IP_PMC_001_T pPMC,
uint32_t  PwrMode 
)

Set power mode in PMC block.

Parameters
pPMC: Pointer to PMC register block
PwrMode: Power mode value (PMC_PWR_DEEP_SLEEP_MODE/PMC_PWR_POWER_DOWN_MODE/PMC_PWR_DEEP_POWER_DOWN_MODE)
Returns
Nothing

Definition at line 69 of file pmc_001.h.