This is the mail archive of the
mailing list for the eCos project.
timer interrupt help
- From: Jeffrey Krasky <jkrasky at cs dot umn dot edu>
- To: ecos-discuss at sourceware dot org
- Date: Fri, 24 Apr 2009 09:24:40 -0500 (CDT)
- Subject: [ECOS] timer interrupt help
I've been reading about interrupts and how to create/attach them in eCos.
There is still one piece of information that I am not sure about.
My goal is to have a timer go off every millisecond, as precise as
possible. Is there a counter that I can register my ISR with so that when
the counter reaches a value that's equivalent to 1ms in ticks, it will
call my ISR? Or do I have to monitor the clock myself? I feel if I have
to monitor the clock myself I will not achieve 1ms granularity.
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss