stm32/f4/memorymap.h: Fix ADC offsets
This commit is contained in:
parent
9fea26e455
commit
a43f1d0844
@ -75,8 +75,9 @@
|
|||||||
#define USART6_BASE (PERIPH_BASE_APB2 + 0x1400)
|
#define USART6_BASE (PERIPH_BASE_APB2 + 0x1400)
|
||||||
/* PERIPH_BASE_APB2 + 0x1800 (0x4001 1800 - 0x4001 1FFF): Reserved */
|
/* PERIPH_BASE_APB2 + 0x1800 (0x4001 1800 - 0x4001 1FFF): Reserved */
|
||||||
#define ADC1_BASE (PERIPH_BASE_APB2 + 0x2000)
|
#define ADC1_BASE (PERIPH_BASE_APB2 + 0x2000)
|
||||||
#define ADC2_BASE (PERIPH_BASE_APB2 + 0x2000)
|
#define ADC2_BASE (PERIPH_BASE_APB2 + 0x2100)
|
||||||
#define ADC3_BASE (PERIPH_BASE_APB2 + 0x2000)
|
#define ADC3_BASE (PERIPH_BASE_APB2 + 0x2200)
|
||||||
|
#define ADC_COMMON_BASE (PERIPH_BASE_APB2 + 0x2300)
|
||||||
/* PERIPH_BASE_APB2 + 0x2400 (0x4001 2400 - 0x4001 27FF): Reserved */
|
/* PERIPH_BASE_APB2 + 0x2400 (0x4001 2400 - 0x4001 27FF): Reserved */
|
||||||
#define SDIO_BASE (PERIPH_BASE_APB2 + 0x2800)
|
#define SDIO_BASE (PERIPH_BASE_APB2 + 0x2800)
|
||||||
/* PERIPH_BASE_APB2 + 0x2C00 (0x4001 2C00 - 0x4001 2FFF): Reserved */
|
/* PERIPH_BASE_APB2 + 0x2C00 (0x4001 2C00 - 0x4001 2FFF): Reserved */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user