This is the mail archive of the ecos-discuss@sourceware.org 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]

I2C and SPI porting help


Hello there.

I'm working with a AEB-1 board and I implemented the SPI and I2C buses with 
bit bang but now I would like to migrate my code to use the cyg_i2c_* and 
cyg_spi_* infrastructure. 

I read the hardware porting guide but I still need some more info.
Can anyone point me in the right direction? Maybe give a example?
I read that I only need some basic io in some functions and I need to pass the 
function pointer to the I2C/SPI struct.

Do I need to add something in the packages/dev/spi... or can I use it in my 
own application?

Any information would be gladly appreciated

WBR
Carlos Sobrinho
-- 
#############################################################################
# How do I get HOME?                                                        #
#############################################################################

Attachment: pgp00000.pgp
Description: PGP signature


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