Prusa MINI Firmware overview
ADC Analog Watchdog Selection
Collaboration diagram for ADC Analog Watchdog Selection:

Macros

#define ADC_ANALOGWATCHDOG_SINGLE_REG   ((uint32_t)(ADC_CR1_AWDSGL | ADC_CR1_AWDEN))
 
#define ADC_ANALOGWATCHDOG_SINGLE_INJEC   ((uint32_t)(ADC_CR1_AWDSGL | ADC_CR1_JAWDEN))
 
#define ADC_ANALOGWATCHDOG_SINGLE_REGINJEC   ((uint32_t)(ADC_CR1_AWDSGL | ADC_CR1_AWDEN | ADC_CR1_JAWDEN))
 
#define ADC_ANALOGWATCHDOG_ALL_REG   ((uint32_t)ADC_CR1_AWDEN)
 
#define ADC_ANALOGWATCHDOG_ALL_INJEC   ((uint32_t)ADC_CR1_JAWDEN)
 
#define ADC_ANALOGWATCHDOG_ALL_REGINJEC   ((uint32_t)(ADC_CR1_AWDEN | ADC_CR1_JAWDEN))
 
#define ADC_ANALOGWATCHDOG_NONE   0x00000000U
 

Detailed Description

Macro Definition Documentation

◆ ADC_ANALOGWATCHDOG_SINGLE_REG

#define ADC_ANALOGWATCHDOG_SINGLE_REG   ((uint32_t)(ADC_CR1_AWDSGL | ADC_CR1_AWDEN))

◆ ADC_ANALOGWATCHDOG_SINGLE_INJEC

#define ADC_ANALOGWATCHDOG_SINGLE_INJEC   ((uint32_t)(ADC_CR1_AWDSGL | ADC_CR1_JAWDEN))

◆ ADC_ANALOGWATCHDOG_SINGLE_REGINJEC

#define ADC_ANALOGWATCHDOG_SINGLE_REGINJEC   ((uint32_t)(ADC_CR1_AWDSGL | ADC_CR1_AWDEN | ADC_CR1_JAWDEN))

◆ ADC_ANALOGWATCHDOG_ALL_REG

#define ADC_ANALOGWATCHDOG_ALL_REG   ((uint32_t)ADC_CR1_AWDEN)

◆ ADC_ANALOGWATCHDOG_ALL_INJEC

#define ADC_ANALOGWATCHDOG_ALL_INJEC   ((uint32_t)ADC_CR1_JAWDEN)

◆ ADC_ANALOGWATCHDOG_ALL_REGINJEC

#define ADC_ANALOGWATCHDOG_ALL_REGINJEC   ((uint32_t)(ADC_CR1_AWDEN | ADC_CR1_JAWDEN))

◆ ADC_ANALOGWATCHDOG_NONE

#define ADC_ANALOGWATCHDOG_NONE   0x00000000U