[En-Nut-Discussion] GCC + TWIF Problem
filip haglund
filiphag at hotmail.com
Fri Mar 12 15:32:01 CET 2004
I have problem to get the twif funktions to work under GCC compiler but
under
the imagecraft compiler it works fine.
i dont get any compiler error under GCC but the function TwMasterTransact
don't
return the registervalues I requested from my sta013 chip.
I have checked with an oscilloscope on the I2C bus and all the data is right
but the function
TwMasterTransact(I2C_SubAddr, txdata, 1, rxdata, 1, 150)
always return the value 0
Any ideas about how to solve this ?
Filip Haglund!
_________________________________________________________________
Hitta rätt på nätet med MSN Sök http://search.msn.se/
More information about the En-Nut-Discussion
mailing list