MCUSW
Loading...
Searching...
No Matches
Adc_Cfg.h File Reference

Introduction

This file contains generated pre compile configuration file for ADC MCAL driver.

Go to the source code of this file.

ADC HW unit Info

#define ADC_UNIT_1   ((Adc_HWUnitType) 1U)
 ADC2 instance.
 
const struct Adc_ConfigType_s AdcConfigSet
 ADC Configuration struct declaration.
 
void Adc_IrqUnit0 (void)
 
void Adc_IrqUnit1 (void)
 

Macros

#define ADC_VARIANT_POST_BUILD   (STD_ON)
 ADC Build Variant. Build variants.(i.e Pre Compile,Post Build)
 
ADC Driver ISR category level

Definitions for ADC Driver ISR ISR category level.

#define ADC_ISR_VOID   (0x00U)
 void ISR type
 
#define ADC_ISR_CAT1   (0x01U)
 Category 1 ISR type.
 
#define ADC_ISR_CAT2   (0x02U)
 Category 2 ISR type.
 
#define ADC_DEV_ERROR_DETECT   (STD_ON)
 Pre Compile config macro name.
 
#define ADC_GROUP_LOG   (STD_OFF)
 Enable/disable ADC group log.
 
#define ADC_MAX_GROUP_LOG   (100U)
 Maximum group log entries when logging is ON.
 
#define ADC_FIFO_ERR_LOG   (STD_OFF)
 Enable/disable ADC FIFO error log.
 
#define ADC_MAX_FIFO_ERR_LOG   (100U)
 Maximum FIFO error log entries when logging is ON.
 
#define ADC_VERSION_INFO_API   (STD_ON)
 Enable/disable ADC get version info API.
 
#define ADC_READ_GROUP_API   (STD_ON)
 Read group API.
 
#define ADC_GRP_NOTIF_CAPABILITY_API   (STD_ON)
 Enable/disable ADC enable/disable group notify API.
 
#define ADC_ENABLE_START_STOP_GROUP_API   (STD_ON)
 Enable/disable ADC start/stop group notify API.
 
#define ADC_DEINIT_API   (STD_ON)
 Enable/disable ADC deinit API.
 
#define ADC_INTERNAL_DIAGNOSTIC_DEBUG_MODE_API   (STD_ON)
 Enable/disable Internal Diagnostic Debug Mode API.
 
#define ADC_PRIORITY_IMPLEMENTATION   (ADC_PRIORITY_HW_SW)
 Determines whether a priority mechanism is available for prioritization of the conversion requests and if available, the type of prioritization mechanism.
 
#define ADC_ENABLE_QUEUING   (STD_ON)
 Determines, if the queuing mechanism is active in case of priority mechanism disabled.
 
#define ADC_RESULT_ALIGNMENT   (ADC_ALIGN_RIGHT)
 Alignment of ADC raw results in ADC result buffer (left/right alignment)
 
#define ADC_MAX_GROUP   ((uint8)2U)
 Maximum group across all hwunit.
 
#define ADC_MAX_HW_UNIT   ((uint8)2U)
 Maximum HW unit - This should match the sum for the below units ISR which are ON.
 
#define ADC_INSTANCE_0
 
#define ADC_ISR_TYPE   (ADC_ISR_CAT1)
 ISR type.
 
#define ADC_OS_COUNTER_ID   ((CounterType)0U)
 Counter ID for counter used to count wait ticks.
 
#define ADC_TIMEOUT_DURATION   (15000U)
 ADC timeout - used in ADC AFE busy wait and FSM busy wait.
 
#define ADC_REGISTER_READBACK_API   (STD_ON)
 Enable/disable ADC register read back API.
 
ADC Driver ISR category level

Definitions for ADC Driver ISR ISR category level.

#define ADC_INSTANCE_1
 
#define ADC_DIFFERENTIAL_INPUT_ENABLE   (STD_OFF)
 Enable/disable ADC differential input support.
 
