Gumstix GPIO

# pxaregs GPDR1_58

GPIO 58 i/o direction (1=output)
GPDR1_58 0x04bfaaa1 00000100 10111111 10101010 10100001GPDR1_58 1 GPIO 58 i/o direction (1=output)

# pxaregs GPCR1_58 1
# pxaregs GPSR1_58 1

# cat /proc/gpio/GPIO58
58 AF2 in clear
# echo “AF1 out”>/proc/gpio/GPIO58
# cat /proc/gpio/GPIO58
58 AF1 out clear
# echo “GPIO out set”>/proc/gpio/GPIO58

Advertisements

~ by nambabwe on 2007/06/26.

 
%d bloggers like this: