This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AT91 EB40 timers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]