55 lines
859 B
C
55 lines
859 B
C
#ifndef _DMK_VF12_03_H
|
|
#define _DMK_VF12_03_H
|
|
|
|
|
|
#include "r_cg_macrodriver.h"
|
|
|
|
#include "r_cg_userdefine.h"
|
|
|
|
|
|
|
|
/***********************************************/
|
|
|
|
#define IGN_ON 0u
|
|
#define IGN_OFF 1u
|
|
|
|
typedef enum
|
|
{
|
|
BattStatus_Init = 0u,
|
|
BattStatus_Normal,
|
|
BattStatus_UV,
|
|
BattStatus_OV,
|
|
BattStatus_NUM,
|
|
}BATT_STATUS_Type;
|
|
|
|
|
|
|
|
|
|
void Apply_task(void);
|
|
|
|
|
|
|
|
/**************************VF12*************************************/
|
|
extern unsigned char Timer_1ms_flag;
|
|
extern unsigned char Timer_5ms_flag;
|
|
extern unsigned char Timer_10ms_flag;
|
|
extern unsigned char Timer_20ms_flag;
|
|
extern unsigned char Timer_50ms_flag;
|
|
extern unsigned char Timer_1000ms_flag;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void KeyPro(void);
|
|
void value_init(void);
|
|
void HardWare_Init(void);
|
|
void R_MAIN_UserInit(void);
|
|
void Timer_Pro(void);
|
|
void UART_Rx_Pro(uint8_t data);
|
|
|
|
|
|
|
|
#endif |