From 173c7e1a7a7ce6a36801a96a235ae74d3ce062ed Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 8 May 2012 16:23:45 -0400 Subject: libmaple/flash.c: Update Doxygen for flash_set_latency(). Update for STM32F2 support. Signed-off-by: Marti Bolivar --- libmaple/flash.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libmaple/flash.c') diff --git a/libmaple/flash.c b/libmaple/flash.c index 0ade4cb..0cdff59 100644 --- a/libmaple/flash.c +++ b/libmaple/flash.c @@ -35,12 +35,14 @@ /** * @brief Set flash wait states * - * See ST PM0042, section 3.1 for restrictions on the acceptable value - * of wait_states for a given SYSCLK configuration. + * Note that not all wait states are available on every MCU. See the + * Flash programming manual for your MCU for restrictions on the + * allowed value of wait_states for a given system clock (SYSCLK) + * frequency. * * @param wait_states number of wait states (one of * FLASH_WAIT_STATE_0, FLASH_WAIT_STATE_1, - * FLASH_WAIT_STATE_2). + * ..., FLASH_WAIT_STATE_7). */ void flash_set_latency(uint32 wait_states) { uint32 val = FLASH_BASE->ACR; -- cgit v1.2.3