--- In Joel Morgan <> wrote:
>
> On 3/3/09, Mark Randall <> wrote:
> > Ok, That explains how you enable the interrupts but how do you
> > create the ISR and tell the operating system what is going on?
>
> I dont have a lot of ISR experience, so ill have to let somebody else
> answer that.
>
> joel
There are no DOS-like ISRs in user applications in linux; they are all running
in the kernel (either built-in when compiled or inserted later as kernel
modules). They are called device drivers in linux.
You really need to take a look at a good reference book. "Linux Device
Drivers" by Rubini & Corbet (OReilly) is a great one. Get the 2nd edition for
a linux 2.4 kernel or 3rd edition for a linux 2.6 kernel. It's even available
online.
Also look for existing drivers for the hardware you want to use, like the
external A/D you mentioned earlier.
regards, ......... Charlie
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|