2024-12-06 13:23:28 +00:00
|
|
|
|
|
|
|
#ifndef FM_PWM_CONTORL_H_
|
|
|
|
#define FM_PWM_CONTORL_H_
|
|
|
|
|
|
|
|
#include "HD_TIM.h"
|
|
|
|
|
2024-12-07 09:52:46 +00:00
|
|
|
void tim_Init(void);
|
|
|
|
void pwm_Stop(void);
|
2024-12-06 13:23:28 +00:00
|
|
|
void set_pwmDutyRatio(float DutyRatio);
|
2024-12-11 09:51:48 +00:00
|
|
|
// void set_pwmPulse(uint32_t Pulse);
|
2024-12-06 13:23:28 +00:00
|
|
|
|
|
|
|
extern void chargControl(void);
|
2024-12-07 09:52:46 +00:00
|
|
|
extern void checkAbnormal(void);
|
2024-12-09 09:53:43 +00:00
|
|
|
extern void hw_inc_tick(void);
|
2024-12-06 13:23:28 +00:00
|
|
|
|
2024-12-14 09:52:26 +00:00
|
|
|
extern void setTotalElectricityConsumption(void);
|
|
|
|
extern void setTotalChargCapacity(void);
|
|
|
|
|
2024-12-06 13:23:28 +00:00
|
|
|
#endif
|