PWM output parameters. More...
#include <hpm_bldc_define.h>
Data Fields | |
| uint8_t | i_motor_id |
| uint8_t | i_sync_id |
| uint32_t | pwm_u |
| uint32_t | pwm_v |
| uint32_t | pwm_w |
| uint32_t | i_pwm_reload |
| void(* | func_set_pwm )(void *str) |
PWM output parameters.
| void(* bldc_control_pwmout_par::func_set_pwm) (void *str) |
pwm output function
| uint8_t bldc_control_pwmout_par::i_motor_id |
Motor id BLDC_MOTOR0_INDEX ... BLDC_MOTOR3_INDEX
| uint32_t bldc_control_pwmout_par::i_pwm_reload |
pwm reload value, pwm configuration related
| uint8_t bldc_control_pwmout_par::i_sync_id |
Synchronization id
| uint32_t bldc_control_pwmout_par::pwm_u |
u pwm duty cycle
| uint32_t bldc_control_pwmout_par::pwm_v |
v pwm duty cycle
| uint32_t bldc_control_pwmout_par::pwm_w |
w pwm duty cycle