34 |
|
|
35 |
#include "arch/cc.h" |
#include "arch/cc.h" |
36 |
|
|
37 |
void * sio_open(u8_t); |
#ifndef __sio_fd_t_defined |
38 |
void sio_send(u8_t, void*); |
typedef void * sio_fd_t; |
39 |
u8_t sio_recv(void *); |
#endif |
|
u32_t sio_read(void *, u8_t *, u32_t); |
|
|
u32_t sio_write(void *, u8_t *, u32_t); |
|
40 |
|
|
41 |
|
#ifndef sio_open |
42 |
|
sio_fd_t sio_open(u8_t); |
43 |
|
#endif |
44 |
|
|
45 |
|
#ifndef sio_send |
46 |
|
void sio_send(u8_t, sio_fd_t); |
47 |
|
#endif |
48 |
|
|
49 |
|
#ifndef sio_recv |
50 |
|
u8_t sio_recv(sio_fd_t); |
51 |
|
#endif |
52 |
|
|
53 |
|
#ifndef sio_read |
54 |
|
u32_t sio_read(sio_fd_t, u8_t *, u32_t); |
55 |
|
#endif |
56 |
|
|
57 |
|
#ifndef sio_write |
58 |
|
u32_t sio_write(sio_fd_t, u8_t *, u32_t); |
59 |
|
#endif |
60 |
|
|
61 |
|
#ifndef sio_read_abort |
62 |
|
void sio_read_abort(void); |
63 |
|
#endif |