Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Can an interrupt be attached to an RTC tick?
Timeout and ticker classes are good, but I want to have an ISR called upon each new RTC value, so date-related calculations can be made (like DST adjust).
My sense is that timers are pretty expensive (power-wise) to run, and given 1 second period of RTC, it is 1000x savings on ISR calls. Also, if MBED is ever made to sleep (in the future rev?), RTC ISR should be called once a second even from the sleep.