herrhotzenplotz/libpwm

Autoconfigure pin functions

herrhotzenplotz opened this issue · 0 comments

Currently, the library doesn't configure the pins function to the
correct alt5 or alt0 value.

See nodes:

$ sysctl -a | grep alt0
dev.gpio.0.pin.43.function: alt0
dev.gpio.0.pin.42.function: alt0
dev.gpio.0.pin.41.function: alt0
dev.gpio.0.pin.40.function: alt0
dev.gpio.0.pin.15.function: alt0
dev.gpio.0.pin.14.function: alt0
dev.gpio.0.pin.11.function: alt0
dev.gpio.0.pin.10.function: alt0
dev.gpio.0.pin.9.function: alt0
dev.gpio.0.pin.3.function: alt0
dev.gpio.0.pin.2.function: alt0
$