simple-FreeRTOS-demo application is created
[armadillo_firmware.git] / simple-FreeRTOS-demo / LPC2000.h
blob5ab87299d846847efd4d89f41e66c7555e9f58ba
1 #ifndef LPC2000_h_
2 #define LPC2000_h_
4 #include "LPC214x.h"
6 /*
7 convert "official" Philips definitions to definitions
8 used in FreeRTOS
9 */
10 #define T0_IR T0IR
11 #define T0_PR T0PR
12 #define T0_MR0 T0MR0
13 #define T0_MCR T0MCR
14 #define T0_TCR T0TCR
16 #define UART0_IIR U0IIR
17 #define UART0_LSR U0LSR
18 #define UART0_THR U0THR
19 #define UART0_RBR U0RBR
20 #define UART0_LCR U0LCR
21 #define UART0_DLL U0DLL
22 #define UART0_DLM U0DLM
23 #define UART0_FCR U0FCR
24 #define UART0_IER U0IER
26 #define PCB_PINSEL0 PINSEL0
28 #define SCB_PLLCFG PLLCFG
29 #define SCB_PLLCON PLLCON
30 #define SCB_PLLFEED PLLFEED
31 #define SCB_PLLSTAT PLLSTAT
32 #define SCB_VPBDIV VPBDIV
34 #define MAM_TIM MAMTIM
35 #define MAM_CR MAMCR
37 #define GPIO0_IOPIN IOPIN0
38 #define GPIO_IOSET IOSET0
39 #define GPIO_IOCLR IOCLR0
40 #define GPIO_IODIR IODIR0
42 #endif