source: ReferenceDesigns/w3_802.11/c/wlan_mac_common_framework/include/ascii_characters.h

Last change on this file was 6319, checked in by chunter, 5 years ago

1.8.0 release wlan-mac-se

File size: 2.8 KB
Line 
1/** @file ascii_characters.h
2 *  @brief ASCII characters
3 *
4 *  @copyright Copyright 2013-2019, Mango Communications. All rights reserved.
5 *          Distributed under the Mango Communications Reference Design License
6 *              See LICENSE.txt included in the design archive or
7 *              at http://mangocomm.com/802.11/license
8 *
9 *  This file is part of the Mango 802.11 Reference Design (https://mangocomm.com/802.11)
10 */
11
12#ifndef ASCII_CHARACTERS_H_
13#define ASCII_CHARACTERS_H_
14
15
16//Define shortcuts for the alphanumeric ASCII characters
17// These are useful when debugging the MAC/PHY interactive via the UART
18
19#define ASCII_A 0x41
20#define ASCII_B 0x42
21#define ASCII_C 0x43
22#define ASCII_D 0x44
23#define ASCII_E 0x45
24#define ASCII_F 0x46
25#define ASCII_G 0x47
26#define ASCII_H 0x48
27#define ASCII_I 0x49
28#define ASCII_J 0x4A
29#define ASCII_K 0x4B
30#define ASCII_L 0x4C
31#define ASCII_M 0x4D
32#define ASCII_N 0x4E
33#define ASCII_O 0x4F
34#define ASCII_P 0x50
35#define ASCII_Q 0x51
36#define ASCII_R 0x52
37#define ASCII_S 0x53
38#define ASCII_T 0x54
39#define ASCII_U 0x55
40#define ASCII_V 0x56
41#define ASCII_W 0x57
42#define ASCII_X 0x58
43#define ASCII_Y 0x59
44#define ASCII_Z 0x5A
45
46#define ASCII_a 0x61
47#define ASCII_b 0x62
48#define ASCII_c 0x63
49#define ASCII_d 0x64
50#define ASCII_e 0x65
51#define ASCII_f 0x66
52#define ASCII_g 0x67
53#define ASCII_h 0x68
54#define ASCII_i 0x69
55#define ASCII_j 0x6A
56#define ASCII_k 0x6B
57#define ASCII_l 0x6C
58#define ASCII_m 0x6D
59#define ASCII_n 0x6E
60#define ASCII_o 0x6F
61#define ASCII_p 0x70
62#define ASCII_q 0x71
63#define ASCII_r 0x72
64#define ASCII_s 0x73
65#define ASCII_t 0x74
66#define ASCII_u 0x75
67#define ASCII_v 0x76
68#define ASCII_w 0x77
69#define ASCII_x 0x78
70#define ASCII_y 0x79
71#define ASCII_z 0x7A
72
73//Number keys
74#define ASCII_0 0x30
75#define ASCII_1 0x31
76#define ASCII_2 0x32
77#define ASCII_3 0x33
78#define ASCII_4 0x34
79#define ASCII_5 0x35
80#define ASCII_6 0x36
81#define ASCII_7 0x37
82#define ASCII_8 0x38
83#define ASCII_9 0x39
84
85//Shift-number keys
86#define ASCII_EXCLMPT 0x21
87#define ASCII_ATSIGN 0x40
88#define ASCII_HASH 0x23
89#define ASCII_DOLLAR 0x24
90#define ASCII_PERCENT 0x25
91#define ASCII_CARROT 0x5E
92#define ASCII_AMPRSND 0x26
93#define ASCII_ASTERISK 0x2A
94#define ASCII_PARENSL 0x28
95#define ASCII_PARENSR 0x29
96
97#define ASCII_UP 30
98#define ASCII_DOWN 31
99#define ASCII_LEFT 28
100#define ASCII_RIGHT 29
101
102#define ASCII_SPACE 0x20
103#define ASCII_DASH 0x2D
104
105#define ASCII_SHIFT_0 ASCII_PARENSR
106#define ASCII_SHIFT_1 ASCII_EXCLMPT
107#define ASCII_SHIFT_2 ASCII_ATSIGN
108#define ASCII_SHIFT_3 ASCII_HASH
109#define ASCII_SHIFT_4 ASCII_DOLLAR
110#define ASCII_SHIFT_5 ASCII_PERCENT
111#define ASCII_SHIFT_6 ASCII_CARROT
112#define ASCII_SHIFT_7 ASCII_AMPRSND
113#define ASCII_SHIFT_8 ASCII_ASTERISK
114#define ASCII_SHIFT_9 ASCII_PARENSL
115
116#define ASCII_ESC 27
117#define ASCII_CR 13
118#define ASCII_DEL 127
119
120#endif //ASCII_CHARACTERS_H_
Note: See TracBrowser for help on using the repository browser.