At the moment, I'm running on a test platform- a 450 MHz Pentium II Compaq
Deskpro- probably a bit more powerful than the average embedded CPU. The
reason for the high clock rate is (probably) twofold- the need to implement
sub-ms timeouts in my app, and a lack of experience with eCos. Currently, I
use the RTC to drive all the timers in my app, using
cyg_clock_to_counter( ), with an associated alarm and a flag for signaling
timer expiration. If anyone has any pointers regarding a more efficient way
to do timing, I'm all ears!!!
Well one can argue that interrupts aren't as efficient as polling the
clock for very short timeouts, since interrupt handling inevitably incurs
overhead. You can use the HAL_DELAY_US macro for polled microsecond delays
this way.