From 4d8c90939f8bb91390967e25187228f81ea1e71b Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Fri, 18 Nov 2011 18:37:44 -0500 Subject: stm32f1/rcc.c: Add cautionary comment. Signed-off-by: Marti Bolivar --- libmaple/stm32f1/rcc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libmaple') 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) { -- cgit v1.2.3