2024-12-06 09:38:25 +00:00
|
|
|
#ifndef BL_CHARG_CONTROL_H_
|
|
|
|
#define BL_CHARG_CONTROL_H_
|
|
|
|
|
2024-12-16 09:28:12 +00:00
|
|
|
#include "chargControlTypes.h"
|
2024-12-06 13:23:28 +00:00
|
|
|
#include "FM_TIM.h"
|
2024-12-10 10:29:05 +00:00
|
|
|
#include "comm_types.h"
|
2024-12-06 09:38:25 +00:00
|
|
|
|
2025-01-10 03:43:43 +00:00
|
|
|
#define PI_CONTROL_MAX 0.1f
|
|
|
|
#define PI_CONTROL_MIN -0.1f
|
|
|
|
|
2024-12-11 14:11:05 +00:00
|
|
|
BOOL getChargControlFlag(void);
|
2024-12-10 10:29:05 +00:00
|
|
|
void setChargControlFlag(BOOL state);
|
|
|
|
void bl_chargControl(void);
|
2024-12-11 09:51:48 +00:00
|
|
|
void endChargWork(void);
|
|
|
|
void stopChargWork(void);
|
2024-12-11 14:11:05 +00:00
|
|
|
void beginChargWork(void);
|
2024-12-11 09:51:48 +00:00
|
|
|
void startChargWork(void);
|
2024-12-06 09:38:25 +00:00
|
|
|
|
|
|
|
extern void chargControl(void);
|
|
|
|
|
|
|
|
#endif
|