Prusa MINI Firmware overview
|
Macros | |
#define | ADC_DMAACCESSMODE_DISABLED 0x00000000U |
#define | ADC_DMAACCESSMODE_1 ((uint32_t)ADC_CCR_DMA_0) |
#define | ADC_DMAACCESSMODE_2 ((uint32_t)ADC_CCR_DMA_1) |
#define | ADC_DMAACCESSMODE_3 ((uint32_t)ADC_CCR_DMA) |
#define ADC_DMAACCESSMODE_DISABLED 0x00000000U |
DMA mode disabled
#define ADC_DMAACCESSMODE_1 ((uint32_t)ADC_CCR_DMA_0) |
DMA mode 1 enabled (2 / 3 half-words one by one - 1 then 2 then 3)
#define ADC_DMAACCESSMODE_2 ((uint32_t)ADC_CCR_DMA_1) |
DMA mode 2 enabled (2 / 3 half-words by pairs - 2&1 then 1&3 then 3&2)
#define ADC_DMAACCESSMODE_3 ((uint32_t)ADC_CCR_DMA) |
DMA mode 3 enabled (2 / 3 bytes by pairs - 2&1 then 1&3 then 3&2)