diff options
Diffstat (limited to 'code/fe310/eos/cell.h')
-rw-r--r-- | code/fe310/eos/cell.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/code/fe310/eos/cell.h b/code/fe310/eos/cell.h new file mode 100644 index 0000000..7691ff6 --- /dev/null +++ b/code/fe310/eos/cell.h @@ -0,0 +1,17 @@ +#include <stdint.h> +#include "event.h" + +#define EOS_CELL_MTYPE_READY 0 +#define EOS_CELL_MTYPE_DATA 1 +#define EOS_CELL_MTYPE_AUDIO 2 + +#define EOS_CELL_MTYPE_DATA_START 4 +#define EOS_CELL_MTYPE_DATA_STOP 5 + +#define EOS_CELL_MTYPE_AUDIO_START 6 +#define EOS_CELL_MTYPE_AUDIO_STOP 7 + +#define EOS_CELL_MAX_MTYPE 4 + +void eos_cell_init(void); +void eos_cell_set_handler(unsigned char mtype, eos_evt_handler_t handler);
\ No newline at end of file |