Hello,
It has been a given to use PWM on the BBB. This fact remains, thankfully.
- What does control the /sys/class/pwm/
export
on the BBB? - What does control the /dev/pwm/
export
on the BBB?
I know this may not make sense. So, I will understand if questioning persists but…
- When I dig around in /dev/pwm/, there are files but initially they got there how?
a. Is it part .dts/.dtsi?
b. Is it part a file on the BBB?
c. Is it a buildrequirement
to make them available in sysfs or devfs?
Seth
P.S. I am not so much interested in the hardware aspect right now but exactly how the functionality
of the PWM interfaces have arrived (if that makes any sense).
Right now, I am using two C files and a H file to handle compilation via gcc of a file for telling me about PWM in /dev/pwm/*
. *
is mentioned b/c I have not singled out what does what yet. I am still testing to find out exactly what polarity goes where and what enable file goes where.
So, I am trying to get more of an explanation of how it came to be currently that it is located on the BBB and from what resource it derived.