--- In "weide72" <> wrote:
>
> I am trying to implement a timer using Timer3 of the EP-9302. I
> understand how to enable the timer, load, and clear it. What I don't
> know how to do is have interrupt occur when Timer3 underflows and have
> an interrupt service routine execute. I am confused on how to use the
> interrupt vector addressing. Can anyone offer any suggestions?
>
> Thanks,
> Ryan
>
I'd say the best place to start looking to learn how to handle
interrupts is in Andy Gryc's gps_pps.tgz in the Example Code section
of the Files in Yahoo Groups. It's a full implementation of an
interrupt-handling kernel module which is well-written and easy to
understand. Essentially the kernel module registers interest on a
particular interrupt, and then is called back by the kernel when the
interrupt occurs.
Matt
------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
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/
|