GPIO alternative function registers are 32bit each, not 64bit
This commit is contained in:
@@ -1995,8 +1995,8 @@ struct gpio {
|
||||
volatile uint32_t ODR;
|
||||
volatile uint32_t BSRR;
|
||||
volatile uint32_t LCKR;
|
||||
volatile uint32_t AFRL[2];
|
||||
volatile uint32_t AFRH[2];
|
||||
volatile uint32_t AFRL;
|
||||
volatile uint32_t AFRH;
|
||||
};
|
||||
|
||||
#define GPIO_BASE_ADDR (0x40020000U)
|
||||
|
||||
Reference in New Issue
Block a user