Prusa MINI Firmware overview
Collaboration diagram for ADC Resolution:

Macros

#define ADC_RESOLUTION_12B   0x00000000U
 
#define ADC_RESOLUTION_10B   ((uint32_t)ADC_CR1_RES_0)
 
#define ADC_RESOLUTION_8B   ((uint32_t)ADC_CR1_RES_1)
 
#define ADC_RESOLUTION_6B   ((uint32_t)ADC_CR1_RES)
 

Detailed Description

Macro Definition Documentation

◆ ADC_RESOLUTION_12B

#define ADC_RESOLUTION_12B   0x00000000U

◆ ADC_RESOLUTION_10B

#define ADC_RESOLUTION_10B   ((uint32_t)ADC_CR1_RES_0)

◆ ADC_RESOLUTION_8B

#define ADC_RESOLUTION_8B   ((uint32_t)ADC_CR1_RES_1)

◆ ADC_RESOLUTION_6B

#define ADC_RESOLUTION_6B   ((uint32_t)ADC_CR1_RES)