26 lines
372 B
C
Raw Normal View History

#ifndef __MW_IR_CONTROLLER_H__
#define __MW_IR_CONTROLLER_H__
#include <stdint.h>
typedef enum
{
ir_decode_up = 0,
ir_decode_down,
ir_decode_left,
ir_decode_right,
ir_decode_ok,
ir_decode_NUM
}IR_DECODE_ENUM;
void mw_IrReceiveProcess(void);
void mw_InitIrController(void);
uint8_t mw_GetIrControllerChar(IR_DECODE_ENUM * eptr_val);
#endif