Adc Group Id names

Defines for symbolic names for the AdcGroupId

#define AdcConf_AdcHwUnit_AdcHwUnit_0_AdcGroup_AdcGroup_0   (0U)
 
#define ADC_GROUP_ID_0   AdcConf_AdcHwUnit_AdcHwUnit_0_AdcGroup_AdcGroup_0
 
Adc Group Id names

Defines for symbolic names for the AdcGroupId

#define AdcConf_AdcHwUnit_AdcHwUnit_1_AdcGroup_AdcGroup_0   (1U)
 
#define ADC_GROUP_ID_1   AdcConf_AdcHwUnit_AdcHwUnit_1_AdcGroup_AdcGroup_0
 
Adc Hw Unit Id names

Defines for symbolic names for the AdcHwUnitId

#define AdcConf_AdcHwUnit_AdcHwUnit_0   (ADC_UNIT_0)
 
#define ADC_HW_UNIT_ID_0   AdcConf_AdcHwUnit_AdcHwUnit_0
 
Adc Hw Unit Id names

Defines for symbolic names for the AdcHwUnitId

#define AdcConf_AdcHwUnit_AdcHwUnit_1   (ADC_UNIT_1)
 
#define ADC_HW_UNIT_ID_1   AdcConf_AdcHwUnit_AdcHwUnit_1
 
Adc Group Channel Id names

Defines for symbolic names for the Adc Group Channel Id

#define AdcConf_AdcHwUnit_AdcHwUnit_0_AdcGroup_AdcGroup_0_AdcChannel_AdcChannel_0   (0U)
 Channel Ids for each group.
 
#define ADC_HW_UNIT_ID_ADCHWUNIT_0_GROUP_ID_CHANNEL_ID_ADCCHANNEL_0   AdcConf_AdcHwUnit_AdcHwUnit_0_AdcGroup_AdcGroup_0_AdcChannel_AdcChannel_0
 
Adc Group Channel Id names

Defines for symbolic names for the Adc Group Channel Id

#define AdcConf_AdcHwUnit_AdcHwUnit_1_AdcGroup_AdcGroup_0_AdcChannel_AdcChannel_0   (0U)
 
#define ADC_HW_UNIT_ID_ADCHWUNIT_1_GROUP_ID_CHANNEL_ID_ADCCHANNEL_0   AdcConf_AdcHwUnit_AdcHwUnit_1_AdcGroup_AdcGroup_0_AdcChannel_AdcChannel_0
 
Adc Channel Id names

Defines for symbolic names for the Adc Channel Id

#define AdcConf_AdcHwUnit_AdcHwUnit_0_AdcChannel_AdcChannel_0   (0U)
 Channel Ids for all channels.
 
#define ADC_HW_UNIT_ID_ADCHWUNIT_0_CHANNEL_ID_ADCCHANNEL_0   AdcConf_AdcHwUnit_AdcHwUnit_0_AdcChannel_AdcChannel_0
 
Adc Channel Id names

Defines for symbolic names for the Adc Channel Id

#define AdcConf_AdcHwUnit_AdcHwUnit_1_AdcChannel_AdcChannel_0   (0U)
 
#define ADC_HW_UNIT_ID_ADCHWUNIT_1_CHANNEL_ID_ADCCHANNEL_0   AdcConf_AdcHwUnit_AdcHwUnit_1_AdcChannel_AdcChannel_0
 
ADC DEM Error codes to report

Pre-compile switches for enabling/disabling DEM events

#define ADC_E_HARDWARE_ERROR   (DemConf_DemEventParameter_ADC_E_HARDWARE_ERROR)
 Hardware failed.
 
ADC HW unit Info
#define ADC_UNIT_0   ((Adc_HWUnitType) 0U)
 ADC1 instance.
 
#define ADC_HW_UNIT_CNT   (2U)
 Total HW units - used for array allocation. This should be +1 of the max unit number.