diff options
Diffstat (limited to 'code/fe310/eos/cell.h')
-rw-r--r-- | code/fe310/eos/cell.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/code/fe310/eos/cell.h b/code/fe310/eos/cell.h index 2103c72..7691ff6 100644 --- a/code/fe310/eos/cell.h +++ b/code/fe310/eos/cell.h @@ -1,16 +1,17 @@ #include <stdint.h> #include "event.h" -#define EOS_CELL_MTYPE_DATA 0 -#define EOS_CELL_MTYPE_AUDIO 1 +#define EOS_CELL_MTYPE_READY 0 +#define EOS_CELL_MTYPE_DATA 1 +#define EOS_CELL_MTYPE_AUDIO 2 -#define EOS_CELL_MTYPE_DATA_START 2 -#define EOS_CELL_MTYPE_DATA_STOP 3 +#define EOS_CELL_MTYPE_DATA_START 4 +#define EOS_CELL_MTYPE_DATA_STOP 5 -#define EOS_CELL_MTYPE_AUDIO_START 4 -#define EOS_CELL_MTYPE_AUDIO_STOP 5 +#define EOS_CELL_MTYPE_AUDIO_START 6 +#define EOS_CELL_MTYPE_AUDIO_STOP 7 -#define EOS_CELL_MAX_MTYPE 2 +#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 |