mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Abraham van der Merwe <abz@frogfoot.net>
To: "Richard B. Johnson" <root@chaos.analogic.com>
Cc: Linux Kernel Discussions <linux-kernel@vger.kernel.org>
Subject: Re: HELP PLEASE: i2c in interrupt?
Date: Wed, 17 Sep 2003 21:15:34 +0200	[thread overview]
Message-ID: <20030917191534.GB19425@oasis.frogfoot.net> (raw)
In-Reply-To: <Pine.LNX.4.53.0309171424220.148@chaos>

Hi Richard                                       >@2003.09.17_20:45:41_+0200

> Why do you need something different? Why do you have something
> on the timer queue in the first place? You don't need anything
> like that. Serial I/O is serial I/O. You handle the IIC bus
> serial I/O just like RS-232C or keyboard input. You get an
> interrupt, the ISR gets the data and puts it in a buffer.

See, that's my problem. The ISR can't put it in a buffer, because in order
to read the data it has to sleep. The reason for that as I explained it is
that it has to read the data from a chip on an I2C bus.

-- 

Regards
 Abraham

Heller's Law:
	The first myth of management is that it exists.

Johnson's Corollary:
	Nobody really knows what is going on anywhere within the
	organization.

___________________________________________________
 Abraham vd Merwe - Frogfoot Networks CC
 9 Kinnaird Court, 33 Main Street, Newlands, 7700
 Phone: +27 21 686 1665 Cell: +27 82 565 4451
 Http: http://www.frogfoot.net/ Email: abz@frogfoot.net


      reply	other threads:[~2003-09-17 19:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-17 18:11 Abraham vd Merwe
2003-09-17 18:45 ` Richard B. Johnson
2003-09-17 19:15   ` Abraham van der Merwe [this message]

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=20030917191534.GB19425@oasis.frogfoot.net \
    --to=abz@frogfoot.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=root@chaos.analogic.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®