| | |
| | | |
| | | |
| | | //Âö³å³ÖÐø×î¶Ìʱ¼ä |
| | | #define PULSE_CHECK_DELAY_MS 10U |
| | | #define PULSE_CHECK_DELAY_MS 30U |
| | | |
| | | |
| | | //¸´ÓÃ |
| | |
| | | #define LP_LOSE_CHECK_ENABLE GPIO_SetBits(LP_LOSE_CHECK_EN_PORT,LP_LOSE_CHECK_EN_PIN) |
| | | #define LP_LOSE_CHECK_DISABLE GPIO_ResetBits(LP_LOSE_CHECK_EN_PORT,LP_LOSE_CHECK_EN_PIN) |
| | | //Âö³å¼ì²âIO |
| | | #define LF_PULSE_INT_PORT GPIOA |
| | | #define LF_PULSE_INT_PIN GPIO_Pin_0 |
| | | #define LF_PULSE_INT_PORT GPIOC |
| | | #define LF_PULSE_INT_PIN GPIO_Pin_5 |
| | | #define LF_PULSE_INT_IO_READ GPIO_ReadInputDataBit(LF_PULSE_INT_PORT, LF_PULSE_INT_PIN) |
| | | |
| | | |
| | |
| | | |
| | | void Pulse_And_Alarm_Line_IO_Init(void); |
| | | void PulseAndAlarmLineInit(void); |
| | | void PulseAndAlarmLineCheck(void); |
| | | |
| | | #endif |