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.
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!
-----------------------------------------------------------------------------------------------------------------------