This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trouble with at91 eb40a board SOLVED


Andrew Lunn wrote:
Now, if I could find out which device drivers exist for the eb40a
target. I have found the serial driver. But is there a driver for
the general IO pins? Or should I just go ahead and use the memory mapped
hardware?


There is no generic driver for GPIO pins. The are probably #defines
for them in the hal_plf.h file. Use those.

more specifically hal/arm/at91/eb40a/current/include/plf_io.h and hal/arm/at91/var/current/include/var_io.h

Look around in the at91/eb40a and at91/var HALs for mentions of PIO to see how the pins are already configured and used.

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]