28 #include "./hal/hal_counter.h" 31 CNT_PWM_ERR_INVALID_PARAM = -1,
32 CNT_PWM_ERR_IN_USE = -2,
33 CNT_PWM_ERR_BAD_STATE = -3,
int hal_cnt_pwm_disable(void *hdl)
Disable PWM.
void * hal_cnt_pwm_open(int id, int port, int pin, int prio)
Open counter PWM.
void hal_cnt_pwm_close(void *hdl)
Close counter PWM.
int hal_cnt_pwm_enable(void *hdl, uint32_t period_usec, uint32_t high_usec)
Enable PWM.