stm32f0: Fix offset for GPIO_BRR
Correct as per RM0091rev5
This commit is contained in:
parent
96fb10b7a8
commit
5270c11a09
@ -41,7 +41,7 @@
|
||||
/* Register definitions */
|
||||
/*****************************************************************************/
|
||||
|
||||
#define GPIO_BRR(port) MMIO32(port + 0x24)
|
||||
#define GPIO_BRR(port) MMIO32(port + 0x28)
|
||||
#define GPIOA_BRR GPIO_BRR(GPIOA)
|
||||
#define GPIOB_BRR GPIO_BRR(GPIOB)
|
||||
#define GPIOC_BRR GPIO_BRR(GPIOC)
|
||||
|
Loading…
x
Reference in New Issue
Block a user