From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21722 invoked by alias); 18 Feb 2007 18:57:28 -0000 Received: (qmail 21709 invoked by uid 22791); 18 Feb 2007 18:57:27 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 18 Feb 2007 18:57:22 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HIrDn-0001tK-Ej for ecos-discuss@sources.redhat.com; Sun, 18 Feb 2007 19:57:15 +0100 Received: from grante.dsl.visi.com ([208.42.141.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Feb 2007 19:57:15 +0100 Received: from grante by grante.dsl.visi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Feb 2007 19:57:15 +0100 To: ecos-discuss@sources.redhat.com From: Grant Edwards Date: Sun, 18 Feb 2007 18:57:00 -0000 Message-ID: References: User-Agent: slrn/0.9.8.1 (Linux) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: i2c questions X-SW-Source: 2007-02/txt/msg00187.txt.bz2 On 2007-02-18, Grant Edwards 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