Prusa MINI Firmware overview
ADC Delay Between 2 Sampling Phases
Collaboration diagram for ADC Delay Between 2 Sampling Phases:

Macros

#define ADC_TWOSAMPLINGDELAY_5CYCLES   0x00000000U
 
#define ADC_TWOSAMPLINGDELAY_6CYCLES   ((uint32_t)ADC_CCR_DELAY_0)
 
#define ADC_TWOSAMPLINGDELAY_7CYCLES   ((uint32_t)ADC_CCR_DELAY_1)
 
#define ADC_TWOSAMPLINGDELAY_8CYCLES   ((uint32_t)(ADC_CCR_DELAY_1 | ADC_CCR_DELAY_0))
 
#define ADC_TWOSAMPLINGDELAY_9CYCLES   ((uint32_t)ADC_CCR_DELAY_2)
 
#define ADC_TWOSAMPLINGDELAY_10CYCLES   ((uint32_t)(ADC_CCR_DELAY_2 | ADC_CCR_DELAY_0))
 
#define ADC_TWOSAMPLINGDELAY_11CYCLES   ((uint32_t)(ADC_CCR_DELAY_2 | ADC_CCR_DELAY_1))
 
#define ADC_TWOSAMPLINGDELAY_12CYCLES   ((uint32_t)(ADC_CCR_DELAY_2 | ADC_CCR_DELAY_1 | ADC_CCR_DELAY_0))
 
#define ADC_TWOSAMPLINGDELAY_13CYCLES   ((uint32_t)ADC_CCR_DELAY_3)
 
#define ADC_TWOSAMPLINGDELAY_14CYCLES   ((uint32_t)(ADC_CCR_DELAY_3 | ADC_CCR_DELAY_0))
 
#define ADC_TWOSAMPLINGDELAY_15CYCLES   ((uint32_t)(ADC_CCR_DELAY_3 | ADC_CCR_DELAY_1))
 
#define ADC_TWOSAMPLINGDELAY_16CYCLES   ((uint32_t)(ADC_CCR_DELAY_3 | ADC_CCR_DELAY_1 | ADC_CCR_DELAY_0))
 
#define ADC_TWOSAMPLINGDELAY_17CYCLES   ((uint32_t)(ADC_CCR_DELAY_3 | ADC_CCR_DELAY_2))
 
#define ADC_TWOSAMPLINGDELAY_18CYCLES   ((uint32_t)(ADC_CCR_DELAY_3 | ADC_CCR_DELAY_2 | ADC_CCR_DELAY_0))
 
#define ADC_TWOSAMPLINGDELAY_19CYCLES   ((uint32_t)(ADC_CCR_DELAY_3 | ADC_CCR_DELAY_2 | ADC_CCR_DELAY_1))
 
#define ADC_TWOSAMPLINGDELAY_20CYCLES   ((uint32_t)ADC_CCR_DELAY)
 

Detailed Description

Macro Definition Documentation

◆ ADC_TWOSAMPLINGDELAY_5CYCLES

#define ADC_TWOSAMPLINGDELAY_5CYCLES   0x00000000U

◆ ADC_TWOSAMPLINGDELAY_6CYCLES

#define ADC_TWOSAMPLINGDELAY_6CYCLES   ((uint32_t)ADC_CCR_DELAY_0)

◆ ADC_TWOSAMPLINGDELAY_7CYCLES

#define ADC_TWOSAMPLINGDELAY_7CYCLES   ((uint32_t)ADC_CCR_DELAY_1)

◆ ADC_TWOSAMPLINGDELAY_8CYCLES

#define ADC_TWOSAMPLINGDELAY_8CYCLES   ((uint32_t)(ADC_CCR_DELAY_1 | ADC_CCR_DELAY_0))

◆ ADC_TWOSAMPLINGDELAY_9CYCLES

#define ADC_TWOSAMPLINGDELAY_9CYCLES   ((uint32_t)ADC_CCR_DELAY_2)

◆ ADC_TWOSAMPLINGDELAY_10CYCLES

#define ADC_TWOSAMPLINGDELAY_10CYCLES   ((uint32_t)(ADC_CCR_DELAY_2 | ADC_CCR_DELAY_0))

◆ ADC_TWOSAMPLINGDELAY_11CYCLES

#define ADC_TWOSAMPLINGDELAY_11CYCLES   ((uint32_t)(ADC_CCR_DELAY_2 | ADC_CCR_DELAY_1))

◆ ADC_TWOSAMPLINGDELAY_12CYCLES

#define ADC_TWOSAMPLINGDELAY_12CYCLES   ((uint32_t)(ADC_CCR_DELAY_2 | ADC_CCR_DELAY_1 | ADC_CCR_DELAY_0))

◆ ADC_TWOSAMPLINGDELAY_13CYCLES

#define ADC_TWOSAMPLINGDELAY_13CYCLES   ((uint32_t)ADC_CCR_DELAY_3)

◆ ADC_TWOSAMPLINGDELAY_14CYCLES

#define ADC_TWOSAMPLINGDELAY_14CYCLES   ((uint32_t)(ADC_CCR_DELAY_3 | ADC_CCR_DELAY_0))

◆ ADC_TWOSAMPLINGDELAY_15CYCLES

#define ADC_TWOSAMPLINGDELAY_15CYCLES   ((uint32_t)(ADC_CCR_DELAY_3 | ADC_CCR_DELAY_1))

◆ ADC_TWOSAMPLINGDELAY_16CYCLES

#define ADC_TWOSAMPLINGDELAY_16CYCLES   ((uint32_t)(ADC_CCR_DELAY_3 | ADC_CCR_DELAY_1 | ADC_CCR_DELAY_0))

◆ ADC_TWOSAMPLINGDELAY_17CYCLES

#define ADC_TWOSAMPLINGDELAY_17CYCLES   ((uint32_t)(ADC_CCR_DELAY_3 | ADC_CCR_DELAY_2))

◆ ADC_TWOSAMPLINGDELAY_18CYCLES

#define ADC_TWOSAMPLINGDELAY_18CYCLES   ((uint32_t)(ADC_CCR_DELAY_3 | ADC_CCR_DELAY_2 | ADC_CCR_DELAY_0))

◆ ADC_TWOSAMPLINGDELAY_19CYCLES

#define ADC_TWOSAMPLINGDELAY_19CYCLES   ((uint32_t)(ADC_CCR_DELAY_3 | ADC_CCR_DELAY_2 | ADC_CCR_DELAY_1))

◆ ADC_TWOSAMPLINGDELAY_20CYCLES

#define ADC_TWOSAMPLINGDELAY_20CYCLES   ((uint32_t)ADC_CCR_DELAY)