stm32: exti: define AFIO/SYSCFG_EXTICR_FIELDSIZE for all chip.
While on all current chips, exticr gpio port mux selection is coded on 4 bits, stm32g0 EXTI_EXTICR register uses 8 bits. Align all exti header to reference that value (was previously defined for f0 as SYCFG_EXTICR_SKIP)
This commit is contained in:
committed by
Karl Palsson
parent
7afd86db30
commit
553c876fa5
@@ -111,6 +111,7 @@
|
||||
|
||||
/* SYSCFG_EXTICR Values -- --------------------------------------------------*/
|
||||
|
||||
#define SYSCFG_EXTICR_FIELDSIZE 4
|
||||
#define SYSCFG_EXTICR_GPIOA 0
|
||||
#define SYSCFG_EXTICR_GPIOB 1
|
||||
#define SYSCFG_EXTICR_GPIOC 2
|
||||
|
||||
Reference in New Issue
Block a user