summaryrefslogtreecommitdiff
path: root/code/fe310/eos/cell.h
blob: badce3ddb69cfe28f35832e715ec408b41c66fd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdint.h>
#include "event.h"

#define EOS_CELL_MTYPE_DATA         0
#define EOS_CELL_MTYPE_AUDIO        1

#define EOS_CELL_MTYPE_DATA_START   2
#define EOS_CELL_MTYPE_DATA_STOP    3

#define EOS_CELL_MTYPE_AUDIO_START  2
#define EOS_CELL_MTYPE_AUDIO_STOP   3

#define EOS_CELL_MAX_MTYPE          2

void eos_cell_init(void);
void eos_cell_set_handler(int mtype, eos_evt_fptr_t handler, uint8_t flags);