aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f1
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-11-18 18:37:44 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:51 -0400
commit4d8c90939f8bb91390967e25187228f81ea1e71b (patch)
tree7b1211f7e7b4c063b0ab69e4de1783354b942f4c /libmaple/stm32f1
parent5337e01c09e19573758efbc57a7f7e972d78ab3f (diff)
downloadlibrambutan-4d8c90939f8bb91390967e25187228f81ea1e71b.tar.gz
librambutan-4d8c90939f8bb91390967e25187228f81ea1e71b.zip
stm32f1/rcc.c: Add cautionary comment.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/stm32f1')
-rw-r--r--libmaple/stm32f1/rcc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmaple/stm32f1/rcc.c b/libmaple/stm32f1/rcc.c
index c8d24c6..2b78e89 100644
--- a/libmaple/stm32f1/rcc.c
+++ b/libmaple/stm32f1/rcc.c
@@ -151,6 +151,10 @@ void rcc_clk_enable(rcc_clk_id id) {
/**
* @brief Reset a peripheral.
+ *
+ * Caution: not all rcc_clk_id values refer to a peripheral which can
+ * be reset.
+ *
* @param id Clock ID of the peripheral to reset.
*/
void rcc_reset_dev(rcc_clk_id id) {