|
| void | pwmv2_deinit (PWMV2_Type *pwm_x) |
| | pwm deinitialize function More...
|
| |
| static void | pwmv2_issue_shadow_register_lock_event (PWMV2_Type *pwm_x) |
| | issue all shawdow register More...
|
| |
| static void | pwmv2_shadow_register_lock (PWMV2_Type *pwm_x) |
| | lock all shawdow register More...
|
| |
| static void | pwmv2_set_counter_reload_trigmux_index (PWMV2_Type *pwm_x, pwm_counter_t counter, uint8_t trig_index) |
| | select one trigger from 8, set to use input signal(selected by cnt_reload_trig) to reload timer More...
|
| |
| static void | pwmv2_enable_multi_counter_sync (PWMV2_Type *pwm_x, uint8_t mask) |
| | Multiple counters are enabled at the same time. More...
|
| |
| static void | pwmv2_start_pwm_output_sync (PWMV2_Type *pwm_x, uint8_t mask) |
| | Multiple pwm out at the same time. More...
|
| |
| static void | pwmv2_shadow_register_unlock (PWMV2_Type *pwm_x) |
| | unlock all shadow register More...
|
| |
| static void | pwmv2_shadow_unlock_bit_mask (PWMV2_Type *pwm_x, uint32_t mask) |
| | The shadow registers can be updated only when related unlock_bit is set. More...
|
| |
| static void | pwmv2_set_shadow_val (PWMV2_Type *pwm_x, uint8_t index, uint32_t value, uint8_t high_resolution_tick, bool enable_half_cycle) |
| | Set the value of the shadow register. More...
|
| |
| static void | pwmv2_force_output (PWMV2_Type *pwm_x, pwm_channel_t chn, pwm_force_mode_t mode, bool invert) |
| | force pwm output More...
|
| |
| static void | pwmv2_enable_four_cmp (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | enable four pwm outputs More...
|
| |
| static void | pwmv2_disable_four_cmp (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | disable four pwm outputs More...
|
| |
| static void | pwmv2_fault_signal_select_from_pad (PWMV2_Type *pwm_x, pwm_channel_t chn, uint8_t pad_index) |
| | Direct selection of the fail signal from the pin. More...
|
| |
| static void | pwmv2_fault_signal_polarity (PWMV2_Type *pwm_x, pwm_channel_t chn, pwm_fault_pad_polarity_t polarity) |
| | Configure the polarity of the fail signal. More...
|
| |
| static void | pwmv2_enable_fault_from_pad (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Enable the fault signal from the pin. More...
|
| |
| static void | pwmv2_disable_fault_from_pad (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Disable the fault signal from the pin. More...
|
| |
| static void | pwmv2_enable_fault_from_trigmux (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Enable the fault signal from the trigmux. More...
|
| |
| static void | pwmv2_disable_fault_from_trigmux (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Disable the fault signal from the trigmux. More...
|
| |
| static void | pwmv2_enable_output_invert (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Enable pwm output invert. More...
|
| |
| static void | pwmv2_disable_output_invert (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Disable pwm output invert. More...
|
| |
| static void | pwmv2_enable_invert_by_shadow (PWMV2_Type *pwm_x, pwm_channel_t chn, pwm_shadow_register_output_polarity_t update_select) |
| | Enable invert operations via shadow registers. More...
|
| |
| static void | pwmv2_disable_invert_by_shadow (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Disable invert operations via shadow registers. More...
|
| |
| static void | pwmv2_channel_enable_output (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Enable pwm output. More...
|
| |
| static void | pwmv2_channel_disable_output (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Disable pwm output. More...
|
| |
| static void | pwmv2_force_update_time_by_shadow (PWMV2_Type *pwm_x, pwm_channel_t chn, pwm_force_shadow_trigger_t update_time) |
| | Forces the output configuration to be updated from the time shadow hosting takes effect. More...
|
| |
| static void | pwmv2_set_fault_mode (PWMV2_Type *pwm_x, pwm_channel_t chn, pwm_fault_mode_t mode) |
| | set the fault mode More...
|
| |
| static void | pwmv2_set_fault_recovery_time (PWMV2_Type *pwm_x, pwm_channel_t chn, pwm_fault_recovery_trigger_t trig) |
| | Set the fault mode recovery time. More...
|
| |
| static void | pwmv2_enable_force_by_hardware (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Trigger forced mode by hardware signal. More...
|
| |
| static void | pwmv2_enable_force_by_software (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Enable force mode triggered by software. More...
|
| |
| static void | pwmv2_disable_force_by_software (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Disable force mode triggered by software. More...
|
| |
| static void | pwmv2_enable_pair_mode (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Enable pwm complementary mode. More...
|
| |
| static void | pwmv2_disable_pair_mode (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Disable pwm complementary mode. More...
|
| |
| static void | pwmv2_set_four_cmp_logic (PWMV2_Type *pwm_x, pwm_channel_t chn, pwm_logic_four_cmp_cfg_t logic) |
| | Configure the logic between the 4 cmp, valid only if the 4 cmp output is enabled. More...
|
| |
| static void | pwmv2_set_force_update_time (PWMV2_Type *pwm_x, pwm_channel_t chn, pwm_force_trigger_t time) |
| | Setting the effective time of forced output. More...
|
| |
| static void | pwmv2_trig_force_mode_select_trigmux_index (PWMV2_Type *pwm_x, pwm_channel_t chn, uint8_t trigmux_index) |
| | Selecting trigmux's signal as a forced mode trigger source. More...
|
| |
| static void | pwmv2_trig_force_hardware_or_software_select_trigmux_index (PWMV2_Type *pwm_x, pwm_channel_t chn, uint8_t trigmux_index) |
| | Selection of trigger signals for software or hardware trigmux. More...
|
| |
| static void | pwmv2_select_force_trigmux_index (PWMV2_Type *pwm_x, pwm_channel_t chn, uint8_t trigmux_index) |
| | Select the trigger source that forces the output to take effect. More...
|
| |
| static void | pwmv2_select_recovery_fault_trigmux_index (PWMV2_Type *pwm_x, pwm_channel_t chn, uint8_t trigmux_index) |
| | Selection of trigger signal for fault recovery. More...
|
| |
| static void | pwmv2_set_dead_area (PWMV2_Type *pwm_x, pwm_channel_t chn, uint32_t dead) |
| | set pwm dead area More...
|
| |
| static void | pwmv2_set_trigout_cmp_index (PWMV2_Type *pwm_x, pwm_channel_t trigmux_chn, uint8_t cmp_index) |
| | Setting the comparator as an input to trigmux. More...
|
| |
| static void | pwmv2_enable_software_force (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Enable software forced output. More...
|
| |
| static void | pwmv2_disable_software_force (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Disable software forced output. More...
|
| |
| static void | pwmv2_enable_software_dac_mode (PWMV2_Type *pwm_x, pwm_dac_channel_t dac_index) |
| | Enable the software dac mode. More...
|
| |
| static void | pwmv2_disable_software_dac_mode (PWMV2_Type *pwm_x, pwm_dac_channel_t dac_index) |
| | Disable the software dac mode. More...
|
| |
| static void | pwmv2_enable_debug_mode (PWMV2_Type *pwm_x) |
| | Enable debug mode. More...
|
| |
| static void | pwmv2_disable_debug_mode (PWMV2_Type *pwm_x) |
| | Disable debug mode. More...
|
| |
| static void | pwmv2_clear_fault_event (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | Clear fault event. More...
|
| |
| static void | pwmv2_enable_shadow_lock_feature (PWMV2_Type *pwm_x) |
| | Using the Shadow Register Function. More...
|
| |
| static void | pwmv2_disable_shadow_lock_feature (PWMV2_Type *pwm_x) |
| | Do not use the shadow register function. More...
|
| |
| static uint32_t | pwmv2_get_counter_working_status (PWMV2_Type *pwm_x, pwm_counter_t counter_index) |
| | Get counter work status. More...
|
| |
| static uint32_t | pwmv2_get_cmp_working_status (PWMV2_Type *pwm_x, uint8_t cmp_index) |
| | Get cmp work status. More...
|
| |
| static uint32_t | pwmv2_get_force_working_status (PWMV2_Type *pwm_x) |
| | Get force mode work status. More...
|
| |
| static uint32_t | pwmv2_get_force_work_out_polarity_status (PWMV2_Type *pwm_x) |
| | Get the status of the output polarity. More...
|
| |
| static uint32_t | pwmv2_get_counter_value (PWMV2_Type *pwm_x, pwm_counter_t counter_index) |
| | Getting the value of a counter. More...
|
| |
| static void | pwmv2_set_dac_value (PWMV2_Type *pwm_x, pwm_dac_channel_t dac_index, uint32_t value) |
| | set dac value More...
|
| |
| static uint32_t | pwmv2_get_capture_posedge_value (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | get capture posedge value More...
|
| |
| static void | pwmv2_capture_selection_input_source (PWMV2_Type *pwm_x, pwm_channel_t chn, pwm_capture_input_select_t select) |
| | Select the input source for the captured signal. More...
|
| |
| static void | pwmv2_set_capture_counter_index (PWMV2_Type *pwm_x, pwm_channel_t chn, uint8_t counter_index) |
| | Set the counter to be used for the capture channel. More...
|
| |
| static uint32_t | pwmv2_get_capture_negedge_value (PWMV2_Type *pwm_x, pwm_channel_t chn) |
| | get capture negedge value More...
|
| |
| static uint32_t | pwmv2_get_irq_status_all (PWMV2_Type *pwm_x) |
| | Get all interrupt status. More...
|
| |
| static void | pwmv2_clear_calculate_overflow_irq_status (PWMV2_Type *pwm_x) |
| | clear calculate overflow irq status More...
|
| |
| static void | pwmv2_enable_calculate_overflow_irq (PWMV2_Type *pwm_x) |
| | enable calculate overflow irq More...
|
| |
| static void | pwmv2_disable_calculate_overflow_irq (PWMV2_Type *pwm_x) |
| | Disable calculate overflow irq. More...
|
| |
| static uint32_t | pwmv2_get_cmp_irq_status (PWMV2_Type *pwm_x) |
| | Get cmp irq status. More...
|
| |
| static void | pwmv2_clear_cmp_irq_status (PWMV2_Type *pwm_x, uint32_t mask) |
| | Clear cmp irq status. More...
|
| |
| static uint32_t | pwmv2_get_reload_irq_status (PWMV2_Type *pwm_x) |
| | Get reload irq status. More...
|
| |
| static void | pwmv2_clear_reload_irq_status (PWMV2_Type *pwm_x, uint32_t mask) |
| | Clear reload irq status. More...
|
| |
| static uint32_t | pwmv2_get_capture_posedge_irq_status (PWMV2_Type *pwm_x) |
| | Get capture posedge irq status. More...
|
| |
| static void | pwmv2_clear_capture_posedge_irq_status (PWMV2_Type *pwm_x, uint32_t mask) |
| | Clear capture posedge irq status. More...
|
| |
| static uint32_t | pwmv2_get_capture_negedge_irq_status (PWMV2_Type *pwm_x) |
| | Get capture negedge irq status. More...
|
| |
| static void | pwmv2_clear_capture_negedge_irq_status (PWMV2_Type *pwm_x, uint32_t mask) |
| | Clear capture negedge irq status. More...
|
| |
| static uint32_t | pwmv2_get_fault_irq_status (PWMV2_Type *pwm_x) |
| | Get fault irq status. More...
|
| |
| static void | pwmv2_clear_fault_irq_status (PWMV2_Type *pwm_x, uint32_t mask) |
| | Clear fault irq status. More...
|
| |
| static uint32_t | pwmv2_get_burstend_irq_status (PWMV2_Type *pwm_x) |
| | Get burstend irq status. More...
|
| |
| static void | pwmv2_clear_burstend__irq_status (PWMV2_Type *pwm_x, uint32_t mask) |
| | Clear burstend irq status. More...
|
| |
| static void | pwmv2_enable_cmp_irq (PWMV2_Type *pwm_x, uint8_t cmp_index) |
| | enable cmp irq More...
|
| |
| static void | pwmv2_disable_cmp_irq (PWMV2_Type *pwm_x, uint8_t cmp_index) |
| | disable cmp irq More...
|
| |
| static void | pwmv2_enable_reload_irq (PWMV2_Type *pwm_x, pwm_counter_t counter_index) |
| | enable reload irq More...
|
| |
| static void | pwmv2_disable_reload_irq (PWMV2_Type *pwm_x, pwm_counter_t counter_index) |
| | disable reload irq More...
|
| |
| static void | pwmv2_enable_capture_posedge_irq (PWMV2_Type *pwm_x, pwm_channel_t channel_index) |
| | enable capture posedge irq More...
|
| |
| static void | pwmv2_disable_capture_posedge_irq (PWMV2_Type *pwm_x, pwm_channel_t channel_index) |
| | disable capture posedge irq More...
|
| |
| static void | pwmv2_enable_capture_nededge_irq (PWMV2_Type *pwm_x, pwm_channel_t channel_index) |
| | enable capture nedege irq More...
|
| |
| static void | pwmv2_disable_capture_nededge_irq (PWMV2_Type *pwm_x, pwm_channel_t channel_index) |
| | disable capture nedege irq More...
|
| |
| static void | pwmv2_enable_fault_irq (PWMV2_Type *pwm_x, pwm_channel_t channel_index) |
| | enable fault irq More...
|
| |
| static void | pwmv2_disable_fault_irq (PWMV2_Type *pwm_x, pwm_channel_t channel_index) |
| | disable fault irq More...
|
| |
| static void | pwmv2_enable_burstend_irq (PWMV2_Type *pwm_x, pwm_counter_t counter_index) |
| | enable burstend irq More...
|
| |
| static void | pwmv2_disable_burstend_irq (PWMV2_Type *pwm_x, pwm_counter_t counter_index) |
| | disable burstend irq More...
|
| |
| static void | pwmv2_enable_dma_at_compare_point (PWMV2_Type *pwm_x, pwm_dma_chn_t dma_channel, uint8_t cmp_index) |
| | enable dma at compare point More...
|
| |
| static void | pwmv2_disable_dma_at_compare_point (PWMV2_Type *pwm_x, pwm_dma_chn_t dma_channel) |
| | disable dma at compare point More...
|
| |
| static void | pwmv2_enable_dma_at_reload_point (PWMV2_Type *pwm_x, pwm_dma_chn_t dma_channel, pwm_counter_t reload_index) |
| | enable dma at reload point More...
|
| |
| static void | pwmv2_disable_dma_at_reload_point (PWMV2_Type *pwm_x, pwm_dma_chn_t dma_channel) |
| | disable dma at reload point More...
|
| |
| static void | pwmv2_reload_select_compare_point0_index (PWMV2_Type *pwm_x, pwm_counter_t counter, uint8_t cmp_index) |
| | select compare point 0 index More...
|
| |
| static void | pwmv2_reload_select_compare_point1_index (PWMV2_Type *pwm_x, pwm_counter_t counter, uint8_t cmp_index) |
| | select compare point 1 index More...
|
| |
| static void | pwmv2_reload_select_input_trigger (PWMV2_Type *pwm_x, pwm_counter_t counter, uint8_t trig_index) |
| | Select the input trigger source for the reload point. More...
|
| |
| static void | pwmv2_set_reload_update_time (PWMV2_Type *pwm_x, pwm_counter_t counter, pwm_reload_update_time_t update) |
| | Set reload update time. More...
|
| |
| static void | pwmv2_counter_set_dac_data_parameter (PWMV2_Type *pwm_x, pwm_counter_t counter, uint8_t dac_parameter) |
| | Set dac data parameter. More...
|
| |
| static void | pwmv2_conuter_select_dac_index (PWMV2_Type *pwm_x, pwm_counter_t counter, pwm_dac_channel_t dac_index) |
| | Select dac index. More...
|
| |
| static void | pwmv2_counter_up_limit_enable (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Enable the upper limit of the calculation unit. More...
|
| |
| static void | pwmv2_counter_up_limit_disable (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Disable the upper limit of the calculation unit. More...
|
| |
| static void | pwmv2_counter_select_up_limit_from_shadow_value (PWMV2_Type *pwm_x, pwm_counter_t counter, uint8_t index) |
| | Select the upper limit from the shadow register. More...
|
| |
| static void | pwmv2_counter_low_limit_enable (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Enable the lower limit of the calculation unit. More...
|
| |
| static void | pwmv2_counter_low_limit_disable (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Disable the lower limit of the calculation unit. More...
|
| |
| static void | pwmv2_counter_select_low_limit_from_shadow_value (PWMV2_Type *pwm_x, pwm_counter_t counter, uint8_t index) |
| | Select the lower limit from the shadow register. More...
|
| |
| static void | pwmv2_counter_select_data_offset_from_shadow_value (PWMV2_Type *pwm_x, pwm_counter_t counter, uint8_t index) |
| | Select data offset from shadow register. More...
|
| |
| static void | pwmv2_counter_enable_reload_by_trig (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | enable counter reload by trigmux More...
|
| |
| static void | pwmv2_counter_disable_reload_by_trig (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | disable counter reload by trigmux More...
|
| |
| static void | pwmv2_counter_update_trig1 (PWMV2_Type *pwm_x, pwm_counter_t counter, uint8_t trig_index) |
| | Select counter update by trigmux1. More...
|
| |
| static void | pwmv2_counter_enable_update_trig1 (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Enable counter update by trigmux1. More...
|
| |
| static void | pwmv2_counter_disable_update_trig1 (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Disable counter update by trigmux1. More...
|
| |
| static void | pwmv2_counter_set_trig1_calculate_cell_index (PWMV2_Type *pwm_x, pwm_counter_t counter, uint8_t cal_index) |
| | Enable change counter value to one of the calculation cell output when cnt_update_triger1 issued. More...
|
| |
| static void | pwmv2_counter_update_trig0 (PWMV2_Type *pwm_x, pwm_counter_t counter, uint8_t trig_index) |
| | Select counter update by trigmux0. More...
|
| |
| static void | pwmv2_counter_enable_update_trig0 (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Enable counter update by trigmux0. More...
|
| |
| static void | pwmv2_counter_disable_update_trig0 (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Disable counter update by trigmux0. More...
|
| |
| static void | pwmv2_counter_set_trig0_calculate_cell_index (PWMV2_Type *pwm_x, pwm_counter_t counter, uint8_t cal_index) |
| | Enable change counter value to one of the calculation cell output when cnt_update_triger0 issued. More...
|
| |
| static void | pwmv2_counter_start_select_trigger_index (PWMV2_Type *pwm_x, pwm_counter_t counter, uint8_t trig_index) |
| | Set trigmux index to start counter. More...
|
| |
| static void | pwmv2_counter_start_trigger_enable (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Enable trigmux to trigger counter initiation. More...
|
| |
| static void | pwmv2_counter_start_trigger_disable (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Disable trigmux to trigger counter initiation. More...
|
| |
| static void | pwmv2_set_counter_burst (PWMV2_Type *pwm_x, pwm_counter_t counter, uint16_t burst) |
| | Set counter burst value. More...
|
| |
| static void | pwmv2_counter_burst_disable (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Disable counter burst function. More...
|
| |
| static void | pwmv2_start_pwm_output (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | start pwm output More...
|
| |
| static void | pwmv2_reset_counter (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Reset pwm counter. More...
|
| |
| static void | pwmv2_enable_counter (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Enable pwm counter. More...
|
| |
| static void | pwmv2_disable_counter (PWMV2_Type *pwm_x, pwm_counter_t counter) |
| | Disable pwm counter. More...
|
| |
| static void | pwmv2_calculate_set_up_limit_parameter (PWMV2_Type *pwm_x, uint8_t cal_index, uint8_t value) |
| | Set calculate up limit parameter. More...
|
| |
| static void | pwmv2_calculate_set_low_limit_parameter (PWMV2_Type *pwm_x, uint8_t cal_index, uint8_t value) |
| | Set calculate low limit parameter. More...
|
| |
| static void | pwmv2_calculate_set_period_parameter (PWMV2_Type *pwm_x, uint8_t cal_index, uint8_t value) |
| | Set calculate period parameter. More...
|
| |
| static void | pwmv2_calculate_set_dac_value_parameter (PWMV2_Type *pwm_x, uint8_t cal_index, uint8_t value) |
| | Set calculate dac value parameter. More...
|
| |
| static void | pwmv2_calculate_select_counter_calculate_index (PWMV2_Type *pwm_x, uint8_t cal_index, uint8_t counter_calculate) |
| | Select calculate index to counter. More...
|
| |
| static void | pwmv2_calculate_select_in_value (PWMV2_Type *pwm_x, uint8_t cal_index, uint8_t index) |
| | Select calculate input value. More...
|
| |
| static void | pwmv2_calculate_enable_up_limit (PWMV2_Type *pwm_x, uint8_t cal_index) |
| | enable calculate up limit More...
|
| |
| static void | pwmv2_calculate_disable_up_limit (PWMV2_Type *pwm_x, uint8_t cal_index) |
| | disable calculate up limit More...
|
| |
| static void | pwmv2_calculate_select_up_limit_offset (PWMV2_Type *pwm_x, uint8_t cal_index, uint8_t shadow_index) |
| | Select up limit offset from shadow index. More...
|
| |
| static void | pwmv2_calculate_select_low_limit_offset (PWMV2_Type *pwm_x, uint8_t cal_index, uint8_t shadow_index) |
| | Select low limit offset from shadow index. More...
|
| |
| static void | pwmv2_calculate_select_in_offset (PWMV2_Type *pwm_x, uint8_t cal_index, uint8_t shadow_index) |
| | Select offset from shadow index. More...
|
| |
| static void | pwmv2_calculate_enable_low_limit (PWMV2_Type *pwm_x, uint8_t cal_index) |
| | enable low limit More...
|
| |
| static void | pwmv2_calculate_disable_low_limit (PWMV2_Type *pwm_x, uint8_t cal_index) |
| | disable low limit More...
|
| |
| static void | pwmv2_select_cmp_trigmux (PWMV2_Type *pwm_x, uint8_t cmp_index, uint8_t trig_index) |
| | Select cmp trigmux index. More...
|
| |
| static void | pwmv2_cmp_update_trig_time (PWMV2_Type *pwm_x, uint8_t cmp_index, pwm_cmp_shadow_register_update_trigger_t trig_time) |
| | Select cmp update trigmux time. More...
|
| |
| static void | pwmv2_select_cmp_source (PWMV2_Type *pwm_x, uint8_t cmp_index, pwm_cmp_source_t cmp_sel, uint8_t index) |
| | Select cmp source. More...
|
| |
| static void | pwmv2_cmp_select_counter (PWMV2_Type *pwm_x, uint8_t cmp_index, pwm_counter_t counter_index) |
| | Select cmp use counter. More...
|
| |
| void | pwmv2_config_cmp (PWMV2_Type *pwm_x, uint8_t index, pwmv2_cmp_config_t *config) |
| | config pwm cmp More...
|
| |
| void | pwmv2_config_async_fault_source (PWMV2_Type *pwm_x, pwm_channel_t index, pwmv2_async_fault_source_config_t *config) |
| | config async fault source More...
|
| |
| void | pwmv2_config_pwm (PWMV2_Type *pwm_x, pwm_channel_t index, pwmv2_config_t *config, bool enable_pair_mode) |
| | config pwm More...
|
| |
| hpm_stat_t | pwmv2_setup_waveform (PWMV2_Type *pwm_x, pwm_channel_t chn, pwmv2_config_t *pwm_config, uint8_t cmp_start_index, pwmv2_cmp_config_t *cmp, uint8_t cmp_num) |
| | Set pwm waveform. More...
|
| |
| hpm_stat_t | pwmv2_setup_waveform_in_pair (PWMV2_Type *pwm_x, pwm_channel_t chn, pwmv2_pair_config_t *pwm_pair_config, uint8_t cmp_start_index, pwmv2_cmp_config_t *cmp, uint8_t cmp_num) |
| | set the pwm waveform complementary mode More...
|
| |
| void | pwmv2_setup_cmp_calculate (PWMV2_Type *pwm_x, uint8_t cal_index, pwmv2_cmp_calculate_cfg_t *cal) |
| | Configure the cmp calculate unit. More...
|
| |