Gpio beaglebone black
From Teknologisk videncenter
config-pin command
debian@beaglebone:/sys$ config-pin -q P9_16
P9_16 Mode: gpio_pu Direction: in Value: 0
P9_16 (gpio 51) in gpio mode configured as input with pull-up resistor. Current value "0".