All of lore.kernel.org
 help / color / mirror / Atom feed
* IIC write
@ 2000-10-04 18:25 ajay.kunnath
  2000-10-04 19:57 ` Dan Malek
  0 siblings, 1 reply; 2+ messages in thread
From: ajay.kunnath @ 2000-10-04 18:25 UTC (permalink / raw)
  To: linuxppc-embedded


Hello,

I need to write some data into an EEPROM using the iic bus. From the MPC860
user manual I was not able to figure out the method to send the trasmit
buffer.

As per the manual, I need to mention the device address as the first byte to
be transmitted i.e. first byte in tbdf->cbd_bufadr . If so, where do I
mention
the actual buffer which contains the data that needs to be written to the
EEPROM ?

I would greatly appreciate any help.

Thanks,
Ajay

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IIC write
  2000-10-04 18:25 IIC write ajay.kunnath
@ 2000-10-04 19:57 ` Dan Malek
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Malek @ 2000-10-04 19:57 UTC (permalink / raw)
  To: ajay.kunnath; +Cc: linuxppc-embedded


ajay.kunnath@exgate.tek.com wrote:

> As per the manual, I need to mention the device address as the first byte to
> be transmitted i.e. first byte in tbdf->cbd_bufadr . If so, where do I
> mention
> the actual buffer which contains the data that needs to be written to the
> EEPROM ?

In the same buffer following the device byte, or in a following BD
when the buffer containing the device byte does not have the last (L)
indicator in the BD control/status.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-10-04 19:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-04 18:25 IIC write ajay.kunnath
2000-10-04 19:57 ` Dan Malek

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.