diff options
Diffstat (limited to 'FreeRTOS/Demo/CORTEX_STM32L152_Discovery_IAR/STM32L_low_power_tick_management.c')
-rw-r--r-- | FreeRTOS/Demo/CORTEX_STM32L152_Discovery_IAR/STM32L_low_power_tick_management.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/FreeRTOS/Demo/CORTEX_STM32L152_Discovery_IAR/STM32L_low_power_tick_management.c b/FreeRTOS/Demo/CORTEX_STM32L152_Discovery_IAR/STM32L_low_power_tick_management.c index d7cd3b2e7..8eb69b9a0 100644 --- a/FreeRTOS/Demo/CORTEX_STM32L152_Discovery_IAR/STM32L_low_power_tick_management.c +++ b/FreeRTOS/Demo/CORTEX_STM32L152_Discovery_IAR/STM32L_low_power_tick_management.c @@ -76,7 +76,10 @@ /*
* When configCREATE_LOW_POWER_DEMO is set to 1 then the tick interrupt
* is generated by the TIM2 peripheral. The TIM2 configuration and handling
- * functions are defined in this file.
+ * functions are defined in this file. Note the RTC is not used as there does
+ * not appear to be a way to read back the RTC count value, and therefore the
+ * only way of knowing exactly how long a sleep lasted is to use the very low
+ * resolution calendar time.
*
* When configCREATE_LOW_POWER_DEMO is set to 0 the tick interrupt is
* generated by the standard FreeRTOS Cortex-M port layer, which uses the
|