stm32l4: gpio: Correct ASCR name to match ref manual
Be consistent, not sure why I left off the R originally.
This commit is contained in:
parent
f6c7d92c4f
commit
0e40d6da02
@ -51,15 +51,16 @@
|
|||||||
#define GPIOG_BRR GPIO_BRR(GPIOG)
|
#define GPIOG_BRR GPIO_BRR(GPIOG)
|
||||||
#define GPIOH_BRR GPIO_BRR(GPIOH)
|
#define GPIOH_BRR GPIO_BRR(GPIOH)
|
||||||
|
|
||||||
#define GPIO_ASC(port) MMIO32((port) + 0x2c)
|
/* Analog Switch Control Register */
|
||||||
#define GPIOA_ASC GPIO_ASC(GPIOA)
|
#define GPIO_ASCR(port) MMIO32((port) + 0x2c)
|
||||||
#define GPIOB_ASC GPIO_ASC(GPIOB)
|
#define GPIOA_ASCR GPIO_ASCR(GPIOA)
|
||||||
#define GPIOC_ASC GPIO_ASC(GPIOC)
|
#define GPIOB_ASCR GPIO_ASCR(GPIOB)
|
||||||
#define GPIOD_ASC GPIO_ASC(GPIOD)
|
#define GPIOC_ASCR GPIO_ASCR(GPIOC)
|
||||||
#define GPIOE_ASC GPIO_ASC(GPIOE)
|
#define GPIOD_ASCR GPIO_ASCR(GPIOD)
|
||||||
#define GPIOF_ASC GPIO_ASC(GPIOF)
|
#define GPIOE_ASCR GPIO_ASCR(GPIOE)
|
||||||
#define GPIOG_ASC GPIO_ASC(GPIOG)
|
#define GPIOF_ASCR GPIO_ASCR(GPIOF)
|
||||||
#define GPIOH_ASC GPIO_ASC(GPIOH)
|
#define GPIOG_ASCR GPIO_ASCR(GPIOG)
|
||||||
|
#define GPIOH_ASCR GPIO_ASCR(GPIOH)
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/* Register values */
|
/* Register values */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user