123456789101112131415 |
- #ifndef __LIGHT_DRIVER_H
- #define __LIGHT_DRIVER_H
- #include "stm32f1xx_hal.h"
- #include "var.h"
- #define LIGHT_F_Pin GPIO_PIN_4
- #define LIGHT_F_GPIO_Port GPIOB
- #define LIGHT_B_Pin GPIO_PIN_6
- #define LIGHT_B_GPIO_Port GPIOA
- void LightDriver_Init(void);
- void LightDriver_Process(TrueOrFalse_Flag_Struct_t IsBreakFlag, MC_LightSwitch_Struct_t LightSwitchCode);
- #endif
|