portux panel pc how to use user programmable io lines

I want to know how to read the 6 user programmable io lines on x27 keyboard connector , is it possible to have a sample c software.
Thanks

Re: portux panel pc how to use user programmable io lines

Please refer to the led example on our Linux-Starterkit-CD to get hardware access from user-space via mmap. The register you need for reading a pin's value is PDSR. It's definition can be found in the processor's manual (AT91RM9200) also available on the CD or at atmel.com.

Syndicate content