diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-11-28 23:21:21 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:52 -0400 |
commit | ea175caf4bbcc3b32c161dd52cb773fa8fdba707 (patch) | |
tree | 30f8e83af3422876e997a6355c41bbb3f4ca1205 /libmaple/usb/usb_lib/usb_regs.c | |
parent | a614806f9a02967bf1b91561dcb3d02a2f735c66 (diff) | |
download | librambutan-ea175caf4bbcc3b32c161dd52cb773fa8fdba707.tar.gz librambutan-ea175caf4bbcc3b32c161dd52cb773fa8fdba707.zip |
libmaple/flash: Add family-specific FLASH_SAFE_WAIT_STATES.
This is the smallest wait state value that is safe for use when the
MCU is at its fastest rate, not considering overclocking. This
requires moving the FLASH_WAIT_STATE defines above the family include,
so do that, and add the missing #defines (for wait states up to 7).
For the STM32F1, the correct value for FLASH_SAFE_WAIT_STATES is
FLASH_WAIT_STATE_2; say so in the F1-family flash.h.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/usb/usb_lib/usb_regs.c')
0 files changed, 0 insertions, 0 deletions