The adc peripheral on F30x is the same as F0, L0 and L4. In the reference manuals, the following names are used. F3: CFGR (no CFGR2) F0 and L0: CFGR1 and CFGR2 L4: CFGR and CFGR2 Moving to a single consistent name, that's more likely to be inline with future part numbers makes it much easier to extract common driver code for the peripheral. While all bit defines are moved to the CFGR1 style, core register definitions: ADC_CFGR(adc) and ADCx_CFGR are kept to match the original register name in the reference manual. Fixes Github issue #548
36 KiB
36 KiB