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