summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/CORTEX_STM32L152_Discovery_IAR/STM32L_low_power_tick_management.c
diff options
context:
space:
mode:
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2013-12-11 11:35:03 +0000
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2013-12-11 11:35:03 +0000
commit9a85aef212f22db3fb3a116e94a92acd5453bb58 (patch)
tree195aea5d9e855e207c04fb44f90259671c215649 /FreeRTOS/Demo/CORTEX_STM32L152_Discovery_IAR/STM32L_low_power_tick_management.c
parente3c6d16ecb62d9e81386ef6e405962071b30815f (diff)
downloadfreertos-9a85aef212f22db3fb3a116e94a92acd5453bb58.tar.gz
Complete STM32L low power demo.
git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@2126 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
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.c5
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