T1020 GPIO Programming

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

T1020 GPIO Programming

536 Views
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 Kudos
1 Reply

449 Views
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 Kudos