Project

General

Profile

Statistics
| Revision:

root / proj / include / makecode_map.h @ 353

History | View | Annotate | Download (486 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
/// @brief Error code
14
#define ERROR_CODE      0
15

    
16
/**
17
 * @brief Maps make code into char
18
 * @param code      Make code to map.
19
 * @return ERROR_CODE if code 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_ */