OSDN Git Service

eaf672e6c19895b889421ae618ed7647c4050c4f
[kozos-expbrd/kozos_expbrd.git] / firm / sample / simple_mp3_player / os / defines.h
1 #ifndef _DEFINES_H_INCLUDED_
2 #define _DEFINES_H_INCLUDED_
3
4 #define NULL ((void *)0)
5 #define SERIAL_DEFAULT_DEVICE 1
6 #define TIMER_DEFAULT_DEVICE  1
7
8 typedef char  int8;
9 typedef short int16;
10 typedef long  int32;
11 typedef unsigned char  uint8;
12 typedef unsigned short uint16;
13 typedef unsigned long  uint32;
14
15 typedef uint32 kz_thread_id_t;
16 typedef int (*kz_func_t)(int argc, char *argv[]);
17 typedef void (*kz_handler_t)(void);
18
19 typedef enum {
20   MSGBOX_ID_CONSINPUT = 0,
21   MSGBOX_ID_CONSOUTPUT,
22   MSGBOX_ID_TIMDRIVE,
23   MSGBOX_ID_TIMEXPIRE,
24   MSGBOX_ID_AUDIO,
25   MSGBOX_ID_DISPLAY,
26   MSGBOX_ID_MENU,
27   MSGBOX_ID_NUM
28 } kz_msgbox_id_t;
29
30 #endif