aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/f1/rcc.h
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2011-11-14 04:05:35 -0800
committerPiotr Esden-Tempski2011-11-16 18:17:56 -0800
commitc6f30043fd61861d5d2aef6cbc8c8ca1cc93c2fe (patch)
tree2c071ad00eca45c61b2e490414e9150002215cef /include/libopencm3/stm32/f1/rcc.h
parent608ca2a81196ac175a8f850d21998c56d99e976a (diff)
Added UART4 and UART5 gpio definitions for stm32f1. Also corrected the naming everywhere. Both peripherals are UARTS not U_S_ARTS.
Diffstat (limited to 'include/libopencm3/stm32/f1/rcc.h')
-rw-r--r--include/libopencm3/stm32/f1/rcc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libopencm3/stm32/f1/rcc.h b/include/libopencm3/stm32/f1/rcc.h
index 1072445..0f91146 100644
--- a/include/libopencm3/stm32/f1/rcc.h
+++ b/include/libopencm3/stm32/f1/rcc.h
@@ -214,8 +214,8 @@
#define RCC_APB1RSTR_USBRST (1 << 23) /* (XX) */
#define RCC_APB1RSTR_I2C2RST (1 << 22)
#define RCC_APB1RSTR_I2C1RST (1 << 21)
-#define RCC_APB1RSTR_USART5RST (1 << 20)
-#define RCC_APB1RSTR_USART4RST (1 << 19)
+#define RCC_APB1RSTR_UART5RST (1 << 20)
+#define RCC_APB1RSTR_UART4RST (1 << 19)
#define RCC_APB1RSTR_USART3RST (1 << 18)
#define RCC_APB1RSTR_USART2RST (1 << 17)
#define RCC_APB1RSTR_SPI3RST (1 << 15)
@@ -271,8 +271,8 @@
#define RCC_APB1ENR_USBEN (1 << 23) /* (XX) */
#define RCC_APB1ENR_I2C2EN (1 << 22)
#define RCC_APB1ENR_I2C1EN (1 << 21)
-#define RCC_APB1ENR_USART5EN (1 << 20)
-#define RCC_APB1ENR_USART4EN (1 << 19)
+#define RCC_APB1ENR_UART5EN (1 << 20)
+#define RCC_APB1ENR_UART4EN (1 << 19)
#define RCC_APB1ENR_USART3EN (1 << 18)
#define RCC_APB1ENR_USART2EN (1 << 17)
#define RCC_APB1ENR_SPI3EN (1 << 15)