root / proj / include / makecode_map.h @ 291
History | View | Annotate | Download (373 Bytes)
1 | 271 | up20180655 | #ifndef MAKE_CODE_MAP_H_
|
---|---|---|---|
2 | #define MAKE_CODE_MAP_H_
|
||
3 | |||
4 | #define BASE_CODE 0x02 |
||
5 | #define ERROR_CODE 0 |
||
6 | |||
7 | #include <stdint.h> |
||
8 | |||
9 | /**
|
||
10 | * @brief Maps make code into char
|
||
11 | * @param code Make code to map.
|
||
12 | * @return 0 if the char isn't valid, otherwise the character.
|
||
13 | */
|
||
14 | char (map_makecode)(uint8_t code);
|
||
15 | |||
16 | #endif /* end of include guard: MAKE_CODE_MAP_H_ */ |