58 #ifndef FOXBMS__PWM_H_
59 #define FOXBMS__PWM_H_
86 #ifdef UNITY_UNIT_TEST
87 extern int16_t TEST_PWM_GetLinearOffset(
void);
General macros and definitions for the whole platform.
void PWM_SetDutyCycle(uint16_t dutyCycle_perm)
Set the duty cycle of the PWM (currently only channel 1A)
void PWM_StopPwm(void)
Stop the PWM (stops all configured ePWM channels)
void PWM_StartPwm(void)
Start the PWM (starts all configured ePWM channels)