root / proj / project / include / makecode_map.h @ 356
History | View | Annotate | Download (486 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 | * @brief Makecode map.
|
||
7 | *
|
||
8 | * @{
|
||
9 | */
|
||
10 | |||
11 | #include <stdint.h> |
||
12 | |||
13 | 345 | up20180642 | /// @brief Error code
|
14 | 271 | up20180655 | #define ERROR_CODE 0 |
15 | |||
16 | /**
|
||
17 | * @brief Maps make code into char
|
||
18 | * @param code Make code to map.
|
||
19 | 345 | up20180642 | * @return ERROR_CODE if code char isn't valid, otherwise the character.
|
20 | 271 | up20180655 | */
|
21 | char (map_makecode)(uint8_t code);
|
||
22 | |||
23 | 340 | up20180642 | /**
|
24 | * @}
|
||
25 | */
|
||
26 | |||
27 | 271 | up20180655 | #endif /* end of include guard: MAKE_CODE_MAP_H_ */ |