How can write GPIO function code for freescale i.mx6 ,0 or 1 can be designed to control the command line?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can write GPIO function code for freescale i.mx6 ,0 or 1 can be designed to control the command line?

Jump to solution
1,068 Views
陳冠儒
Contributor IV

hi,all:

Consult all,I want to design a GPIO function code for freescale i.mx6,0 or 1 can be designed to control command  line.

(中譯: 我想要設計一個能在命令列輸入指令的 GPIO function code,主要是要能夠在命令列區下指令控制GPIO 能動作為1或0)

Please help me for everyone,thanks.

Labels (4)
1 Solution
696 Views
igorpadykov
NXP Employee
NXP Employee

Hi 陳 冠儒

it may be recommended to check links below

https://community.freescale.com/docs/DOC-1459

Definitive GPIO guide - Studio Kousagi Wiki

http://falsinsoft.blogspot.com/2012/11/access-gpio-from-linux-user-space.html

Working with GPIO on the Wandboard and Writing an Android Driver for GPIO Interrupts | Using Android...

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

3 Replies
697 Views
igorpadykov
NXP Employee
NXP Employee

Hi 陳 冠儒

it may be recommended to check links below

https://community.freescale.com/docs/DOC-1459

Definitive GPIO guide - Studio Kousagi Wiki

http://falsinsoft.blogspot.com/2012/11/access-gpio-from-linux-user-space.html

Working with GPIO on the Wandboard and Writing an Android Driver for GPIO Interrupts | Using Android...

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

696 Views
陳冠儒
Contributor IV

hi,igorpadykov:

After read the website,I still do not know how to write GPIO control code for send command to control 0 or 1.

Please help me,thanks.

(中譯:去閱讀完您提供的網站後,我還是不知道如何去撰寫可以在命令列下,下達命令去做GPIO control 的程式碼。

         請幫忙我一下,感謝您。

)

0 Kudos
696 Views
陳冠儒
Contributor IV

hi,igorpadykov:

Thank u answer.

I read the website,If there is a problem,I go to ask you.

thanks for your help.

(中譯:感謝您的回答,我去閱讀您提供的網站後,若是還有問題,我再請教於您。

         感謝您的幫忙。

)

0 Kudos