123456789101112131415161718192021222324 |
- #ifndef __BATTERY_DISPLAY_APP_H
- #define __BATTERY_DISPLAY_APP_H
- #include "stm32f1xx_hal.h"
- #define ONE_Pin GPIO_PIN_15
- #define ONE_GPIO_Port GPIOB
- #define TWO_Pin GPIO_PIN_11
- #define TWO_GPIO_Port GPIOB
- #define THREE_Pin GPIO_PIN_10
- #define THREE_GPIO_Port GPIOB
- #define FOUR_Pin GPIO_PIN_12
- #define FOUR_GPIO_Port GPIOB
- #define CHARGING_TIME 200
- #define LOW_POWER_TIME 100
- #define VERY_LOW_POWER_TIME 50
- void Battery_Information_Process(void);
- void Charging_Status_Battery_Display(uint8_t Soc);
- void Normal_Work_Battery_Display(uint8_t Soc);
- #endif //__BATTERY_DISPLAY_APP_H
|