October 2017
Intermediate to advanced
586 pages
14h 8m
English
The PWM core sysfs root path is /sys/class/pwm/. It is the user space way to manage PWM devices. Each PWM controller/chip added to the system creates a pwmchipN directory entry under the sysfs root path, where N is the base of the PWM chip. The directory contains the following files:
The PWM channels are numbered using an index from 0 to pwm<n-1>. These numbers are local to the chip. Each PWM channel ...