PWM capture mode
Posted: 2025-06-01 14:58
In rk3506g2 datasheet says that pwm has a capture mode.
Is this function implemented in drivers?
Thunks
Is this function implemented in drivers?
Thunks
Code: Select all
# X should be adjusted according to the actual situation
echo 0 > /sys/class/pwm/pwmchipX/export
cat /sys/class/pwm/pwmchipX/pwm0/capture
Code: Select all
echo 1 > /sys/class/pwm/pwmchipX/pwm0/enable