From: "Hans J. Koch" <hjk-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
To: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
Subject: Two start conditions for PCA9554
Date: Tue, 29 Apr 2008 15:11:14 +0200 [thread overview]
Message-ID: <20080429131114.GF3195@local> (raw)
I have an embedded board with a PCA9554 on it. It's an 8-bit IO expander
similar to the PCF8574 in mainline. One difference is that when reading
from the inputs, you have to do the following:
- start condition
- send slave address, R/W=0
- send command (0x00 = read input register)
- issue another start condition (!)
- send slave address, R/W=1
- read data
- stop condition
Can such a protocol be handled by the i2c subsystem?
Thanks,
Hans
_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c
next reply other threads:[~2008-04-29 13:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-29 13:11 Hans J. Koch [this message]
2008-04-30 21:26 ` Two start conditions for PCA9554 Trent Piepho
[not found] ` <Pine.LNX.4.58.0804301422140.9894-13q4cmjDBaTP3RPoUHIrnuTW4wlIGRCZ@public.gmane.org>
2008-05-01 20:39 ` Hans J. Koch
-- strict thread matches above, loose matches on Subject: below --
2008-05-01 6:01 David Brownell
[not found] ` <200804302301.56732.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2008-05-01 20:35 ` Hans J. Koch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080429131114.GF3195@local \
--to=hjk-hfztesqfncyowbw4kg4ksq@public.gmane.org \
--cc=i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.