Home
last modified time | relevance | path

Searched refs:pwmx_pin (Results 1 – 1 of 1) sorted by relevance

/bsp/wch/risc-v/Libraries/ch56x_drivers/
A Dch56x_pwm.c26 static const uint8_t pwmx_pin[] = {PWM0_PIN, PWM1_PIN, PWM2_PIN, PWM3_PIN}; variable
59 rt_pin_write(pwmx_pin[channel], polar ? PIN_HIGH : PIN_LOW); in pwm_channel_enable()
177 rt_pin_mode(pwmx_pin[channel], PIN_MODE_OUTPUT); in pwm_device_set()

Completed in 5 milliseconds