Project

General

Profile

Statistics
| Revision:

root / proj / project / include / makecode_map.h @ 357

History | View | Annotate | Download (504 Bytes)

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