diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-08 16:23:45 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-08 16:23:45 -0400 |
commit | 173c7e1a7a7ce6a36801a96a235ae74d3ce062ed (patch) | |
tree | 043de322bc0795a54c53b364776c27d0c2700d80 | |
parent | b5c11895b59fbfdc6dda9d26e02df053f8035ff2 (diff) | |
download | librambutan-173c7e1a7a7ce6a36801a96a235ae74d3ce062ed.tar.gz librambutan-173c7e1a7a7ce6a36801a96a235ae74d3ce062ed.zip |
libmaple/flash.c: Update Doxygen for flash_set_latency().
Update for STM32F2 support.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r-- | libmaple/flash.c | 8 |
1 files changed, 5 insertions, 3 deletions
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; |