repo.or.cz
/
armadillo_firmware.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
UART0 interface
[armadillo_firmware.git]
/
generic-FreeRTOS-demo
/
board.h
blob
35044374adc9e632c40fc55d94dafa72127b1f6c
1
#ifndef __board_h
2
#define __board_h
3
4
#define P0 0x1
5
#define P1 0x2
6
#define P2 0x4
7
#define P3 0x8
8
#define P4 0x10
9
#define P5 0x20
10
#define P6 0x40
11
#define P7 0x80
12
#define P8 0x100
13
#define P9 0x200
14
#define P10 0x400
15
#define P11 0x800
16
#define P12 0x1000
17
#define P13 0x2000
18
#define P14 0x4000
19
#define P15 0x8000
20
#define P16 0x10000
21
#define P17 0x20000
22
#define P18 0x40000
23
#define P19 0x80000
24
#define P20 0x100000
25
#define P21 0x200000
26
#define P22 0x400000
27
#define P23 0x800000
28
#define P24 0x1000000
29
#define P25 0x2000000
30
#define P26 0x4000000
31
#define P27 0x8000000
32
#define P28 0x10000000
33
#define P29 0x20000000
34
#define P30 0x40000000
35
#define P31 0x80000000
36
37
#define S_LED P31
38
39
#define MUX_A P24
//P1.24
40
#define MUX_B P29
41
#define MUX_C P5
42
#define DEMUX_A P28
43
#define DEMUX_B P20
44
#define DEMUX_C P24
45
46
#endif
//__board_h