aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/NRF5
diff options
context:
space:
mode:
authorStephane D'Alu <sdalu@sdalu.com>2016-07-10 11:15:20 +0200
committerStephane D'Alu <sdalu@sdalu.com>2016-07-10 11:15:20 +0200
commit3db81f7f03844057a6d4150e2c66a81a772df16d (patch)
tree526b4c1c7fcc5d148bb1e6c77adc3d7a43cd8b32 /os/hal/ports/NRF5
parente0d39de32f8a422ec1e1badfe70b3f3126edcb0d (diff)
downloadChibiOS-Contrib-3db81f7f03844057a6d4150e2c66a81a772df16d.tar.gz
ChibiOS-Contrib-3db81f7f03844057a6d4150e2c66a81a772df16d.tar.bz2
ChibiOS-Contrib-3db81f7f03844057a6d4150e2c66a81a772df16d.zip
adding note on RTC0 and TIMER0 as systicks
Diffstat (limited to 'os/hal/ports/NRF5')
-rw-r--r--os/hal/ports/NRF5/LLD/hal_st_lld.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/hal/ports/NRF5/LLD/hal_st_lld.h b/os/hal/ports/NRF5/LLD/hal_st_lld.h
index 4799792..3b4bf8e 100644
--- a/os/hal/ports/NRF5/LLD/hal_st_lld.h
+++ b/os/hal/ports/NRF5/LLD/hal_st_lld.h
@@ -39,6 +39,9 @@
/**
* @brief Use RTC0 to generates system ticks
+ *
+ * @note Avoid using RTC0, as PPI has pre-programmed channels on it
+ * that can be used to control RADIO or TIMER0
*/
#if !defined(NRF5_ST_USE_RTC0) || defined(__DOXYGEN__)
#define NRF5_ST_USE_RTC0 FALSE
@@ -53,6 +56,8 @@
/**
* @brief Use TIMER0 to generates system ticks
+ *
+ * @note Avoid using TIMER0 as it will draw more current
*/
#if !defined(NRF5_ST_USE_TIMER0) || defined(__DOXYGEN__)
#define NRF5_ST_USE_TIMER0 FALSE