00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00053 #ifndef ti_sdo_dmai_Ir_h_
00054 #define ti_sdo_dmai_Ir_h_
00055
00056 #include <xdc/std.h>
00057
00058 #include <ti/sdo/dmai/Dmai.h>
00059
00062
00066 typedef enum {
00067 Ir_Key_POWER = 0x300c,
00068 Ir_Key_CHANINC = 0x3020,
00069 Ir_Key_CHANDEC = 0x3021,
00070 Ir_Key_VOLINC = 0x3010,
00071 Ir_Key_VOLDEC = 0x3011,
00072 Ir_Key_UP = 0x301c,
00073 Ir_Key_DOWN = 0x301d,
00074 Ir_Key_LEFT = 0x302c,
00075 Ir_Key_RIGHT = 0x302b,
00076 Ir_Key_OK = 0x302e,
00077 Ir_Key_MUTE = 0x300d,
00078 Ir_Key_MENUDONE = 0x300f,
00079 Ir_Key_INFOSELECT = 0x300f,
00080 Ir_Key_SLEEP = 0x3026,
00081 Ir_Key_SUBTITLE = 0x30cb,
00082 Ir_Key_REPEAT = 0x3022,
00083 Ir_Key_1 = 0x3001,
00084 Ir_Key_2 = 0x3002,
00085 Ir_Key_3 = 0x3003,
00086 Ir_Key_4 = 0x3004,
00087 Ir_Key_5 = 0x3005,
00088 Ir_Key_6 = 0x3006,
00089 Ir_Key_7 = 0x3007,
00090 Ir_Key_8 = 0x3008,
00091 Ir_Key_9 = 0x3009,
00092 Ir_Key_0 = 0x3000,
00093 Ir_Key_ENTER = 0x2039,
00094 Ir_Key_INPUT = 0x20ff,
00095 Ir_Key_REWIND = 0x3172,
00096 Ir_Key_PLAY = 0x3175,
00097 Ir_Key_FASTFORWARD = 0x3174,
00098 Ir_Key_RECORD = 0x3177,
00099 Ir_Key_STOP = 0x3176,
00100 Ir_Key_PAUSE = 0x3169,
00101 } Ir_Key;
00102
00106 typedef struct Ir_Object *Ir_Handle;
00107
00112 typedef struct Ir_Attrs {
00114 Int dummy;
00115 } Ir_Attrs;
00116
00120 extern const Ir_Attrs Ir_Attrs_DEFAULT;
00121
00122 #if defined (__cplusplus)
00123 extern "C" {
00124 #endif
00125
00132 extern Ir_Handle Ir_create(Ir_Attrs *attrs);
00133
00145 extern Int Ir_getKey(Ir_Handle hIr, Ir_Key *key);
00146
00157 extern Int Ir_delete(Ir_Handle hIr);
00158
00159 #if defined (__cplusplus)
00160 }
00161 #endif
00162
00165 #endif