On 2007-02-18, Grant Edwards <[EMAIL PROTECTED]> wrote:
> 2) There doesn't seem to be any way to determine when writing
> zero bytes of data with cyg_i2c_tx() whether the operation
> was successful or not, since it returns 0 for both cases. I
> presume one should use the lower-level "transaction"
> routines for this case?
That doesn't seem to work. i2c_transaction_tx always seems to
write an extra byte. If I tell it to send 1 byte, it sends 2.
How do I send a single byte on the i2c bus??
--
Grant Edwards grante Yow! .. the MYSTERIANS are
at in here with my CORDUROY
visi.com SOAP DISH!!
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss