lkml.org 
[lkml]   [2008]   [May]   [27]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 27 May 2008 12:20:09 +0530
From"Veda N" <>
Subjecti2c writes different sizes
Hi,
   I am writing a kernel module that makes lots of i2c writes.

   Each write is different. Some writes need only device command and data.
   Some need device command, <some more paramters> <data>

   there are different ways of doing this. but i want to know how it is done
   in standard way. if it is simple read/write of 8 or 16 bit register write.
   it is easy. but in my case instead of register address it is command
   and command takes lots of parameters. which is different for different
   commands. i am a newbie and i dont know how to do it.

  Are there any drivers that implement such a mechanism.

  I want help so that i can see how it is done in standard way
  and implement it in my own module.


Thanks you.

Regards,
vedan


\
 
 \ /
  Last update: 2008-05-27 08:53    [from the cache]
©2003-2008