source: PlatformSupport/WARPMAC/util/ascii_characters.h

Last change on this file was 1655, checked in by chunter, 13 years ago

added space character

File size: 2.2 KB
Line 
1
2//Define shortcuts for the alphanumeric ASCII characters
3// These are useful when debugging the MAC/PHY interactive via the UART
4#define ASCII_A 0x41
5#define ASCII_B 0x42
6#define ASCII_C 0x43
7#define ASCII_D 0x44
8#define ASCII_E 0x45
9#define ASCII_F 0x46
10#define ASCII_G 0x47
11#define ASCII_H 0x48
12#define ASCII_I 0x49
13#define ASCII_J 0x4A
14#define ASCII_K 0x4B
15#define ASCII_L 0x4C
16#define ASCII_M 0x4D
17#define ASCII_N 0x4E
18#define ASCII_O 0x4F
19#define ASCII_P 0x50
20#define ASCII_Q 0x51
21#define ASCII_R 0x52
22#define ASCII_S 0x53
23#define ASCII_T 0x54
24#define ASCII_U 0x55
25#define ASCII_V 0x56
26#define ASCII_W 0x57
27#define ASCII_X 0x58
28#define ASCII_Y 0x59
29#define ASCII_Z 0x5A
30
31#define ASCII_a 0x61
32#define ASCII_b 0x62
33#define ASCII_c 0x63
34#define ASCII_d 0x64
35#define ASCII_e 0x65
36#define ASCII_f 0x66
37#define ASCII_g 0x67
38#define ASCII_h 0x68
39#define ASCII_i 0x69
40#define ASCII_j 0x6A
41#define ASCII_k 0x6B
42#define ASCII_l 0x6C
43#define ASCII_m 0x6D
44#define ASCII_n 0x6E
45#define ASCII_o 0x6F
46#define ASCII_p 0x70
47#define ASCII_q 0x71
48#define ASCII_r 0x72
49#define ASCII_s 0x73
50#define ASCII_t 0x74
51#define ASCII_u 0x75
52#define ASCII_v 0x76
53#define ASCII_w 0x77
54#define ASCII_x 0x78
55#define ASCII_y 0x79
56#define ASCII_z 0x7A
57
58//Number keys
59#define ASCII_0 0x30
60#define ASCII_1 0x31
61#define ASCII_2 0x32
62#define ASCII_3 0x33
63#define ASCII_4 0x34
64#define ASCII_5 0x35
65#define ASCII_6 0x36
66#define ASCII_7 0x37
67#define ASCII_8 0x38
68#define ASCII_9 0x39
69
70//Shift-number keys
71#define ASCII_EXCLMPT 0x21
72#define ASCII_ATSIGN 0x40
73#define ASCII_HASH 0x23
74#define ASCII_DOLLAR 0x24
75#define ASCII_PERCENT 0x25
76#define ASCII_CARROT 0x5E
77#define ASCII_AMPRSND 0x26
78#define ASCII_ASTERISK 0x2A
79#define ASCII_PARENSL 0x28
80#define ASCII_PARENSR 0x29
81
82#define ASCII_UP 30
83#define ASCII_DOWN 31
84#define ASCII_LEFT 28
85#define ASCII_RIGHT 29
86
87#define ASCII_SPACE 32
88
89#define ASCII_SHIFT_0 ASCII_PARENSR
90#define ASCII_SHIFT_1 ASCII_EXCLMPT
91#define ASCII_SHIFT_2 ASCII_ATSIGN
92#define ASCII_SHIFT_3 ASCII_HASH
93#define ASCII_SHIFT_4 ASCII_DOLLAR
94#define ASCII_SHIFT_5 ASCII_PERCENT
95#define ASCII_SHIFT_6 ASCII_CARROT
96#define ASCII_SHIFT_7 ASCII_AMPRSND
97#define ASCII_SHIFT_8 ASCII_ASTERISK
98#define ASCII_SHIFT_9 ASCII_PARENSL
Note: See TracBrowser for help on using the repository browser.