stm32: adc: Fix address offset for ADC_CDR register

This commit is contained in:
Lucas Pickering 2017-10-25 11:09:04 -07:00 committed by Karl Palsson
parent 5fc4f48ae2
commit 668c7c5079

View File

@ -83,7 +83,7 @@ specific memorymap.h header before including this header file.*/
/* ADC common (shared) registers */
#define ADC_CSR(adc) MMIO32((adc) + 0x300 + 0x0)
#define ADC_CDR(adc) MMIO32((adc) + 0x300 + 0xa)
#define ADC_CDR(adc) MMIO32((adc) + 0x300 + 0xc)
/* --- Register values ------------------------------------------------------*/
/* ADC_ISR Values -----------------------------------------------------------*/