pwm config data More...
#include <hpm_pwmv2_drv.h>
pwm config data
| pwmv2_async_fault_source_config_t pwmv2_config::async_fault_source |
| uint32_t pwmv2_config::dead_zone_in_half_cycle |
dead zone in half cycle
| bool pwmv2_config::enable_async_fault |
enable the input async faults from pad directly
| bool pwmv2_config::enable_four_cmp |
Enable the four cmp functions
| bool pwmv2_config::enable_output |
enable pwm output
| bool pwmv2_config::enable_sync_fault |
enable the input faults from trig_mux
| uint8_t pwmv2_config::fault_mode |
fault mode
| pwm_fault_recovery_trigger_t pwmv2_config::fault_recovery_trigger |
fault recoverty trigger
| uint8_t pwmv2_config::fault_recovery_trigmux_index |
select one trigger from 8, should set to pulse in trig_mux
| pwm_force_shadow_trigger_t pwmv2_config::force_shadow_trigger |
will load shadow register(force)mode) to force_mode_work at this time
| uint8_t pwmv2_config::force_shadow_trigmux_index |
select one trigger from 8, should set to pulse in trig_mux
| pwm_force_trigger_t pwmv2_config::force_trigger |
| uint8_t pwmv2_config::force_trigmux_index |
select one trigger from 8 as force signal
| bool pwmv2_config::invert_output |
invert pwm output level
| pwm_logic_four_cmp_cfg_t pwmv2_config::logic |
valid only for pwm0/2/4/6 when trig_sel4 is set
| pwm_shadow_register_output_polarity_t pwmv2_config::update_polarity_time |
| uint8_t pwmv2_config::update_trigger |
pwm config update trigger