volatile unsigned int LearnHighTime; //学习按键去抖时间 volatile unsigned int LearnLowTime; volatile unsigned char LearnFlag; //学习按键状态标志 volatile unsigned int LearnMotoTime; volatile unsigned char LearnWinFlag;
volatile unsigned int WinStatusTime; //车窗状态引脚检测去抖时间 volatile unsigned char WinFlag; //车窗状态标志: 0xA5车窗关闭, 0x5A车窗打开
volatile unsigned int AccHighTime; //ACC引脚检测高电平去抖动时间 volatile unsigned char AccLowTime; //ACC引脚检测低电平去抖动时间 volatile unsigned char AccFlag; //ACC状态标志: 0xA5 ACC打开,0X5A ACC关闭
volatile unsigned int LockHighTime; //LOCK引脚检测高电平去抖动时间 volatile unsigned char LockLowTime; //LOCK引脚检测低电平去抖动时间 volatile unsigned char LockFlag; //LOCK状态标志: 0xa5 有信号 0x5a 无信号
volatile unsigned int RiseTime; //升窗时间计数器 volatile unsigned char System; |