summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eos.h
blob: 75cd0cdcf01c1ffb8f5a9863b30205d94358ecc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdint.h>

#define EOS_OK                  0
#define EOS_ERR                 -1
#define EOS_ERR_TIMEOUT         -2
#define EOS_ERR_BUSY            -3

#define EOS_ERR_SIZE            -10
#define EOS_ERR_FULL            -11
#define EOS_ERR_EMPTY           -12
#define EOS_ERR_NOTFOUND        -13

#define EOS_ERR_NOMEM           -100

#define EOS_ERR_NET             -20

#define EOS_DEBUG               1

uint8_t eos_init(void);
void eos_run(void);
void eos_run_once(void);