T1020 GPIO Programming

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

T1020 GPIO Programming

1,025件の閲覧回数
eshwarchand
Contributor I

Hi,

I started a new project which is having T1020 processor.i downloaded the code warrior ide and installed.first i am trying to write the gpio code. i read the gpio registers in user manual.GPIO1_GPDIR = 0xffffffff; i wrote the this for port1 direction as output but it shows the error GPIO1_GPDIR is undeclared.where can i get the T1020 header file.

0 件の賞賛
返信
1 返信

938件の閲覧回数
Pavel
NXP Employee
NXP Employee

Look at attached files. These files are available in u-boot source folder for the T1040RDB board. Draw attention that the t104xrdb.c uses the immap_85xx.h.

Use GPIO register from this file.


Have a great day,
Pavel Chubakov

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

0 件の賞賛
返信