On 5/22/07, Rob Wehrli <[EMAIL PROTECTED]> wrote:
> I'm trying to establish an appropriate clock rate setting for implementing
> clock.c for the ColdFire 52xx.
>
> It seems that the idea is to configure the interval such that the ISR is
> invoked on an every millisecond basis.  Is that correct?

This is config dependent, choose whatever suits you. See CONFIG_HZ in
$(PREX_SRC)/conf/*.conf:

# Ticks/second of the clock
CONFIG_HZ=1000

For example i386 (and my powerpc port) use 1000 Hz (1ms ticks) while
arm uses 100Hz.

1000Hz should be fine for a Coldfire core as they have reasonable performance.

Andrew

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Prex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/prex-devel

Reply via email to