summaryrefslogtreecommitdiff
path: root/rcc
diff options
context:
space:
mode:
Diffstat (limited to 'rcc')
-rw-r--r--rcc/rcc.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/rcc/rcc.h b/rcc/rcc.h
index 4b8d99f..e9712c6 100644
--- a/rcc/rcc.h
+++ b/rcc/rcc.h
@@ -91,13 +91,13 @@ struct RCC_t {
enum APB2_dev {
AFIO = 1 << 0,
- IOPA = 1 << 2,
- IOPB = 1 << 3,
- IOPC = 1 << 4,
- IOPD = 1 << 5,
- IOPE = 1 << 6,
- IOPF = 1 << 7,
- IOPG = 1 << 8,
+ GPIOA = 1 << 2,
+ GPIOB = 1 << 3,
+ GPIOC = 1 << 4,
+ GPIOD = 1 << 5,
+ GPIOE = 1 << 6,
+ GPIOF = 1 << 7,
+ GPIOG = 1 << 8,
ADC1 = 1 << 9,
ADC2 = 1 << 10,
TIM1 = 1 << 11,