Am Montag, den 02.04.2007, 08:52 +0200 schrieb Richard Cochran:
> > This is needed for machines where the hardware timer is based on a
> > decrementer. But for machines with a free-running counter and a match
> > register, reading the value of the free-running counter is
> > simpler. IXP425 is in the  "free-running counter and match register
> > category". So, its implementation should look like the one of the PXA.
> 
> The IXP425 does not have a match register, AFAICT.
> 
> It does have four 32-bit counters clocked at 66.66 MHz: a watch dog, a
> free-running timestamp, and two general purpose timers.
> 
> The general purpose timers may be used either as one-shot timers
> (count down to zero and stop) or as periodic times (count down,
> automatically reload, and keep going).
> 
> I already have xenomai running on the IXP425, but I will have to take
> a closer look at the timer code.
> 
> Richard

Then you have to implement it like I described. 

Take a look at the implementation for integrator-platforms.
(Timer with wraparound)


- Manfred Schlaegl

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main

Reply via email to