Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordi Pakey-Rodriguez <jordi.orlando@gmail.com>2017-03-07 01:06:52 +0300
committerKarl Palsson <karlp@tweak.net.au>2017-03-31 00:48:08 +0300
commit6798cee2a53e9183c9202a5b3e6ee473c07d8470 (patch)
tree81e1ac405cf53a0110d81e0109bf520d4dd54076 /include/libopencm3/stm32/common/flash_common_f24.h
parentb40c72828df0aab74224df6fd18205ef9623a084 (diff)
stm32f2+: flash: Rename FLASH_ACR_XCE -> FLASH_ACR_XCEN
Match the datasheet register names better. squish into xcev
Diffstat (limited to 'include/libopencm3/stm32/common/flash_common_f24.h')
-rw-r--r--include/libopencm3/stm32/common/flash_common_f24.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libopencm3/stm32/common/flash_common_f24.h b/include/libopencm3/stm32/common/flash_common_f24.h
index 3548518a..e75f1445 100644
--- a/include/libopencm3/stm32/common/flash_common_f24.h
+++ b/include/libopencm3/stm32/common/flash_common_f24.h
@@ -51,8 +51,8 @@
#define FLASH_ACR_DCRST (1 << 12)
#define FLASH_ACR_ICRST (1 << 11)
-#define FLASH_ACR_DCE (1 << 10)
-#define FLASH_ACR_ICE (1 << 9)
+#define FLASH_ACR_DCEN (1 << 10)
+#define FLASH_ACR_ICEN (1 << 9)
#define FLASH_ACR_PRFTEN (1 << 8)
/* --- FLASH_SR values ----------------------------------------------------- */
@@ -147,4 +147,3 @@ END_DECLS
#warning "only via flash.h"
#endif
/** @endcond */
-