I need a help to write small gpio module for one of my peripheral in IMAX25.
i am using imax25 freescale board where my magnetic swipe card decoder is connected to host by GPIO Pins(K20,M20,L20).
Bascially what i need is:
- Configure the GPIO pins.
- Configure GPIO Pin as an interrupt pin for Card present.
- So once we get interrupt we will read data from the M20 pin.
can some one help for how to achieve it with IMAX25.
or is there any module avliable in freescale BSP so that i can just modify that module.