root / proj / include / makecode_map.h @ 343
History | View | Annotate | Download (480 Bytes)
1 |
#ifndef MAKE_CODE_MAP_H_
|
---|---|
2 |
#define MAKE_CODE_MAP_H_
|
3 |
|
4 |
/**
|
5 |
* @defgroup makecode_map makecode_map
|
6 |
* @brief Makecode map.
|
7 |
*
|
8 |
* @{
|
9 |
*/
|
10 |
|
11 |
#include <stdint.h> |
12 |
|
13 |
#define BASE_CODE 0x02 |
14 |
#define ERROR_CODE 0 |
15 |
|
16 |
/**
|
17 |
* @brief Maps make code into char
|
18 |
* @param code Make code to map.
|
19 |
* @return 0 if the char isn't valid, otherwise the character.
|
20 |
*/
|
21 |
char (map_makecode)(uint8_t code);
|
22 |
|
23 |
/**
|
24 |
* @}
|
25 |
*/
|
26 |
|
27 |
#endif /* end of include guard: MAKE_CODE_MAP_H_ */ |