Ori Idan wrote:

.. snip ..
>
>
>
>     Should I
>
>     a) set a timer, wait for the timer to go off, and then start over at
>     step 1 or
>     b) set the timer, write the address to I2DAT, and then wait for the
>     timer then check DONE and BERR both.
>
>     Thanks for helping noobs!
>     Dennis
>
>
> If I recall correctly, you should use option a. set a timer and then 
> start over at step 1.
>
Thank you for the reply.  That is what I'm thinking as well.  It seems 
to me you need to rewrite the i2c address to I2DAT if there was a bus 
error but the TRM isn't really clear on that particular point.  Either 
way, I'm sure starting over isn't going to break the algorithm.

-Dennis

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to