Landtiger LPC1768 C BigLib 1
A self made, custom C library for the LandTiger board.
 
Loading...
Searching...
No Matches
power_types.h
Go to the documentation of this file.
1#ifndef __POWER_TYPES_H
2#define __POWER_TYPES_H
3
4typedef enum
5{
6 POWR_CFG_DEEP = 0x4, // BIT 2 in the SCB->SCR
7 POWR_CFG_SLEEP_ON_EXIT = 0x2 // BIT 1 in the SCB->SCR
9
10// Refer to the user manual @ Table 46 for more peripherals.
11// Each enum constant equals to the BIT in the PCONP register associated to that peripheral.
25
26#endif
POWER_Config
Definition power_types.h:5
@ POWR_CFG_SLEEP_ON_EXIT
Definition power_types.h:7
@ POWR_CFG_DEEP
Definition power_types.h:6
POWER_Peripheral
Definition power_types.h:13
@ POW_PCTIM3
Definition power_types.h:23
@ POW_PCTIM0
Definition power_types.h:14
@ POW_PCTIM2
Definition power_types.h:22
@ POW_PCGPIO
Definition power_types.h:20
@ POW_PCTIM1
Definition power_types.h:15
@ POW_PCCAN2
Definition power_types.h:19
@ POW_PCSSP1
Definition power_types.h:16
@ POW_PCRIT
Definition power_types.h:21
@ POW_PCADC
Definition power_types.h:17
@ POW_PCCAN1
Definition power_types.h:18