X1UWaterWmbusISK/app/UWater_ir_app.h

39 lines
666 B
C

/*
* File: __GP22GAS_IR_APP_H
* Author:
*
* Created on£º2016-3-7
*/
#ifndef __UWater_IR_APP_H
#define __UWater_IR_APP_H
#include "type.h"
#define IR_CONTROL_S0 0
#define IR_CONTROL_S1 1
#define IR_CONTROL_S2 2
#define IR_DEAL_S0 0
#define IR_DEAL_S1 1
void IrInitApp(void);
u8 IrIfSleepApp(void);
u8 IrIfInS0WakeTime(void);
u8 IrCheckStateApp(void);
void IrMachineApp(void);
void IR_Uart_38K_Config(void);
//void IR_Uart_38K_Enable(boolean_t enCmd);
void IR_Uart_38K_PreSleep(void);
void IR_38KCarrier_Close(void);
void IR_38KCarrier_Open(void);
#endif /* __UWater_IR_APP_H */