Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 17 Sep 2003 21:15:34 +0200 | From | Abraham van der Merwe <> | Subject | Re: HELP PLEASE: i2c in interrupt? |
| |
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |