This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Rép. : Re: AT91 EB40 timers
- From: "Marc Pignat" <marc dot pignat at hevs dot ch>
- To: <peter dot barrie at cis dot strath dot ac dot uk>,<gthomas at ecoscentric dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 09 Aug 2002 07:10:28 +0200
- Subject: [ECOS] Rép. : Re: [ECOS] AT91 EB40 timers
timer1 is used in HAL_DELAY_US() for eb40 code !
Marc
>>> Gary Thomas <gthomas@ecoscentric.com> 08/08/02 17h55 >>>
On Thu, 2002-08-08 at 09:48, Pete Barrie wrote:
> On the AT91-EB40 board, Timer-0 is used for the system clock.
> I want to write an application that uses timer-1 and timer-2 .
> Are these safe(free) to use?
> I know that the following function makes use of timer-2:
> void hal_delay_us(cyg_int32 usecs) [in at91_misc.c]
> Is this actually used by any kernel functions? Am I likely
> to undermine any core functionality by using timer-2?
HAL_DELAY_US() is used by some I/O drivers if absolute [small]
timing is required. This is atypical though. To be sure of
any interactions, you could look for this macro in any of the
modules/drivers you are using.
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss