int mp_pwm_pair_output_enable(hpm_pwm_pair_t *pwm_pair_t, bool enable)
Enable a pair of PWM waveform outputs ;PWM对波形输出使能
Definition: mp_pwm.c:673
int mp_pwm_output_enable(hpm_pwm_t *pwm_t, bool enable)
Enable the PWM waveform outputs ;PWM波形输出使能
Definition: mp_pwm.c:692
uint8_t mp_pwm_get_mapindex(uint8_t index)
Get the PWM MAP index number of the PWM ;获取PWM MAP数组序号
Definition: mp_pwm.c:143
uint8_t mp_pwm_pair_get_mapindex(uint8_t pair_index)
Get the PWM MAP index number of a pair of PWM ;获取PWM对 MAP数组序号
Definition: mp_pwm.c:130
int mp_pwm_trigger_mux_config(uint8_t type, void *handle)
PWM TRGM (trigger ADC sampling at a specific moment during PWM, etc) ;PWM互联触发配置(PWM某一时刻触发ADC采样等)
Definition: mp_pwm.c:857
int mp_pwm_fault_mux_config(uint8_t type, void *handle)
PWM TRGM for fault protection ;PWM故障保护互联配置
Definition: mp_pwm.c:798
const mp_pwm_trigger_map_t * mp_pwm_get_trigger_map(uint8_t type, uint8_t index)
Get the PWM TRGM for MAP table ;获取PWM互联触发MAP表
Definition: mp_pwm.c:936
uint32_t mp_pwm_pair_get_busfreq(uint8_t pair_index)
Get the bus frequency of a pair of PWM ;获取PWM对总线频率
Definition: mp_pwm.c:156
uint32_t mp_pwm_get_reload(uint8_t index, uint32_t freq)
Get the reload_count of the PWM ;获取PWM重载值reload_count.
Definition: mp_pwm.c:245
int mp_pwm_pair_config(hpm_pwm_pair_t *pwm_pair_t)
A pair of PWM init config ;PWM对初始配置
Definition: mp_pwm.c:257
int mp_pwm_enable_counter(hpm_pwm_t *pwm_t, bool enable)
The PWM counter enables counting ;PWM计数器使能计数
Definition: mp_pwm.c:709
int mp_pwm_config(hpm_pwm_t *pwm_t)
PWM init config ;PWM初始配置
Definition: mp_pwm.c:511
uint32_t mp_pwm_get_busfreq(uint8_t index)
Get the bus frequency of the PWM ;获取PWM总线频率
Definition: mp_pwm.c:196
int mp_pwm_sync_config(hpm_mp_t *mp_t)
PWM synchronous configuration Note: PWM synchronization only supports different PWM controllers ;PWM同...
Definition: mp_pwm.c:967
uint32_t mp_pwm_pair_get_reload(uint8_t pair_index, uint32_t freq)
Get the reload_count of a pair of PWM ;获取PWM对重载值reload_count.
Definition: mp_pwm.c:233
Power MP data structure ;电源MP数据结构
Definition: mp_common.h:582
A pair of PWM data structure ;PWM 对数据结构
Definition: mp_common.h:452
PWM data structure ;PWM 数据结构
Definition: mp_common.h:523
PWM TRGM MAP data structure ;PWM 互联触发MAP数据结构
Definition: mp_common.h:231