npunmia@hss.hns.com said:
> The RTC interrupt is programmable from 2 Hz to 8192 Hz, in powers of
> 2. So the interrupts that you could get are one of the following:
> 0.122ms, .244ms, .488ms, .977ms, 1.953ms, 3.906ms, 7.813ms, and so on.
> Is there any workaround , so that i can use RTC for meeting my
> requirement of an interrupt every 1.666..ms!! ( I know that i can use
> UTIME or #define HZ 600, but i want to know if i can use RTC for this
> purpose )
You could also use the RTC for providing the system tick (You'd need to
make HZ a power of two, obviously) and then use the 8254 for providing your
600Hz interrupt.
-- dwmw2- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Apr 15 2001 - 21:00:20 EST