summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eos.h
blob: 44570dcb2a464315a6a40e6dc5307517f514515a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdint.h>

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

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

#define EOS_ERR_NET             -20

void eos_init(void);
void eos_start(uint8_t wakeup_cause);