Restore CLOCK_ACTIVETIME
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4009 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
ec8c188f59
commit
87fbb3674d
@ -80,6 +80,18 @@
|
||||
* Pre-processor Definitions
|
||||
************************************************************************************/
|
||||
/* Configuration ********************************************************************/
|
||||
/* In hi-res mode, the RTC operates at 16384Hz. Overflow interrupts are handled
|
||||
* when the 32-bit RTC counter overflows every 3 days and 43 minutes. A BKP register
|
||||
* is incremented on each overflow interrupt creating, effectively, a 48-bit RTC
|
||||
* counter.
|
||||
*
|
||||
* In the lo-res mode, the RTC operates at 1Hz. Overflow interrupts are not handled
|
||||
* (because the next overflow is not expected until the year 2106.
|
||||
*
|
||||
* WARNING: Overflow interrupts are lost whenever the STM32 is powered down. The
|
||||
* overflow interrupt may be lost even if the STM32 is powered down only momentarily.
|
||||
* Therefor hi-res solution is only useful in systems where the power is always on.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_RTC_HIRES
|
||||
# ifndef CONFIG_RTC_FREQUENCY
|
||||
|
Loading…
Reference in New Issue
Block a user