STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
Oversampling - Data shift
Collaboration diagram for Oversampling - Data shift:

Macros

#define ADC_RIGHTBITSHIFT_NONE   (LL_ADC_OVS_SHIFT_NONE)
 ADC oversampling no shift (sum of the ADC conversions data is not divided to result as the ADC oversampling conversion data).
#define ADC_RIGHTBITSHIFT_1   (LL_ADC_OVS_SHIFT_RIGHT_1)
 ADC oversampling shift of 1 (sum of the ADC conversions data is divided by 2 to result as the ADC oversampling conversion data).
#define ADC_RIGHTBITSHIFT_2   (LL_ADC_OVS_SHIFT_RIGHT_2)
 ADC oversampling shift of 2 (sum of the ADC conversions data is divided by 4 to result as the ADC oversampling conversion data).
#define ADC_RIGHTBITSHIFT_3   (LL_ADC_OVS_SHIFT_RIGHT_3)
 ADC oversampling shift of 3 (sum of the ADC conversions data is divided by 8 to result as the ADC oversampling conversion data).
#define ADC_RIGHTBITSHIFT_4   (LL_ADC_OVS_SHIFT_RIGHT_4)
 ADC oversampling shift of 4 (sum of the ADC conversions data is divided by 16 to result as the ADC oversampling conversion data).
#define ADC_RIGHTBITSHIFT_5   (LL_ADC_OVS_SHIFT_RIGHT_5)
 ADC oversampling shift of 5 (sum of the ADC conversions data is divided by 32 to result as the ADC oversampling conversion data).
#define ADC_RIGHTBITSHIFT_6   (LL_ADC_OVS_SHIFT_RIGHT_6)
 ADC oversampling shift of 6 (sum of the ADC conversions data is divided by 64 to result as the ADC oversampling conversion data).
#define ADC_RIGHTBITSHIFT_7   (LL_ADC_OVS_SHIFT_RIGHT_7)
 ADC oversampling shift of 7 (sum of the ADC conversions data is divided by 128 to result as the ADC oversampling conversion data).
#define ADC_RIGHTBITSHIFT_8   (LL_ADC_OVS_SHIFT_RIGHT_8)
 ADC oversampling shift of 8 (sum of the ADC conversions data is divided by 256 to result as the ADC oversampling conversion data).
#define ADC_RIGHTBITSHIFT_9   (LL_ADC_OVS_SHIFT_RIGHT_9)
 ADC oversampling shift of 9 (sum of the ADC conversions data is divided by 512 to result as the ADC oversampling conversion data).
#define ADC_RIGHTBITSHIFT_10   (LL_ADC_OVS_SHIFT_RIGHT_10
 ADC oversampling shift of 10 (sum of the ADC conversions data is divided by 1024 to result as the ADC oversampling conversion data).
#define ADC_RIGHTBITSHIFT_11   (LL_ADC_OVS_SHIFT_RIGHT_11
 ADC oversampling shift of 11 (sum of the ADC conversions data is divided by 2048 to result as the ADC oversampling conversion data).

Detailed Description

Macro Definition Documentation

◆ ADC_RIGHTBITSHIFT_1

#define ADC_RIGHTBITSHIFT_1   (LL_ADC_OVS_SHIFT_RIGHT_1)

ADC oversampling shift of 1 (sum of the ADC conversions data is divided by 2 to result as the ADC oversampling conversion data).

Definition at line 807 of file stm32h7xx_hal_adc.h.

◆ ADC_RIGHTBITSHIFT_10

#define ADC_RIGHTBITSHIFT_10   (LL_ADC_OVS_SHIFT_RIGHT_10

ADC oversampling shift of 10 (sum of the ADC conversions data is divided by 1024 to result as the ADC oversampling conversion data).

Definition at line 816 of file stm32h7xx_hal_adc.h.

◆ ADC_RIGHTBITSHIFT_11

#define ADC_RIGHTBITSHIFT_11   (LL_ADC_OVS_SHIFT_RIGHT_11

ADC oversampling shift of 11 (sum of the ADC conversions data is divided by 2048 to result as the ADC oversampling conversion data).

Definition at line 817 of file stm32h7xx_hal_adc.h.

◆ ADC_RIGHTBITSHIFT_2

#define ADC_RIGHTBITSHIFT_2   (LL_ADC_OVS_SHIFT_RIGHT_2)

ADC oversampling shift of 2 (sum of the ADC conversions data is divided by 4 to result as the ADC oversampling conversion data).

Definition at line 808 of file stm32h7xx_hal_adc.h.

◆ ADC_RIGHTBITSHIFT_3

#define ADC_RIGHTBITSHIFT_3   (LL_ADC_OVS_SHIFT_RIGHT_3)

ADC oversampling shift of 3 (sum of the ADC conversions data is divided by 8 to result as the ADC oversampling conversion data).

Definition at line 809 of file stm32h7xx_hal_adc.h.

◆ ADC_RIGHTBITSHIFT_4

#define ADC_RIGHTBITSHIFT_4   (LL_ADC_OVS_SHIFT_RIGHT_4)

ADC oversampling shift of 4 (sum of the ADC conversions data is divided by 16 to result as the ADC oversampling conversion data).

Definition at line 810 of file stm32h7xx_hal_adc.h.

◆ ADC_RIGHTBITSHIFT_5

#define ADC_RIGHTBITSHIFT_5   (LL_ADC_OVS_SHIFT_RIGHT_5)

ADC oversampling shift of 5 (sum of the ADC conversions data is divided by 32 to result as the ADC oversampling conversion data).

Definition at line 811 of file stm32h7xx_hal_adc.h.

◆ ADC_RIGHTBITSHIFT_6

#define ADC_RIGHTBITSHIFT_6   (LL_ADC_OVS_SHIFT_RIGHT_6)

ADC oversampling shift of 6 (sum of the ADC conversions data is divided by 64 to result as the ADC oversampling conversion data).

Definition at line 812 of file stm32h7xx_hal_adc.h.

◆ ADC_RIGHTBITSHIFT_7

#define ADC_RIGHTBITSHIFT_7   (LL_ADC_OVS_SHIFT_RIGHT_7)

ADC oversampling shift of 7 (sum of the ADC conversions data is divided by 128 to result as the ADC oversampling conversion data).

Definition at line 813 of file stm32h7xx_hal_adc.h.

◆ ADC_RIGHTBITSHIFT_8

#define ADC_RIGHTBITSHIFT_8   (LL_ADC_OVS_SHIFT_RIGHT_8)

ADC oversampling shift of 8 (sum of the ADC conversions data is divided by 256 to result as the ADC oversampling conversion data).

Definition at line 814 of file stm32h7xx_hal_adc.h.

◆ ADC_RIGHTBITSHIFT_9

#define ADC_RIGHTBITSHIFT_9   (LL_ADC_OVS_SHIFT_RIGHT_9)

ADC oversampling shift of 9 (sum of the ADC conversions data is divided by 512 to result as the ADC oversampling conversion data).

Definition at line 815 of file stm32h7xx_hal_adc.h.

◆ ADC_RIGHTBITSHIFT_NONE

#define ADC_RIGHTBITSHIFT_NONE   (LL_ADC_OVS_SHIFT_NONE)

ADC oversampling no shift (sum of the ADC conversions data is not divided to result as the ADC oversampling conversion data).

Definition at line 806 of file stm32h7xx_hal_adc.h.