This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Cortex-M1/3 SysTick/RTC
- From: "simon dot kallweit at intefo dot ch" <simon dot kallweit at intefo dot ch>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 11 Sep 2008 17:18:11 +0200
- Subject: [ECOS] Cortex-M1/3 SysTick/RTC
I had a quick look at the ecos clock system. The clock is usually
implemented using a timer interrupt in the variant or platform code.
With the Cortex-M1/3, we have a SysTick timer which belongs to the
architecture itself. I think we should use the SysTick as the clock
source. The STM32 additionally provides an RTC, but I guess this should
be implemented as a Wallclock driver, right? A quick look over the
wallclock interface showed that there is no function for setting wakeup
alarms. Is this functionality defined elsewhere or is it missing?
Concerning the system clock interrupt. Why is it called
CYGNUM_HAL_INTERRUPT_RTC? This can be a bit misleading, but I guess has
historic reasons.
Simon
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss