19#include "tuya_cloud_types.h"
pwm config
Definition: tuya_cloud_types.h:629
OPERATE_RET tkl_pwm_deinit(TUYA_PWM_NUM_E ch_id)
pwm deinit
OPERATE_RET tkl_pwm_stop(TUYA_PWM_NUM_E ch_id)
pwm stop
OPERATE_RET tkl_pwm_info_get(TUYA_PWM_NUM_E ch_id, TUYA_PWM_BASE_CFG_T *info)
get pwm info
OPERATE_RET tkl_pwm_info_set(TUYA_PWM_NUM_E ch_id, CONST TUYA_PWM_BASE_CFG_T *info)
set pwm info
OPERATE_RET tkl_pwm_duty_set(TUYA_PWM_NUM_E ch_id, UINT32_T duty)
pwm duty set
OPERATE_RET tkl_pwm_multichannel_stop(TUYA_PWM_NUM_E *ch_id, UINT8_T num)
multiple pwm channel stop
OPERATE_RET tkl_pwm_start(TUYA_PWM_NUM_E ch_id)
pwm start
OPERATE_RET tkl_pwm_multichannel_start(TUYA_PWM_NUM_E *ch_id, UINT8_T num)
multiple pwm channel start
OPERATE_RET tkl_pwm_frequency_set(TUYA_PWM_NUM_E ch_id, UINT32_T frequency)
pwm frequency set
OPERATE_RET tkl_pwm_polarity_set(TUYA_PWM_NUM_E ch_id, TUYA_PWM_POLARITY_E polarity)
pwm polarity set
OPERATE_RET tkl_pwm_init(TUYA_PWM_NUM_E ch_id, CONST TUYA_PWM_BASE_CFG_T *cfg)
pwm init