G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
Analog watchdog - filtering config

Macros

#define DDL_ADC16_AWD_FILTERING_NONE   (0x00000000UL)
#define DDL_ADC16_AWD_FILTERING_2SAMPLES   ( ADC_CFGR2_AWDFILT_0)
#define DDL_ADC16_AWD_FILTERING_3SAMPLES   ( ADC_CFGR2_AWDFILT_1 )
#define DDL_ADC16_AWD_FILTERING_4SAMPLES   ( ADC_CFGR2_AWDFILT_1 | ADC_CFGR2_AWDFILT_0)
#define DDL_ADC16_AWD_FILTERING_5SAMPLES   (ADC_CFGR2_AWDFILT_2 )
#define DDL_ADC16_AWD_FILTERING_6SAMPLES   (ADC_CFGR2_AWDFILT_2 | ADC_CFGR2_AWDFILT_0)
#define DDL_ADC16_AWD_FILTERING_7SAMPLES   (ADC_CFGR2_AWDFILT_2 | ADC_CFGR2_AWDFILT_1 )
#define DDL_ADC16_AWD_FILTERING_8SAMPLES   (ADC_CFGR2_AWDFILT_2 | ADC_CFGR2_AWDFILT_1 | ADC_CFGR2_AWDFILT_0)

Detailed Description

Macro Definition Documentation

◆ DDL_ADC16_AWD_FILTERING_2SAMPLES

#define DDL_ADC16_AWD_FILTERING_2SAMPLES   ( ADC_CFGR2_AWDFILT_0)

ADC analog wathdog 2 consecutives out-of-window samples are needed to raise flag or interrupt

Definition at line 871 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_AWD_FILTERING_3SAMPLES

#define DDL_ADC16_AWD_FILTERING_3SAMPLES   ( ADC_CFGR2_AWDFILT_1 )

ADC analog wathdog 3 consecutives out-of-window samples are needed to raise flag or interrupt

Definition at line 872 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_AWD_FILTERING_4SAMPLES

#define DDL_ADC16_AWD_FILTERING_4SAMPLES   ( ADC_CFGR2_AWDFILT_1 | ADC_CFGR2_AWDFILT_0)

ADC analog wathdog 4 consecutives out-of-window samples are needed to raise flag or interrupt

Definition at line 873 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_AWD_FILTERING_5SAMPLES

#define DDL_ADC16_AWD_FILTERING_5SAMPLES   (ADC_CFGR2_AWDFILT_2 )

ADC analog wathdog 5 consecutives out-of-window samples are needed to raise flag or interrupt

Definition at line 874 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_AWD_FILTERING_6SAMPLES

#define DDL_ADC16_AWD_FILTERING_6SAMPLES   (ADC_CFGR2_AWDFILT_2 | ADC_CFGR2_AWDFILT_0)

ADC analog wathdog 6 consecutives out-of-window samples are needed to raise flag or interrupt

Definition at line 875 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_AWD_FILTERING_7SAMPLES

#define DDL_ADC16_AWD_FILTERING_7SAMPLES   (ADC_CFGR2_AWDFILT_2 | ADC_CFGR2_AWDFILT_1 )

ADC analog wathdog 7 consecutives out-of-window samples are needed to raise flag or interrupt

Definition at line 876 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_AWD_FILTERING_8SAMPLES

#define DDL_ADC16_AWD_FILTERING_8SAMPLES   (ADC_CFGR2_AWDFILT_2 | ADC_CFGR2_AWDFILT_1 | ADC_CFGR2_AWDFILT_0)

ADC analog wathdog 8 consecutives out-of-window samples are needed to raise flag or interrupt

Definition at line 877 of file g32r4xx_ddl_adc16.h.

◆ DDL_ADC16_AWD_FILTERING_NONE

#define DDL_ADC16_AWD_FILTERING_NONE   (0x00000000UL)

ADC analog wathdog no filtering, one out-of-window sample is needed to raise flag or interrupt

Definition at line 870 of file g32r4xx_ddl_adc16.h.