aboutsummaryrefslogtreecommitdiff
path: root/board/board-stbee-mini.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2014-12-10 16:18:29 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2014-12-10 18:39:39 +0900
commit23893d9b73ebc28ff111d21827122677c27bee55 (patch)
treea887b7723395eb37abb244cbbd150dc7b4063e8d /board/board-stbee-mini.h
parent0276d0825ee27d1d5ecf238af0c9a2c053527125 (diff)
Version 0.04release/0.04
Diffstat (limited to 'board/board-stbee-mini.h')
-rw-r--r--board/board-stbee-mini.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/board-stbee-mini.h b/board/board-stbee-mini.h
index 5e4acbb..9e92f66 100644
--- a/board/board-stbee-mini.h
+++ b/board/board-stbee-mini.h
@@ -78,9 +78,9 @@
#define GPIOB_7SEG_F 9
#define GPIOB_7SEG_G 8
-#define RCC_APB2ENR_IOP_EN \
+#define RCC_ENR_IOP_EN \
(RCC_APB2ENR_IOPAEN | RCC_APB2ENR_IOPBEN | RCC_APB2ENR_AFIOEN)
-#define RCC_APB2RSTR_IOP_RST \
+#define RCC_RSTR_IOP_RST \
(RCC_APB2RSTR_IOPARST | RCC_APB2RSTR_IOPBRST | RCC_APB2RSTR_AFIORST)
#else
/*
@@ -97,8 +97,8 @@
#define VAL_GPIO_CRL 0x88888888 /* PA7...PA0 */
#define VAL_GPIO_CRH 0x63611888 /* PA15...PA8 */
-#define RCC_APB2ENR_IOP_EN (RCC_APB2ENR_IOPAEN | RCC_APB2ENR_AFIOEN)
-#define RCC_APB2RSTR_IOP_RST (RCC_APB2RSTR_IOPARST | RCC_APB2RSTR_AFIORST)
+#define RCC_ENR_IOP_EN (RCC_APB2ENR_IOPAEN | RCC_APB2ENR_AFIOEN)
+#define RCC_RSTR_IOP_RST (RCC_APB2RSTR_IOPARST | RCC_APB2RSTR_AFIORST)
#endif