LPCOpen Platform for LPC112X microcontrollers  112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
Macros | Functions
syscon_112x.c File Reference
#include "chip.h"

Go to the source code of this file.

Macros

#define PDSLEEPUSEMASK   0x000018FF
 
#define PDSLEEPMASKTMP   (SYSCON_DEEPSLP_BOD_PD | SYSCON_DEEPSLP_WDTOSC_PD)
 
#define PDSLEEPMASK   ((PDSLEEPUSEMASK) &~(PDSLEEPMASKTMP))
 
#define PDWAKEUPUSEMASK   0x0000ED00
 
#define PDWAKEUPMASKTMP   0x000000FF
 
#define PDRUNCFGUSEMASK   0x0000ED00
 
#define PDRUNCFGMASKTMP   0x000000FF
 

Functions

void Chip_SYSCON_SetDeepSleepPD (uint32_t sleepmask)
 Setup deep sleep behaviour for power down. More...
 
void Chip_SYSCON_SetWakeup (uint32_t wakeupmask)
 Setup wakeup behaviour from deep sleep. More...
 
void Chip_SYSCON_PowerDown (uint32_t powerdownmask)
 Power down one or more blocks or peripherals. More...
 
void Chip_SYSCON_PowerUp (uint32_t powerupmask)
 Power up one or more blocks or peripherals. More...
 

Macro Definition Documentation

#define PDRUNCFGMASKTMP   0x000000FF

Definition at line 46 of file syscon_112x.c.

#define PDRUNCFGUSEMASK   0x0000ED00

Definition at line 45 of file syscon_112x.c.

#define PDSLEEPMASK   ((PDSLEEPUSEMASK) &~(PDSLEEPMASKTMP))

Definition at line 38 of file syscon_112x.c.

#define PDSLEEPMASKTMP   (SYSCON_DEEPSLP_BOD_PD | SYSCON_DEEPSLP_WDTOSC_PD)

Definition at line 37 of file syscon_112x.c.

#define PDSLEEPUSEMASK   0x000018FF

Definition at line 36 of file syscon_112x.c.

#define PDWAKEUPMASKTMP   0x000000FF

Definition at line 42 of file syscon_112x.c.

#define PDWAKEUPUSEMASK   0x0000ED00

Definition at line 41 of file syscon_112x.c.