Landtiger LPC1768 C BigLib 1
A self made, custom C library for the LandTiger board.
 
Loading...
Searching...
No Matches
power_types.h File Reference

Go to the source code of this file.

Enumerations

enum  POWER_Config { POWR_CFG_DEEP = 0x4 , POWR_CFG_SLEEP_ON_EXIT = 0x2 }
 
enum  POWER_Peripheral {
  POW_PCTIM0 = 1 , POW_PCTIM1 = 2 , POW_PCSSP1 = 10 , POW_PCADC = 12 ,
  POW_PCCAN1 = 13 , POW_PCCAN2 = 14 , POW_PCGPIO = 15 , POW_PCRIT = 16 ,
  POW_PCTIM2 = 22 , POW_PCTIM3 = 23
}
 

Enumeration Type Documentation

◆ POWER_Config

Enumerator
POWR_CFG_DEEP 
POWR_CFG_SLEEP_ON_EXIT 

Definition at line 4 of file power_types.h.

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
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

Enumerator
POW_PCTIM0 
POW_PCTIM1 
POW_PCSSP1 
POW_PCADC 
POW_PCCAN1 
POW_PCCAN2 
POW_PCGPIO 
POW_PCRIT 
POW_PCTIM2 
POW_PCTIM3 

Definition at line 12 of file power_types.h.

13{
14 POW_PCTIM0 = 1,
15 POW_PCTIM1 = 2,
16 POW_PCSSP1 = 10,
17 POW_PCADC = 12,
18 POW_PCCAN1 = 13,
19 POW_PCCAN2 = 14,
20 POW_PCGPIO = 15,
21 POW_PCRIT = 16,
22 POW_PCTIM2 = 22,
23 POW_PCTIM3 = 23
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