Question
Can I read the ADC's injection group data using direct register access?
Regarding the methods for reading data from the ADC injected group, I’ve only seen two approaches: interrupts and polling. Can I directly map memory in the software to ADCx->JDR1 to retrieve the data? Just like:
#define ADC_ADCRESULT0_ADDR ((volatile uint32_t*)&ADC1->JDR1)
inline static const *uint32_t adc_buffer[0] = {ADC_ADCRESULT0_ADDR }
