STM32L443xx HAL User Manual
Defines
ADC common - Clock source
ADC Exported Constants

Defines

#define LL_ADC_CLOCK_SYNC_PCLK_DIV1   (ADC_CCR_CKMODE_0)
#define LL_ADC_CLOCK_SYNC_PCLK_DIV2   (ADC_CCR_CKMODE_1 )
#define LL_ADC_CLOCK_SYNC_PCLK_DIV4   (ADC_CCR_CKMODE_1 | ADC_CCR_CKMODE_0)
#define LL_ADC_CLOCK_ASYNC_DIV1   (0x00000000UL)
#define LL_ADC_CLOCK_ASYNC_DIV2   (ADC_CCR_PRESC_0)
#define LL_ADC_CLOCK_ASYNC_DIV4   (ADC_CCR_PRESC_1 )
#define LL_ADC_CLOCK_ASYNC_DIV6   (ADC_CCR_PRESC_1 | ADC_CCR_PRESC_0)
#define LL_ADC_CLOCK_ASYNC_DIV8   (ADC_CCR_PRESC_2 )
#define LL_ADC_CLOCK_ASYNC_DIV10   (ADC_CCR_PRESC_2 | ADC_CCR_PRESC_0)
#define LL_ADC_CLOCK_ASYNC_DIV12   (ADC_CCR_PRESC_2 | ADC_CCR_PRESC_1 )
#define LL_ADC_CLOCK_ASYNC_DIV16   (ADC_CCR_PRESC_2 | ADC_CCR_PRESC_1 | ADC_CCR_PRESC_0)
#define LL_ADC_CLOCK_ASYNC_DIV32   (ADC_CCR_PRESC_3)
#define LL_ADC_CLOCK_ASYNC_DIV64   (ADC_CCR_PRESC_3 | ADC_CCR_PRESC_0)
#define LL_ADC_CLOCK_ASYNC_DIV128   (ADC_CCR_PRESC_3 | ADC_CCR_PRESC_1)
#define LL_ADC_CLOCK_ASYNC_DIV256   (ADC_CCR_PRESC_3 | ADC_CCR_PRESC_1 | ADC_CCR_PRESC_0)

Define Documentation

#define LL_ADC_CLOCK_ASYNC_DIV1   (0x00000000UL)

ADC asynchronous clock without prescaler

Definition at line 669 of file stm32l4xx_ll_adc.h.

#define LL_ADC_CLOCK_ASYNC_DIV10   (ADC_CCR_PRESC_2 | ADC_CCR_PRESC_0)

ADC asynchronous clock with prescaler division by 10

Definition at line 674 of file stm32l4xx_ll_adc.h.

#define LL_ADC_CLOCK_ASYNC_DIV12   (ADC_CCR_PRESC_2 | ADC_CCR_PRESC_1 )

ADC asynchronous clock with prescaler division by 12

Definition at line 675 of file stm32l4xx_ll_adc.h.

#define LL_ADC_CLOCK_ASYNC_DIV128   (ADC_CCR_PRESC_3 | ADC_CCR_PRESC_1)

ADC asynchronous clock with prescaler division by 128

Definition at line 679 of file stm32l4xx_ll_adc.h.

#define LL_ADC_CLOCK_ASYNC_DIV16   (ADC_CCR_PRESC_2 | ADC_CCR_PRESC_1 | ADC_CCR_PRESC_0)

ADC asynchronous clock with prescaler division by 16

Definition at line 676 of file stm32l4xx_ll_adc.h.

#define LL_ADC_CLOCK_ASYNC_DIV2   (ADC_CCR_PRESC_0)

ADC asynchronous clock with prescaler division by 2

Definition at line 670 of file stm32l4xx_ll_adc.h.

#define LL_ADC_CLOCK_ASYNC_DIV256   (ADC_CCR_PRESC_3 | ADC_CCR_PRESC_1 | ADC_CCR_PRESC_0)

ADC asynchronous clock with prescaler division by 256

Definition at line 680 of file stm32l4xx_ll_adc.h.

#define LL_ADC_CLOCK_ASYNC_DIV32   (ADC_CCR_PRESC_3)

ADC asynchronous clock with prescaler division by 32

Definition at line 677 of file stm32l4xx_ll_adc.h.

#define LL_ADC_CLOCK_ASYNC_DIV4   (ADC_CCR_PRESC_1 )

ADC asynchronous clock with prescaler division by 4

Definition at line 671 of file stm32l4xx_ll_adc.h.

#define LL_ADC_CLOCK_ASYNC_DIV6   (ADC_CCR_PRESC_1 | ADC_CCR_PRESC_0)

ADC asynchronous clock with prescaler division by 6

Definition at line 672 of file stm32l4xx_ll_adc.h.

#define LL_ADC_CLOCK_ASYNC_DIV64   (ADC_CCR_PRESC_3 | ADC_CCR_PRESC_0)

ADC asynchronous clock with prescaler division by 64

Definition at line 678 of file stm32l4xx_ll_adc.h.

#define LL_ADC_CLOCK_ASYNC_DIV8   (ADC_CCR_PRESC_2 )

ADC asynchronous clock with prescaler division by 8

Definition at line 673 of file stm32l4xx_ll_adc.h.

#define LL_ADC_CLOCK_SYNC_PCLK_DIV1   (ADC_CCR_CKMODE_0)

ADC synchronous clock derived from AHB clock without prescaler

Definition at line 666 of file stm32l4xx_ll_adc.h.

#define LL_ADC_CLOCK_SYNC_PCLK_DIV2   (ADC_CCR_CKMODE_1 )

ADC synchronous clock derived from AHB clock with prescaler division by 2

Definition at line 667 of file stm32l4xx_ll_adc.h.

Referenced by LL_ADC_CommonStructInit().

#define LL_ADC_CLOCK_SYNC_PCLK_DIV4   (ADC_CCR_CKMODE_1 | ADC_CCR_CKMODE_0)

ADC synchronous clock derived from AHB clock with prescaler division by 4

Definition at line 668 of file stm32l4xx_ll_adc.h.