G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
Oversampling - Data shift

Macros

#define DDL_ADC16_OVS_SHIFT_NONE   (0x00000000UL)
#define DDL_ADC16_OVS_SHIFT_RIGHT_1   ( ADC_CFGR2_OVSS_0)
#define DDL_ADC16_OVS_SHIFT_RIGHT_2   ( ADC_CFGR2_OVSS_1 )
#define DDL_ADC16_OVS_SHIFT_RIGHT_3   ( ADC_CFGR2_OVSS_1 | ADC_CFGR2_OVSS_0)
#define DDL_ADC16_OVS_SHIFT_RIGHT_4   ( ADC_CFGR2_OVSS_2 )

Detailed Description

Macro Definition Documentation

◆ DDL_ADC16_OVS_SHIFT_NONE

#define DDL_ADC16_OVS_SHIFT_NONE   (0x00000000UL)

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

Definition at line 813 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_OVS_SHIFT_RIGHT_1

#define DDL_ADC16_OVS_SHIFT_RIGHT_1   ( ADC_CFGR2_OVSS_0)

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 814 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_OVS_SHIFT_RIGHT_2

#define DDL_ADC16_OVS_SHIFT_RIGHT_2   ( ADC_CFGR2_OVSS_1 )

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 815 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_OVS_SHIFT_RIGHT_3

#define DDL_ADC16_OVS_SHIFT_RIGHT_3   ( ADC_CFGR2_OVSS_1 | ADC_CFGR2_OVSS_0)

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 816 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_OVS_SHIFT_RIGHT_4

#define DDL_ADC16_OVS_SHIFT_RIGHT_4   ( ADC_CFGR2_OVSS_2 )

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 817 of file g32r4xx_ddl_adc16.h.