STM32L486xx 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   (0x00000000U)
#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   (0x00000000U)

ADC asynchronous clock without prescaler

Definition at line 703 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 708 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 709 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 713 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 710 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 704 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 714 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 711 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 705 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 706 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 712 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 707 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 700 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 701 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 702 of file stm32l4xx_ll_adc.h.