epicardium.h 320 Bytes
Newer Older
Rahix's avatar
Rahix committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _EPICARDIUM_H
#define _EPICARDIUM_H
#include <stdint.h>

#ifndef API
#  define API(id, def) def
#endif

#define API_UART_WRITE 0x1
API(API_UART_WRITE, void epic_uart_write_str(char*str, intptr_t length));

#define API_UART_READ  0x2
API(API_UART_READ, char epic_uart_read_chr(void));

#endif /* _EPICARDIUM_H */