Hi All,
I am pretty new to embedded programming. I would like to write a program Turn ON / OFF an LED. But, am little confused as to how one can configure IOMUX to select GPIO mode from a c/c++ code.
It would be great if someone can provide a sample code for this.
Thanks in advance.
-Sandeep
Hi Miroslav,
Yes I did, the problem with the other topics I have found are explained through API calls of Liunx.
For my project, I cannot use Linux calls, I have the memory regions of GPIO and the IOMUX registers from the refenrece manual. Now I have to use these address regions to set the IOMUX mode to GPIO and toggle GPIO.
It would be great if someone can provide an example for this.
Have you looked the other topics?
http://imxcommunity.org/forum/topics/controlling-gpio-and-user-s-buttons