Re: [uCsimm] Interrupt Service Routines

From: Gonzalo Vásquez Sáez (gvasquez@vtr.net)
Date: Fri Apr 20 2001 - 21:17:05 EDT


If that is so, the code the code from section 8 (Pulse-Width Modulator) of
the MC68EZ328.pdf file included in the Datasheets directory of the uClinux
CD is part of a device driver, am I right then??

----- Original Message -----
From: "Tom Walsh" <tom@cyberiansoftware.com>
To: <ucsimm@uClinux.com>
Cc: <uclinux@uClinux.com>
Sent: Friday, April 20, 2001 7:15 PM
Subject: Re: [uCsimm] Interrupt Service Routines

> > Gonzalo Vásquez Sáez wrote:
> >
> > Perhaps this is some kinda 'newbie' question, but that's just what I
> > am...I haven't found the necesary code to asign some ISR function
> > defined by me to attend a specified Interrupt Event (PWM in this
> > case)....and I was wondering if someone withing this forum could be
> > kind enough to help me.
> >
>
> What you are talking about is a device driver. It is not possible to
> get to the interrupt vectors from a userland application (at least it
> should not be allowed). I would suggest that you look into writing a
> device driver for the application to use. A fine reference book on how
> to write device drivers is from O'Reilly (http://www.oreilly.com) "Linux
> Device Drivers" by Alessandro Rubini, the ISBN is: 1-56592-292-1.
>
> Regards,
>
> TomW
>
> --
> Tom Walsh - WN3L - Embedded Systems Consultant
> 'www.openhardware.net', 'www.cyberiansoftware.com'
> "Windows? No thanks, I have work to do..."
> This message resent by the ucsimm@uclinux.com list server
http://www.uClinux.com/
>

This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:43 EST