GPIO programming for iMX53SMD

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

GPIO programming for iMX53SMD

1,535 次查看
SandeepKorrapat
Contributor I

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

标记 (2)
0 项奖励
回复
2 回复数

1,160 次查看
SandeepKorrapat
Contributor I

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.

0 项奖励
回复

1,160 次查看
MiroslavIMX53QS
Contributor I
0 项奖励
回复