t_lev_decode.h 368 B

12345678910111213141516
  1. #ifndef __T_LEV_DECODE_H_
  2. #define __T_LEV_DECODE_H_
  3. #include "u_global.h"
  4. #if 0
  5. #define MODE_KEY_PORT 1
  6. #define MODE_KEY_PIN 4//Çл»Ä£Ê½£¬Ê±¼ä¿ØÖÆ
  7. extern uint8_t g_ir_recv_done_flag;
  8. extern uint8_t g_ir_code[4];
  9. void clean_ir_status(void);
  10. void t_lev_decode_init(void);
  11. void t_ir_check(uint32_t current_clk);
  12. void t_ir_init(void);
  13. #endif
  14. #endif //_T_LEV_DECODE_H_