LPCOpen Platform for LPC18XX/43XX microcontrollers  18XX43XX
LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers
Data Structures | Macros | Enumerations | Functions
CHIP: LPC18xx/43xx Power Management Controller driver

Detailed Description

Data Structures

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

Macros

#define PMC_PWR_DEEP_SLEEP_MODE   0x3000AA
 Power Management Controller power modes Setting this mode will not make IO loose the state. More...
 
#define PMC_PWR_POWER_DOWN_MODE   0x30FCBA
 
#define PMC_PWR_DEEP_POWER_DOWN_MODE   0x30FF7F
 
#define PMC_PWR_DEEP_SLEEP_MODE_NO_IO   0x3F00AA
 Power Management Controller power modes (IO powerdown) Setting this mode will make the IO loose the state. More...
 
#define PMC_PWR_POWER_DOWN_MODE_NO_IO   0x3FFCBA
 
#define PMC_PWR_DEEP_POWER_DOWN_MODE_NO_IO   0x3FFF7F
 

Enumerations

enum  CHIP_PMC_PWR_STATE_T { PMC_DeepSleep = PMC_PWR_DEEP_SLEEP_MODE, PMC_PowerDown = PMC_PWR_POWER_DOWN_MODE, PMC_DeepPowerDown = PMC_PWR_DEEP_POWER_DOWN_MODE }
 

Functions

void Chip_PMC_Sleep (void)
 Set to sleep power state. More...
 
void Chip_PMC_Set_PwrState (CHIP_PMC_PWR_STATE_T PwrState)
 Set to sleep power mode. More...
 

Macro Definition Documentation

#define PMC_PWR_DEEP_POWER_DOWN_MODE   0x30FF7F

Definition at line 59 of file pmc_18xx_43xx.h.

#define PMC_PWR_DEEP_POWER_DOWN_MODE_NO_IO   0x3FFF7F

Definition at line 67 of file pmc_18xx_43xx.h.

#define PMC_PWR_DEEP_SLEEP_MODE   0x3000AA

Power Management Controller power modes Setting this mode will not make IO loose the state.

Definition at line 57 of file pmc_18xx_43xx.h.

#define PMC_PWR_DEEP_SLEEP_MODE_NO_IO   0x3F00AA

Power Management Controller power modes (IO powerdown) Setting this mode will make the IO loose the state.

Definition at line 65 of file pmc_18xx_43xx.h.

#define PMC_PWR_POWER_DOWN_MODE   0x30FCBA

Definition at line 58 of file pmc_18xx_43xx.h.

#define PMC_PWR_POWER_DOWN_MODE_NO_IO   0x3FFCBA

Definition at line 66 of file pmc_18xx_43xx.h.

Enumeration Type Documentation

Enumerator
PMC_DeepSleep 

Deep sleep state

PMC_PowerDown 

Power Down state

PMC_DeepPowerDown 

Power Down state

Definition at line 72 of file pmc_18xx_43xx.h.

Function Documentation

void Chip_PMC_Set_PwrState ( CHIP_PMC_PWR_STATE_T  PwrState)

Set to sleep power mode.

Parameters
PwrState: Power State as specified in /a CHIP_PMC_PWR_STATE_T enum
Returns
Nothing

Definition at line 58 of file pmc_18xx_43xx.c.

void Chip_PMC_Sleep ( void  )

Set to sleep power state.

Returns
Nothing

Definition at line 51 of file pmc_18xx_43xx.c.