LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pmu_8xx.h File Reference

Go to the source code of this file.

Data Structures

struct  LPC_PMU_T
 Power Management Unit register block structure. More...
 

Macros

#define PMU_PCON_PM_DPD   ((uint32_t) (1 << 0))
 
#define PMU_PCON_PM_PWD   ((uint32_t) (1 << 1))
 
#define PMU_PCON_PM_DPWD   ((uint32_t) (3 << 0))
 
#define PMU_DPDCTRL_WAKEUPPHYS   ((uint32_t) (1 << 0)) /* Wake-up pin hysteresis enable */
 
#define PMU_DPDCTRL_WAKEPAD   ((uint32_t) (1 << 1)) /* Wake-up pin enable */
 
#define PMU_DPDCTRL_LPOSCEN   ((uint32_t) (1 << 2)) /* Enable the low-power oscillator (10 khz self wk) */
 
#define PMU_DPDCTRL_LPOSCDPDEN   ((uint32_t) (1 << 3)) /* Enable the low-power oscillator in deep power-down*/
 

Enumerations

enum  CHIP_PMU_MCUPOWER_T { PMU_MCU_SLEEP = 0, PMU_MCU_DEEP_SLEEP, PMU_MCU_POWER_DOWN, PMU_MCU_DEEP_PWRDOWN }
 LPC8xx low power mode type definitions. More...
 

Functions

void Chip_PMU_Sleep (LPC_PMU_T *pPMU, CHIP_PMU_MCUPOWER_T SleepMode)
 Put some of the peripheral in sleep mode.