Gpio mapping with the banks

Started by akhil, December 18, 2018, 02:40:09 PM

Previous topic - Next topic



     I was trying a header file that maps the gpio pins. Below is the link from where i got the gpio-mmap.h file.

Could someone please help me with the mapping of the banks?
In this, the parameter to the gpio_output is bank and bit numbers and I am not sure where to find it. Any help is greatly appreciated!
Thank you


Search the web for "i.MX23 Applications Processor Reference Manual" or IMX23RM.pdf

Do you bare metal or linux based programming? If you are on linux, I'd strongly recommend to use a kernel driver instead of writing to the registers directly.