diff options
-rw-r--r-- | rcc/rcc.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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, |