How to program GPIO for S3C2440/ARM920T - QNX Neutrino
3/23/2010 10:28 AM EDT
I am using S3C2440 development kit with QNX RTOS loaded. I want to program the general purpose IO pin, but I don't know how. I know there are at least 3 registers associated with each port (e.g GPDCON, GPDDAT, GPDUP), but how do I configure/write to these registers?
Should I use mmap_device_io(), mmap_device_memory(), out32() or what?