Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
Data Structures | Macros | Typedefs | Functions | Variables
ADC2_api

Detailed Description

Data Structures

union  ADC2_CHCFGx
 
union  ADC2_SQCFGx
 
union  ADC2_CONVCFGx
 
union  ADC2_CMPCFGx
 
union  ADC2_SQSLOTx
 

Macros

#define ADC2_DCH_CNT   (15u)
 ADC2 number of digital channels. More...
 
#define ADC2_AI_CNT   (15u)
 ADC2 number of analog inputs. More...
 
#define ADC2_FILT_CNT   (8u)
 ADC2 number of filter channels. More...
 
#define ADC2_SEQ_CNT   (4u)
 ADC2 number of sequencer channels. More...
 
#define ADC2_SLOT_CNT   (4u)
 ADC2 number of channel slots per sequencer channels. More...
 
#define ADC2_FILT_CH_DIS   (4u)
 ADC2 filter channel disabled. More...
 
#define ADC2_ALL_DCH_MSK   (0xfffffu)
 ADC2 all digital channel mask, 9..0. More...
 
#define ADC2_ALL_SQSTS_MSK   (0xfffu)
 ADC2 all sequence status mask, 11..0. More...
 
#define ADC2_ALL_FILTSTS_MSK   (0xfu)
 ADC2 all filter status mask, 3..0. More...
 
#define ADC2_ALL_CMPSTS_MSK   (0xff00ffu)
 ADC2 all compare status mask, 23..16, 7..0. More...
 
#define ADC2_VAREF_mV   (1211u)
 ADC2 reference voltage 1.211V. More...
 
#define ADC2_MAX_RESOLUTION   (0xfffu)
 ADC2 resolution mask (12bit) incl. two bit shift due to calibration. More...
 
#define ADC2_ATT_TYPE0   (12u)
 ADC2 attenuator type 0 (12/256) More...
 
#define ADC2_ATT_TYPE1   (10u)
 ADC2 attenuator type 1 (10/256) More...
 
#define ADC2_ATT_TYPE2   (6u)
 ADC2 attenuator type 2 (6/256) More...
 
#define ADC2_ATT_TYPE3   (38u)
 ADC2 attenuator type 3 (38/256) More...
 
#define ADC2_ATT_TYPE4   (58u)
 ADC2 attenuator type 4 (58/256) More...
 
#define ADC2_ATT_DENOM   (256u)
 ADC2 attenuator denominator (256) More...
 
#define ADC2_DCH0   (0u)
 ADC2 digital channel selection macro, channel 0. More...
 
#define ADC2_DCH1   (1u)
 ADC2 digital channel selection macro, channel 1. More...
 
#define ADC2_DCH2   (2u)
 ADC2 digital channel selection macro, channel 2. More...
 
#define ADC2_DCH3   (3u)
 ADC2 digital channel selection macro, channel 3. More...
 
#define ADC2_DCH4   (4u)
 ADC2 digital channel selection macro, channel 4. More...
 
#define ADC2_DCH5   (5u)
 ADC2 digital channel selection macro, channel 5. More...
 
#define ADC2_DCH6   (6u)
 ADC2 digital channel selection macro, channel 6. More...
 
#define ADC2_DCH7   (7u)
 ADC2 digital channel selection macro, channel 7. More...
 
#define ADC2_DCH8   (8u)
 ADC2 digital channel selection macro, channel 8. More...
 
#define ADC2_DCH9   (9u)
 ADC2 digital channel selection macro, channel 9. More...
 
#define ADC2_DCH10   (10u)
 ADC2 digital channel selection macro, channel 10. More...
 
#define ADC2_DCH11   (11u)
 ADC2 digital channel selection macro, channel 11. More...
 
#define ADC2_DCH12   (12u)
 ADC2 digital channel selection macro, channel 12. More...
 
#define ADC2_DCH13   (13u)
 ADC2 digital channel selection macro, channel 13. More...
 
#define ADC2_DCH14   (14u)
 ADC2 digital channel selection macro, channel 14. More...
 
#define ADC2_SEQ0   (0u)
 ADC2 sequencer channel selection macro, sequencer channel 0. More...
 
#define ADC2_SEQ1   (1u)
 ADC2 sequencer channel selection macro, sequencer channel 1. More...
 
#define ADC2_SEQ2   (2u)
 ADC2 sequencer channel selection macro, sequencer channel 2. More...
 
#define ADC2_SEQ3   (3u)
 ADC2 sequencer channel selection macro, sequencer channel 3. More...
 
#define ADC2_SEQ_SLOT0   (0u)
 ADC2 sequencer slot selection, slot 0. More...
 
#define ADC2_SEQ_SLOT1   (1u)
 ADC2 sequencer slot selection, slot 1. More...
 
#define ADC2_SEQ_SLOT2   (2u)
 ADC2 sequencer slot selection, slot 2. More...
 
#define ADC2_SEQ_SLOT3   (3u)
 ADC2 sequencer slot selection, slot 3. More...
 
#define ADC2_SW_TRIGGER   (0u)
 ADC2 software trigger selection. More...
 

Typedefs

typedef union ADC2_CHCFGx tADC2_CHCFGx
 
typedef union ADC2_SQCFGx tADC2_SQCFGx
 
typedef union ADC2_CONVCFGx tADC2_CONVCFGx
 
typedef union ADC2_CMPCFGx tADC2_CMPCFGx
 
typedef union ADC2_SQSLOTx tADC2_SQSLOTx
 

Functions

sint8 ADC2_init (void)
 Initialize all CW registers of the ADC2 module. More...
 
sint8 ADC2_getChResult (uint16 *u16p_digValue, uint8 u8_channel)
 Get the 12-bit value of the ADC2 Result Register of the selected ADC2 channel and returns the validity info. More...
 
sint8 ADC2_getChResult_mV (uint16 *u16p_digValue_mV, uint8 u8_channel)
 Get the value of the ADC2 Result Register of the selected ADC2 channel in millivolt (mV) and returns the validity info. More...
 
sint8 ADC2_getChFiltResult (uint16 *u16p_filtDigValue, uint8 u8_channel)
 Get the 14-bit value of the ADC2 Filter Result Register of the selected ADC2 channel and returns the validity info. More...
 
sint8 ADC2_getChFiltResult_mV (uint16 *u16p_filtDigValue_mV, uint8 u8_channel)
 Get the value of the ADC2 Result Filter Register of the selected ADC2 channel in millivolt (mV) and returns the validity info. More...
 
sint8 ADC2_getSeqResult (uint16 *u16p_DigValue, uint8 u8_seqIdx, uint8 u8_slotIdx)
 Get the 12-bit value of the ADC2 Result Register of the selected slot in the sequencer and returns the validity info. More...
 
sint8 ADC2_getSeqResult_mV (uint16 *u16p_digValue_mV, uint8 u8_seqIdx, uint8 u8_slotIdx)
 Get the 12-bit value of the ADC2 Result Register in mV of the selected slot in the sequencer and returns the validity info. More...
 
sint8 ADC2_startSequence (uint8 u8_seqIdx)
 Start the conversion of a sequence by software. More...
 
uint8 ADC2_getEndOfConvSts (uint8 u8_seqIdx, uint8 u8_slotIdx)
 Get End-of-Convertion status for selected sequence and slot. More...
 
INLINE void ADC2_enPower (void)
 Enable ADC2 Module. More...
 
INLINE void ADC2_disPower (void)
 Disable ADC2 Module. More...
 
INLINE void ADC2_enSuspend (void)
 Enable ADC2 Suspend. More...
 
INLINE void ADC2_disSuspend (void)
 Disable ADC2 Suspend. More...
 
INLINE void ADC2_setSuspendMode (uint8 u8_susMode)
 Set Suspend Mode. More...
 
INLINE uint8 ADC2_getSuspendMode (void)
 Get Suspend Mode. More...
 
INLINE uint8 ADC2_getSuspendSts (void)
 Get Suspend Mode Status. More...
 
INLINE void ADC2_setSeq0Config (tADC2_SQCFGx e_value)
 Set Sequence 0 configuration. More...
 
INLINE void ADC2_setSeq1Config (tADC2_SQCFGx e_value)
 Set Sequence 1 configuration. More...
 
INLINE void ADC2_setSeq1Slot0 (uint8 e_value)
 Set Channel Select for Sequence 1 Slot 0. More...
 
INLINE void ADC2_setSeq2Config (tADC2_SQCFGx e_value)
 Set Sequence 2 configuration. More...
 
INLINE void ADC2_setSeq3Config (tADC2_SQCFGx e_value)
 Set Sequence 3 configuration. More...
 
INLINE uint8 ADC2_getSeq0IntSts (void)
 Get Sequence 0 Interrupt Status. More...
 
INLINE uint8 ADC2_getSeq1IntSts (void)
 Get Sequence 1 Interrupt Status. More...
 
INLINE uint8 ADC2_getSeq2IntSts (void)
 Get Sequence 2 Interrupt Status. More...
 
INLINE uint8 ADC2_getSeq3IntSts (void)
 Get Sequence 3 Interrupt Status. More...
 
INLINE uint8 ADC2_getCurrSeq (void)
 Get Actual Sequence processed. More...
 
INLINE void ADC2_clrSeq0IntSts (void)
 Clear Sequence 0 Interrupt Status. More...
 
INLINE void ADC2_clrSeq1IntSts (void)
 Clear Sequence 1 Interrupt Status. More...
 
INLINE void ADC2_clrSeq2IntSts (void)
 Clear Sequence 2 Interrupt Status. More...
 
INLINE void ADC2_clrSeq3IntSts (void)
 Clear Sequence 3 Interrupt Status. More...
 
INLINE void ADC2_setCh0Config (tADC2_CHCFGx e_value)
 Set Channel 0 configuration. More...
 
INLINE void ADC2_setCh1Config (tADC2_CHCFGx e_value)
 Set Channel 1 configuration. More...
 
INLINE void ADC2_setCh2Config (tADC2_CHCFGx e_value)
 Set Channel 2 configuration. More...
 
INLINE void ADC2_setCh3Config (tADC2_CHCFGx e_value)
 Set Channel 3 configuration. More...
 
INLINE void ADC2_setCh4Config (tADC2_CHCFGx e_value)
 Set Channel 4 configuration. More...
 
INLINE void ADC2_setCh5Config (tADC2_CHCFGx e_value)
 Set Channel 5 configuration. More...
 
INLINE void ADC2_setCh6Config (tADC2_CHCFGx e_value)
 Set Channel 6 configuration. More...
 
INLINE void ADC2_setCh7Config (tADC2_CHCFGx e_value)
 Set Channel 7 configuration. More...
 
INLINE void ADC2_setCh8Config (tADC2_CHCFGx e_value)
 Set Channel 8 configuration. More...
 
INLINE void ADC2_setCh9Config (tADC2_CHCFGx e_value)
 Set Channel 9 configuration. More...
 
INLINE void ADC2_setCh10Config (tADC2_CHCFGx e_value)
 Set Channel 10 configuration. More...
 
INLINE void ADC2_setCh11Config (tADC2_CHCFGx e_value)
 Set Channel 11 configuration. More...
 
INLINE void ADC2_setCh12Config (tADC2_CHCFGx e_value)
 Set Channel 12 configuration. More...
 
INLINE void ADC2_setCh13Config (tADC2_CHCFGx e_value)
 Set Channel 13 configuration. More...
 
INLINE void ADC2_setCh14Config (tADC2_CHCFGx e_value)
 Set Channel 14 configuration. More...
 
INLINE uint8 ADC2_getCh0EndOfConvSts (void)
 Get Channel 0 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh1EndOfConvSts (void)
 Get Channel 1 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh2EndOfConvSts (void)
 Get Channel 2 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh3EndOfConvSts (void)
 Get Channel 3 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh4EndOfConvSts (void)
 Get Channel 4 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh5EndOfConvSts (void)
 Get Channel 5 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh6EndOfConvSts (void)
 Get Channel 6 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh7EndOfConvSts (void)
 Get Channel 7 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh8EndOfConvSts (void)
 Get Channel 8 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh9EndOfConvSts (void)
 Get Channel 9 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh10EndOfConvSts (void)
 Get Channel 10 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh11EndOfConvSts (void)
 Get Channel 11 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh12EndOfConvSts (void)
 Get Channel 12 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh13EndOfConvSts (void)
 Get Channel 13 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCh14EndOfConvSts (void)
 Get Channel 14 End Of Conversion Status. More...
 
INLINE uint8 ADC2_getCurrChannel (void)
 Get current channel under conversion. More...
 
INLINE void ADC2_clrCh0EndOfConvSts (void)
 Clear Channel 0 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh1EndOfConvSts (void)
 Clear Channel 1 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh2EndOfConvSts (void)
 Clear Channel 2 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh3EndOfConvSts (void)
 Clear Channel 3 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh4EndOfConvSts (void)
 Clear Channel 4 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh5EndOfConvSts (void)
 Clear Channel 5 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh6EndOfConvSts (void)
 Clear Channel 6 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh7EndOfConvSts (void)
 Clear Channel 7 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh8EndOfConvSts (void)
 Clear Channel 8 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh9EndOfConvSts (void)
 Clear Channel 9 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh10EndOfConvSts (void)
 Clear Channel 10 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh11EndOfConvSts (void)
 Clear Channel 11 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh12EndOfConvSts (void)
 Clear Channel 12 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh13EndOfConvSts (void)
 Clear Channel 13 End Of Conversion Status. More...
 
INLINE void ADC2_clrCh14EndOfConvSts (void)
 Clear Channel 14 End Of Conversion Status. More...
 
INLINE void ADC2_setConvClass0Config (tADC2_CONVCFGx e_value)
 Set Conversion Class 0. More...
 
INLINE void ADC2_setConvClass1Config (tADC2_CONVCFGx e_value)
 Set Conversion Class 1. More...
 
INLINE void ADC2_setConvClass2Config (tADC2_CONVCFGx e_value)
 Set Conversion Class 2. More...
 
INLINE void ADC2_setConvClass3Config (tADC2_CONVCFGx e_value)
 Set Conversion Class 3. More...
 
INLINE uint16 ADC2_getFilt0Res (void)
 Get Result Value Filter 0. More...
 
INLINE uint16 ADC2_getFilt1Res (void)
 Get Result Value Filter 1. More...
 
INLINE uint16 ADC2_getFilt2Res (void)
 Get Result Value Filter 2. More...
 
INLINE uint16 ADC2_getFilt3Res (void)
 Get Result Value Filter 3. More...
 
INLINE uint16 ADC2_getFilt4Res (void)
 Get Result Value Filter 4. More...
 
INLINE uint16 ADC2_getFilt5Res (void)
 Get Result Value Filter 5. More...
 
INLINE uint16 ADC2_getFilt6Res (void)
 Get Result Value Filter 6. More...
 
INLINE uint16 ADC2_getFilt7Res (void)
 Get Result Value Filter 7. More...
 
INLINE uint8 ADC2_getFilt0Sts (void)
 Get Filter 0 Event Status. More...
 
INLINE uint8 ADC2_getFilt1Sts (void)
 Get Filter 1 Event Status. More...
 
INLINE uint8 ADC2_getFilt2Sts (void)
 Get Filter 2 Event Status. More...
 
INLINE uint8 ADC2_getFilt3Sts (void)
 Get Filter 3 Event Status. More...
 
INLINE uint8 ADC2_getFilt4Sts (void)
 Get Filter 4 Event Status. More...
 
INLINE uint8 ADC2_getFilt5Sts (void)
 Get Filter 5 Event Status. More...
 
INLINE uint8 ADC2_getFilt6Sts (void)
 Get Filter 6 Event Status. More...
 
INLINE uint8 ADC2_getFilt7Sts (void)
 Get Filter 7 Event Status. More...
 
INLINE void ADC2_clrFilt0Sts (void)
 Clear Filter 0 Event Status. More...
 
INLINE void ADC2_clrFilt1Sts (void)
 Clear Filter 1 Event Status. More...
 
INLINE void ADC2_clrFilt2Sts (void)
 Clear Filter 2 Event Status. More...
 
INLINE void ADC2_clrFilt3Sts (void)
 Clear Filter 3 Event Status. More...
 
INLINE void ADC2_clrFilt4Sts (void)
 Clear Filter 4 Event Status. More...
 
INLINE void ADC2_clrFilt5Sts (void)
 Clear Filter 5 Event Status. More...
 
INLINE void ADC2_clrFilt6Sts (void)
 Clear Filter 6 Event Status. More...
 
INLINE void ADC2_clrFilt7Sts (void)
 Clear Filter 7 Event Status. More...
 
INLINE uint16 ADC2_getCh0Result (void)
 Get Channel 0 Result Value. More...
 
INLINE uint8 ADC2_getCh0ResultValidSts (void)
 Get Channel 0 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh1Result (void)
 Get Channel 1 Result Value. More...
 
INLINE uint8 ADC2_getCh1ResultValidSts (void)
 Get Channel 1 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh2Result (void)
 Get Channel 2 Result Value. More...
 
INLINE uint8 ADC2_getCh2ResultValidSts (void)
 Get Channel 2 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh3Result (void)
 Get Channel 3 Result Value. More...
 
INLINE uint8 ADC2_getCh3ResultValidSts (void)
 Get Channel 3 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh4Result (void)
 Get Channel 4 Result Value. More...
 
INLINE uint8 ADC2_getCh4ResultValidSts (void)
 Get Channel 4 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh5Result (void)
 Get Channel 5 Result Value. More...
 
INLINE uint8 ADC2_getCh5ResultValidSts (void)
 Get Channel 5 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh6Result (void)
 Get Channel 6 Result Value. More...
 
INLINE uint8 ADC2_getCh6ResultValidSts (void)
 Get Channel 6 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh7Result (void)
 Get Channel 7 Result Value. More...
 
INLINE uint8 ADC2_getCh7ResultValidSts (void)
 Get Channel 7 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh8Result (void)
 Get Channel 8 Result Value. More...
 
INLINE uint8 ADC2_getCh8ResultValidSts (void)
 Get Channel 8 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh9Result (void)
 Get Channel 9 Result Value. More...
 
INLINE uint8 ADC2_getCh9ResultValidSts (void)
 Get Channel 9 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh10Result (void)
 Get Channel 10 Result Value. More...
 
INLINE uint8 ADC2_getCh10ResultValidSts (void)
 Get Channel 10 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh11Result (void)
 Get Channel 11 Result Value. More...
 
INLINE uint8 ADC2_getCh11ResultValidSts (void)
 Get Channel 11 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh12Result (void)
 Get Channel 12 Result Value. More...
 
INLINE uint8 ADC2_getCh12ResultValidSts (void)
 Get Channel 12 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh13Result (void)
 Get Channel 13 Result Value. More...
 
INLINE uint8 ADC2_getCh13ResultValidSts (void)
 Get Channel 13 Result Valid Status. More...
 
INLINE uint16 ADC2_getCh14Result (void)
 Get Channel 14 Result Value. More...
 
INLINE uint8 ADC2_getCh14ResultValidSts (void)
 Get Channel 14 Result Valid Status. More...
 
INLINE void ADC2_setCmp0Config (tADC2_CMPCFGx e_value)
 Set Compare Channel 0 configuration. More...
 
INLINE void ADC2_setCmp1Config (tADC2_CMPCFGx e_value)
 Set Compare Channel 1 configuration. More...
 
INLINE void ADC2_setCmp2Config (tADC2_CMPCFGx e_value)
 Set Compare Channel 2 configuration. More...
 
INLINE void ADC2_setCmp3Config (tADC2_CMPCFGx e_value)
 Set Compare Channel 3 configuration. More...
 
INLINE void ADC2_setCmp4Config (tADC2_CMPCFGx e_value)
 Set Compare Channel 4 configuration. More...
 
INLINE void ADC2_setCmp5Config (tADC2_CMPCFGx e_value)
 Set Compare Channel 5 configuration. More...
 
INLINE void ADC2_setCmp6Config (tADC2_CMPCFGx e_value)
 Set Compare Channel 6 configuration. More...
 
INLINE void ADC2_setCmp7Config (tADC2_CMPCFGx e_value)
 Set Compare Channel 7 configuration. More...
 
INLINE uint8 ADC2_getCmp0UpIntSts (void)
 Get Compare 0 Upper Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp1UpIntSts (void)
 Get Compare 1 Upper Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp2UpIntSts (void)
 Get Compare 2 Upper Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp3UpIntSts (void)
 Get Compare 3 Upper Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp4UpIntSts (void)
 Get Compare 4 Upper Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp5UpIntSts (void)
 Get Compare 5 Upper Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp6UpIntSts (void)
 Get Compare 6 Upper Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp7UpIntSts (void)
 Get Compare 7 Upper Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp0UpThSts (void)
 Get Compare 0 Upper Threshold Status. More...
 
INLINE uint8 ADC2_getCmp1UpThSts (void)
 Get Compare 1 Upper Threshold Status. More...
 
INLINE uint8 ADC2_getCmp2UpThSts (void)
 Get Compare 2 Upper Threshold Status. More...
 
INLINE uint8 ADC2_getCmp3UpThSts (void)
 Get Compare 3 Upper Threshold Status. More...
 
INLINE uint8 ADC2_getCmp4UpThSts (void)
 Get Compare 4 Upper Threshold Status. More...
 
INLINE uint8 ADC2_getCmp5UpThSts (void)
 Get Compare 5 Upper Threshold Status. More...
 
INLINE uint8 ADC2_getCmp6UpThSts (void)
 Get Compare 6 Upper Threshold Status. More...
 
INLINE uint8 ADC2_getCmp7UpThSts (void)
 Get Compare 7 Upper Threshold Status. More...
 
INLINE uint8 ADC2_getCmp0LoIntSts (void)
 Get Compare 0 Lower Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp1LoIntSts (void)
 Get Compare 1 Lower Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp2LoIntSts (void)
 Get Compare 2 Lower Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp3LoIntSts (void)
 Get Compare 3 Lower Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp4LoIntSts (void)
 Get Compare 4 Lower Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp5LoIntSts (void)
 Get Compare 5 Lower Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp6LoIntSts (void)
 Get Compare 6 Lower Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp7LoIntSts (void)
 Get Compare 7 Lower Threshold Interrupt Status. More...
 
INLINE uint8 ADC2_getCmp0LoThSts (void)
 Get Compare 0 Lower Threshold Status. More...
 
INLINE uint8 ADC2_getCmp1LoThSts (void)
 Get Compare 1 Lower Threshold Status. More...
 
INLINE uint8 ADC2_getCmp2LoThSts (void)
 Get Compare 2 Lower Threshold Status. More...
 
INLINE uint8 ADC2_getCmp3LoThSts (void)
 Get Compare 3 Lower Threshold Status. More...
 
INLINE uint8 ADC2_getCmp4LoThSts (void)
 Get Compare 4 Lower Threshold Status. More...
 
INLINE uint8 ADC2_getCmp5LoThSts (void)
 Get Compare 5 Lower Threshold Status. More...
 
INLINE uint8 ADC2_getCmp6LoThSts (void)
 Get Compare 6 Lower Threshold Status. More...
 
INLINE uint8 ADC2_getCmp7LoThSts (void)
 Get Compare 7 Lower Threshold Status. More...
 
INLINE void ADC2_clrCmp0UpIntSts (void)
 Clear Compare 0 Upper Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp1UpIntSts (void)
 Clear Compare 1 Upper Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp2UpIntSts (void)
 Clear Compare 2 Upper Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp3UpIntSts (void)
 Clear Compare 3 Upper Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp4UpIntSts (void)
 Clear Compare 4 Upper Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp5UpIntSts (void)
 Clear Compare 5 Upper Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp6UpIntSts (void)
 Clear Compare 6 Upper Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp7UpIntSts (void)
 Clear Compare 7 Upper Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp0UpThSts (void)
 Clear Compare 0 Upper Threshold Status. More...
 
INLINE void ADC2_clrCmp1UpThSts (void)
 Clear Compare 1 Upper Threshold Status. More...
 
INLINE void ADC2_clrCmp2UpThSts (void)
 Clear Compare 2 Upper Threshold Status. More...
 
INLINE void ADC2_clrCmp3UpThSts (void)
 Clear Compare 3 Upper Threshold Status. More...
 
INLINE void ADC2_clrCmp4UpThSts (void)
 Clear Compare 4 Upper Threshold Status. More...
 
INLINE void ADC2_clrCmp5UpThSts (void)
 Clear Compare 5 Upper Threshold Status. More...
 
INLINE void ADC2_clrCmp6UpThSts (void)
 Clear Compare 6 Upper Threshold Status. More...
 
INLINE void ADC2_clrCmp7UpThSts (void)
 Clear Compare 7 Upper Threshold Status. More...
 
INLINE void ADC2_clrCmp0LoIntSts (void)
 Clear Compare 0 Lower Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp1LoIntSts (void)
 Clear Compare 1 Lower Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp2LoIntSts (void)
 Clear Compare 2 Lower Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp3LoIntSts (void)
 Clear Compare 3 Lower Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp4LoIntSts (void)
 Clear Compare 4 Lower Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp5LoIntSts (void)
 Clear Compare 5 Lower Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp6LoIntSts (void)
 Clear Compare 6 Lower Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp7LoIntSts (void)
 Clear Compare 7 Lower Threshold Interrupt Status. More...
 
INLINE void ADC2_clrCmp0LoThSts (void)
 Clear Compare 0 Lower Threshold Status. More...
 
INLINE void ADC2_clrCmp1LoThSts (void)
 Clear Compare 1 Lower Threshold Status. More...
 
INLINE void ADC2_clrCmp2LoThSts (void)
 Clear Compare 2 Lower Threshold Status. More...
 
INLINE void ADC2_clrCmp3LoThSts (void)
 Clear Compare 3 Lower Threshold Status. More...
 
INLINE void ADC2_clrCmp4LoThSts (void)
 Clear Compare 4 Lower Threshold Status. More...
 
INLINE void ADC2_clrCmp5LoThSts (void)
 Clear Compare 5 Lower Threshold Status. More...
 
INLINE void ADC2_clrCmp6LoThSts (void)
 Clear Compare 6 Lower Threshold Status. More...
 
INLINE void ADC2_clrCmp7LoThSts (void)
 Clear Compare 7 Lower Threshold Status. More...
 
INLINE void ADC2_enCmp0UpInt (void)
 Enable Compare 0 Upper Threshold Interrupt. More...
 
INLINE void ADC2_disCmp0UpInt (void)
 Disable Compare 0 Upper Threshold Interrupt. More...
 
INLINE void ADC2_enCmp1UpInt (void)
 Enable Compare 1 Upper Threshold Interrupt. More...
 
INLINE void ADC2_disCmp1UpInt (void)
 Disable Compare 1 Upper Threshold Interrupt. More...
 
INLINE void ADC2_enCmp2UpInt (void)
 Enable Compare 2 Upper Threshold Interrupt. More...
 
INLINE void ADC2_disCmp2UpInt (void)
 Disable Compare 2 Upper Threshold Interrupt. More...
 
INLINE void ADC2_enCmp3UpInt (void)
 Enable Compare 3 Upper Threshold Interrupt. More...
 
INLINE void ADC2_disCmp3UpInt (void)
 Disable Compare 3 Upper Threshold Interrupt. More...
 
INLINE void ADC2_enCmp4UpInt (void)
 Enable Compare 4 Upper Threshold Interrupt. More...
 
INLINE void ADC2_disCmp4UpInt (void)
 Disable Compare 4 Upper Threshold Interrupt. More...
 
INLINE void ADC2_enCmp5UpInt (void)
 Enable Compare 5 Upper Threshold Interrupt. More...
 
INLINE void ADC2_disCmp5UpInt (void)
 Disable Compare 5 Upper Threshold Interrupt. More...
 
INLINE void ADC2_enCmp6UpInt (void)
 Enable Compare 6 Upper Threshold Interrupt. More...
 
INLINE void ADC2_disCmp6UpInt (void)
 Disable Compare 6 Upper Threshold Interrupt. More...
 
INLINE void ADC2_enCmp7UpInt (void)
 Enable Compare 7 Upper Threshold Interrupt. More...
 
INLINE void ADC2_disCmp7UpInt (void)
 Disable Compare 7 Upper Threshold Interrupt. More...
 
INLINE void ADC2_enCmp0LoInt (void)
 Enable Compare 0 Lower Threshold Interrupt. More...
 
INLINE void ADC2_disCmp0LoInt (void)
 Disable Compare 0 Lower Threshold Interrupt. More...
 
INLINE void ADC2_enCmp1LoInt (void)
 Enable Compare 1 Lower Threshold Interrupt. More...
 
INLINE void ADC2_disCmp1LoInt (void)
 Disable Compare 1 Lower Threshold Interrupt. More...
 
INLINE void ADC2_enCmp2LoInt (void)
 Enable Compare 2 Lower Threshold Interrupt. More...
 
INLINE void ADC2_disCmp2LoInt (void)
 Disable Compare 2 Lower Threshold Interrupt. More...
 
INLINE void ADC2_enCmp3LoInt (void)
 Enable Compare 3 Lower Threshold Interrupt. More...
 
INLINE void ADC2_disCmp3LoInt (void)
 Disable Compare 3 Lower Threshold Interrupt. More...
 
INLINE void ADC2_enCmp4LoInt (void)
 Enable Compare 4 Lower Threshold Interrupt. More...
 
INLINE void ADC2_disCmp4LoInt (void)
 Disable Compare 4 Lower Threshold Interrupt. More...
 
INLINE void ADC2_enCmp5LoInt (void)
 Enable Compare 5 Lower Threshold Interrupt. More...
 
INLINE void ADC2_disCmp5LoInt (void)
 Disable Compare 5 Lower Threshold Interrupt. More...
 
INLINE void ADC2_enCmp6LoInt (void)
 Enable Compare 6 Lower Threshold Interrupt. More...
 
INLINE void ADC2_disCmp6LoInt (void)
 Disable Compare 6 Lower Threshold Interrupt. More...
 
INLINE void ADC2_enCmp7LoInt (void)
 Enable Compare 7 Lower Threshold Interrupt. More...
 
INLINE void ADC2_disCmp7LoInt (void)
 Disable Compare 7 Lower Threshold Interrupt. More...
 
INLINE void ADC2_enSeq0Int (void)
 Enable Sequence 0 Interrupt. More...
 
INLINE void ADC2_disSeq0Int (void)
 Disable Sequence 0 Interrupt. More...
 
INLINE void ADC2_enSeq1Int (void)
 Enable Sequence 1 Interrupt. More...
 
INLINE void ADC2_disSeq1Int (void)
 Disable Sequence 1 Interrupt. More...
 
INLINE void ADC2_enSeq2Int (void)
 Enable Sequence 2 Interrupt. More...
 
INLINE void ADC2_disSeq2Int (void)
 Disable Sequence 2 Interrupt. More...
 
INLINE void ADC2_enSeq3Int (void)
 Enable Sequence 3 Interrupt. More...
 
INLINE void ADC2_disSeq3Int (void)
 Disable Sequence 3 Interrupt. More...
 
INLINE void ADC2_enCh0Int (void)
 Enable Channel 0 Interrupt. More...
 
INLINE void ADC2_disCh0Int (void)
 Disable Channel 0 Interrupt. More...
 
INLINE void ADC2_enCh1Int (void)
 Enable Channel 1 Interrupt. More...
 
INLINE void ADC2_disCh1Int (void)
 Disable Channel 1 Interrupt. More...
 
INLINE void ADC2_enCh2Int (void)
 Enable Channel 2 Interrupt. More...
 
INLINE void ADC2_disCh2Int (void)
 Disable Channel 2 Interrupt. More...
 
INLINE void ADC2_enCh3Int (void)
 Enable Channel 3 Interrupt. More...
 
INLINE void ADC2_disCh3Int (void)
 Disable Channel 3 Interrupt. More...
 
INLINE void ADC2_enCh4Int (void)
 Enable Channel 4 Interrupt. More...
 
INLINE void ADC2_disCh4Int (void)
 Disable Channel 4 Interrupt. More...
 
INLINE void ADC2_enCh5Int (void)
 Enable Channel 5 Interrupt. More...
 
INLINE void ADC2_disCh5Int (void)
 Disable Channel 5 Interrupt. More...
 
INLINE void ADC2_enCh6Int (void)
 Enable Channel 6 Interrupt. More...
 
INLINE void ADC2_disCh6Int (void)
 Disable Channel 6 Interrupt. More...
 
INLINE void ADC2_enCh7Int (void)
 Enable Channel 7 Interrupt. More...
 
INLINE void ADC2_disCh7Int (void)
 Disable Channel 7 Interrupt. More...
 
INLINE void ADC2_enCh8Int (void)
 Enable Channel 8 Interrupt. More...
 
INLINE void ADC2_disCh8Int (void)
 Disable Channel 8 Interrupt. More...
 
INLINE void ADC2_enCh9Int (void)
 Enable Channel 9 Interrupt. More...
 
INLINE void ADC2_disCh9Int (void)
 Disable Channel 9 Interrupt. More...
 
INLINE void ADC2_enCh10Int (void)
 Enable Channel 10 Interrupt. More...
 
INLINE void ADC2_disCh10Int (void)
 Disable Channel 10 Interrupt. More...
 
INLINE void ADC2_enCh11Int (void)
 Enable Channel 11 Interrupt. More...
 
INLINE void ADC2_disCh11Int (void)
 Disable Channel 11 Interrupt. More...
 
INLINE void ADC2_enCh12Int (void)
 Enable Channel 12 Interrupt. More...
 
INLINE void ADC2_disCh12Int (void)
 Disable Channel 12 Interrupt. More...
 
INLINE void ADC2_enCh13Int (void)
 Enable Channel 13 Interrupt. More...
 
INLINE void ADC2_disCh13Int (void)
 Disable Channel 13 Interrupt. More...
 
INLINE void ADC2_enCh14Int (void)
 Enable Channel 14 Interrupt. More...
 
INLINE void ADC2_disCh14Int (void)
 Disable Channel 14 Interrupt. More...
 
void ADC2_setCh0IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 0 Interrupt Node Pointer. More...
 
void ADC2_setCh1IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 1 Interrupt Node Pointer. More...
 
void ADC2_setCh2IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 2 Interrupt Node Pointer. More...
 
void ADC2_setCh3IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 3 Interrupt Node Pointer. More...
 
void ADC2_setCh4IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 4 Interrupt Node Pointer. More...
 
void ADC2_setCh5IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 5 Interrupt Node Pointer. More...
 
void ADC2_setCh6IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 6 Interrupt Node Pointer. More...
 
void ADC2_setCh7IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 7 Interrupt Node Pointer. More...
 
void ADC2_setCh8IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 8 Interrupt Node Pointer. More...
 
void ADC2_setCh9IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 9 Interrupt Node Pointer. More...
 
void ADC2_setCh10IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 10 Interrupt Node Pointer. More...
 
void ADC2_setCh11IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 11 Interrupt Node Pointer. More...
 
void ADC2_setCh12IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 12 Interrupt Node Pointer. More...
 
void ADC2_setCh13IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 13 Interrupt Node Pointer. More...
 
void ADC2_setCh14IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 14 Interrupt Node Pointer. More...
 
void ADC2_setCmp0LoIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Lo Interrupt Node Pointer. More...
 
void ADC2_setCmp1LoIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Lo Interrupt Node Pointer. More...
 
void ADC2_setCmp2LoIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Lo Interrupt Node Pointer. More...
 
void ADC2_setCmp3LoIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Lo Interrupt Node Pointer. More...
 
void ADC2_setCmp4LoIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Lo Interrupt Node Pointer. More...
 
void ADC2_setCmp5LoIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Lo Interrupt Node Pointer. More...
 
void ADC2_setCmp6LoIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Lo Interrupt Node Pointer. More...
 
void ADC2_setCmp7LoIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Lo Interrupt Node Pointer. More...
 
void ADC2_setCmp0UpIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Up Interrupt Node Pointer. More...
 
void ADC2_setCmp1UpIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Up Interrupt Node Pointer. More...
 
void ADC2_setCmp2UpIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Up Interrupt Node Pointer. More...
 
void ADC2_setCmp3UpIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Up Interrupt Node Pointer. More...
 
void ADC2_setCmp4UpIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Up Interrupt Node Pointer. More...
 
void ADC2_setCmp5UpIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Up Interrupt Node Pointer. More...
 
void ADC2_setCmp6UpIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Up Interrupt Node Pointer. More...
 
void ADC2_setCmp7UpIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Compare Up Interrupt Node Pointer. More...
 
void ADC2_setSeq0IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Sequence Interrupt Node Pointer. More...
 
void ADC2_setSeq1IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Sequence Interrupt Node Pointer. More...
 
void ADC2_setSeq2IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Sequence Interrupt Node Pointer. More...
 
void ADC2_setSeq3IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Sequence Interrupt Node Pointer. More...
 

Variables

void use the ConfigWizard to configure this feature
 

Macro Definition Documentation

◆ ADC2_AI_CNT

#define ADC2_AI_CNT   (15u)

ADC2 number of analog inputs.

◆ ADC2_ALL_CMPSTS_MSK

#define ADC2_ALL_CMPSTS_MSK   (0xff00ffu)

ADC2 all compare status mask, 23..16, 7..0.

◆ ADC2_ALL_DCH_MSK

#define ADC2_ALL_DCH_MSK   (0xfffffu)

ADC2 all digital channel mask, 9..0.

◆ ADC2_ALL_FILTSTS_MSK

#define ADC2_ALL_FILTSTS_MSK   (0xfu)

ADC2 all filter status mask, 3..0.

◆ ADC2_ALL_SQSTS_MSK

#define ADC2_ALL_SQSTS_MSK   (0xfffu)

ADC2 all sequence status mask, 11..0.

◆ ADC2_ATT_DENOM

#define ADC2_ATT_DENOM   (256u)

ADC2 attenuator denominator (256)

◆ ADC2_ATT_TYPE0

#define ADC2_ATT_TYPE0   (12u)

ADC2 attenuator type 0 (12/256)

◆ ADC2_ATT_TYPE1

#define ADC2_ATT_TYPE1   (10u)

ADC2 attenuator type 1 (10/256)

◆ ADC2_ATT_TYPE2

#define ADC2_ATT_TYPE2   (6u)

ADC2 attenuator type 2 (6/256)

◆ ADC2_ATT_TYPE3

#define ADC2_ATT_TYPE3   (38u)

ADC2 attenuator type 3 (38/256)

◆ ADC2_ATT_TYPE4

#define ADC2_ATT_TYPE4   (58u)

ADC2 attenuator type 4 (58/256)

◆ ADC2_DCH0

#define ADC2_DCH0   (0u)

ADC2 digital channel selection macro, channel 0.

◆ ADC2_DCH1

#define ADC2_DCH1   (1u)

ADC2 digital channel selection macro, channel 1.

◆ ADC2_DCH10

#define ADC2_DCH10   (10u)

ADC2 digital channel selection macro, channel 10.

◆ ADC2_DCH11

#define ADC2_DCH11   (11u)

ADC2 digital channel selection macro, channel 11.

◆ ADC2_DCH12

#define ADC2_DCH12   (12u)

ADC2 digital channel selection macro, channel 12.

◆ ADC2_DCH13

#define ADC2_DCH13   (13u)

ADC2 digital channel selection macro, channel 13.

◆ ADC2_DCH14

#define ADC2_DCH14   (14u)

ADC2 digital channel selection macro, channel 14.

◆ ADC2_DCH2

#define ADC2_DCH2   (2u)

ADC2 digital channel selection macro, channel 2.

◆ ADC2_DCH3

#define ADC2_DCH3   (3u)

ADC2 digital channel selection macro, channel 3.

◆ ADC2_DCH4

#define ADC2_DCH4   (4u)

ADC2 digital channel selection macro, channel 4.

◆ ADC2_DCH5

#define ADC2_DCH5   (5u)

ADC2 digital channel selection macro, channel 5.

◆ ADC2_DCH6

#define ADC2_DCH6   (6u)

ADC2 digital channel selection macro, channel 6.

◆ ADC2_DCH7

#define ADC2_DCH7   (7u)

ADC2 digital channel selection macro, channel 7.

◆ ADC2_DCH8

#define ADC2_DCH8   (8u)

ADC2 digital channel selection macro, channel 8.

◆ ADC2_DCH9

#define ADC2_DCH9   (9u)

ADC2 digital channel selection macro, channel 9.

◆ ADC2_DCH_CNT

#define ADC2_DCH_CNT   (15u)

ADC2 number of digital channels.

◆ ADC2_FILT_CH_DIS

#define ADC2_FILT_CH_DIS   (4u)

ADC2 filter channel disabled.

◆ ADC2_FILT_CNT

#define ADC2_FILT_CNT   (8u)

ADC2 number of filter channels.

◆ ADC2_MAX_RESOLUTION

#define ADC2_MAX_RESOLUTION   (0xfffu)

ADC2 resolution mask (12bit) incl. two bit shift due to calibration.

◆ ADC2_SEQ0

#define ADC2_SEQ0   (0u)

ADC2 sequencer channel selection macro, sequencer channel 0.

◆ ADC2_SEQ1

#define ADC2_SEQ1   (1u)

ADC2 sequencer channel selection macro, sequencer channel 1.

◆ ADC2_SEQ2

#define ADC2_SEQ2   (2u)

ADC2 sequencer channel selection macro, sequencer channel 2.

◆ ADC2_SEQ3

#define ADC2_SEQ3   (3u)

ADC2 sequencer channel selection macro, sequencer channel 3.

◆ ADC2_SEQ_CNT

#define ADC2_SEQ_CNT   (4u)

ADC2 number of sequencer channels.

◆ ADC2_SEQ_SLOT0

#define ADC2_SEQ_SLOT0   (0u)

ADC2 sequencer slot selection, slot 0.

◆ ADC2_SEQ_SLOT1

#define ADC2_SEQ_SLOT1   (1u)

ADC2 sequencer slot selection, slot 1.

◆ ADC2_SEQ_SLOT2

#define ADC2_SEQ_SLOT2   (2u)

ADC2 sequencer slot selection, slot 2.

◆ ADC2_SEQ_SLOT3

#define ADC2_SEQ_SLOT3   (3u)

ADC2 sequencer slot selection, slot 3.

◆ ADC2_SLOT_CNT

#define ADC2_SLOT_CNT   (4u)

ADC2 number of channel slots per sequencer channels.

◆ ADC2_SW_TRIGGER

#define ADC2_SW_TRIGGER   (0u)

ADC2 software trigger selection.

◆ ADC2_VAREF_mV

#define ADC2_VAREF_mV   (1211u)

ADC2 reference voltage 1.211V.

Typedef Documentation

◆ tADC2_CHCFGx

typedef union ADC2_CHCFGx tADC2_CHCFGx

◆ tADC2_CMPCFGx

typedef union ADC2_CMPCFGx tADC2_CMPCFGx

◆ tADC2_CONVCFGx

◆ tADC2_SQCFGx

typedef union ADC2_SQCFGx tADC2_SQCFGx

◆ tADC2_SQSLOTx

typedef union ADC2_SQSLOTx tADC2_SQSLOTx

Function Documentation

◆ ADC2_clrCh0EndOfConvSts()

INLINE void ADC2_clrCh0EndOfConvSts ( void  )

Clear Channel 0 End Of Conversion Status.

◆ ADC2_clrCh10EndOfConvSts()

INLINE void ADC2_clrCh10EndOfConvSts ( void  )

Clear Channel 10 End Of Conversion Status.

◆ ADC2_clrCh11EndOfConvSts()

INLINE void ADC2_clrCh11EndOfConvSts ( void  )

Clear Channel 11 End Of Conversion Status.

◆ ADC2_clrCh12EndOfConvSts()

INLINE void ADC2_clrCh12EndOfConvSts ( void  )

Clear Channel 12 End Of Conversion Status.

◆ ADC2_clrCh13EndOfConvSts()

INLINE void ADC2_clrCh13EndOfConvSts ( void  )

Clear Channel 13 End Of Conversion Status.

◆ ADC2_clrCh14EndOfConvSts()

INLINE void ADC2_clrCh14EndOfConvSts ( void  )

Clear Channel 14 End Of Conversion Status.

◆ ADC2_clrCh1EndOfConvSts()

INLINE void ADC2_clrCh1EndOfConvSts ( void  )

Clear Channel 1 End Of Conversion Status.

◆ ADC2_clrCh2EndOfConvSts()

INLINE void ADC2_clrCh2EndOfConvSts ( void  )

Clear Channel 2 End Of Conversion Status.

◆ ADC2_clrCh3EndOfConvSts()

INLINE void ADC2_clrCh3EndOfConvSts ( void  )

Clear Channel 3 End Of Conversion Status.

◆ ADC2_clrCh4EndOfConvSts()

INLINE void ADC2_clrCh4EndOfConvSts ( void  )

Clear Channel 4 End Of Conversion Status.

◆ ADC2_clrCh5EndOfConvSts()

INLINE void ADC2_clrCh5EndOfConvSts ( void  )

Clear Channel 5 End Of Conversion Status.

◆ ADC2_clrCh6EndOfConvSts()

INLINE void ADC2_clrCh6EndOfConvSts ( void  )

Clear Channel 6 End Of Conversion Status.

◆ ADC2_clrCh7EndOfConvSts()

INLINE void ADC2_clrCh7EndOfConvSts ( void  )

Clear Channel 7 End Of Conversion Status.

◆ ADC2_clrCh8EndOfConvSts()

INLINE void ADC2_clrCh8EndOfConvSts ( void  )

Clear Channel 8 End Of Conversion Status.

◆ ADC2_clrCh9EndOfConvSts()

INLINE void ADC2_clrCh9EndOfConvSts ( void  )

Clear Channel 9 End Of Conversion Status.

◆ ADC2_clrCmp0LoIntSts()

INLINE void ADC2_clrCmp0LoIntSts ( void  )

Clear Compare 0 Lower Threshold Interrupt Status.

◆ ADC2_clrCmp0LoThSts()

INLINE void ADC2_clrCmp0LoThSts ( void  )

Clear Compare 0 Lower Threshold Status.

◆ ADC2_clrCmp0UpIntSts()

INLINE void ADC2_clrCmp0UpIntSts ( void  )

Clear Compare 0 Upper Threshold Interrupt Status.

◆ ADC2_clrCmp0UpThSts()

INLINE void ADC2_clrCmp0UpThSts ( void  )

Clear Compare 0 Upper Threshold Status.

◆ ADC2_clrCmp1LoIntSts()

INLINE void ADC2_clrCmp1LoIntSts ( void  )

Clear Compare 1 Lower Threshold Interrupt Status.

◆ ADC2_clrCmp1LoThSts()

INLINE void ADC2_clrCmp1LoThSts ( void  )

Clear Compare 1 Lower Threshold Status.

◆ ADC2_clrCmp1UpIntSts()

INLINE void ADC2_clrCmp1UpIntSts ( void  )

Clear Compare 1 Upper Threshold Interrupt Status.

◆ ADC2_clrCmp1UpThSts()

INLINE void ADC2_clrCmp1UpThSts ( void  )

Clear Compare 1 Upper Threshold Status.

◆ ADC2_clrCmp2LoIntSts()

INLINE void ADC2_clrCmp2LoIntSts ( void  )

Clear Compare 2 Lower Threshold Interrupt Status.

◆ ADC2_clrCmp2LoThSts()

INLINE void ADC2_clrCmp2LoThSts ( void  )

Clear Compare 2 Lower Threshold Status.

◆ ADC2_clrCmp2UpIntSts()

INLINE void ADC2_clrCmp2UpIntSts ( void  )

Clear Compare 2 Upper Threshold Interrupt Status.

◆ ADC2_clrCmp2UpThSts()

INLINE void ADC2_clrCmp2UpThSts ( void  )

Clear Compare 2 Upper Threshold Status.

◆ ADC2_clrCmp3LoIntSts()

INLINE void ADC2_clrCmp3LoIntSts ( void  )

Clear Compare 3 Lower Threshold Interrupt Status.

◆ ADC2_clrCmp3LoThSts()

INLINE void ADC2_clrCmp3LoThSts ( void  )

Clear Compare 3 Lower Threshold Status.

◆ ADC2_clrCmp3UpIntSts()

INLINE void ADC2_clrCmp3UpIntSts ( void  )

Clear Compare 3 Upper Threshold Interrupt Status.

◆ ADC2_clrCmp3UpThSts()

INLINE void ADC2_clrCmp3UpThSts ( void  )

Clear Compare 3 Upper Threshold Status.

◆ ADC2_clrCmp4LoIntSts()

INLINE void ADC2_clrCmp4LoIntSts ( void  )

Clear Compare 4 Lower Threshold Interrupt Status.

◆ ADC2_clrCmp4LoThSts()

INLINE void ADC2_clrCmp4LoThSts ( void  )

Clear Compare 4 Lower Threshold Status.

◆ ADC2_clrCmp4UpIntSts()

INLINE void ADC2_clrCmp4UpIntSts ( void  )

Clear Compare 4 Upper Threshold Interrupt Status.

◆ ADC2_clrCmp4UpThSts()

INLINE void ADC2_clrCmp4UpThSts ( void  )

Clear Compare 4 Upper Threshold Status.

◆ ADC2_clrCmp5LoIntSts()

INLINE void ADC2_clrCmp5LoIntSts ( void  )

Clear Compare 5 Lower Threshold Interrupt Status.

◆ ADC2_clrCmp5LoThSts()

INLINE void ADC2_clrCmp5LoThSts ( void  )

Clear Compare 5 Lower Threshold Status.

◆ ADC2_clrCmp5UpIntSts()

INLINE void ADC2_clrCmp5UpIntSts ( void  )

Clear Compare 5 Upper Threshold Interrupt Status.

◆ ADC2_clrCmp5UpThSts()

INLINE void ADC2_clrCmp5UpThSts ( void  )

Clear Compare 5 Upper Threshold Status.

◆ ADC2_clrCmp6LoIntSts()

INLINE void ADC2_clrCmp6LoIntSts ( void  )

Clear Compare 6 Lower Threshold Interrupt Status.

◆ ADC2_clrCmp6LoThSts()

INLINE void ADC2_clrCmp6LoThSts ( void  )

Clear Compare 6 Lower Threshold Status.

◆ ADC2_clrCmp6UpIntSts()

INLINE void ADC2_clrCmp6UpIntSts ( void  )

Clear Compare 6 Upper Threshold Interrupt Status.

◆ ADC2_clrCmp6UpThSts()

INLINE void ADC2_clrCmp6UpThSts ( void  )

Clear Compare 6 Upper Threshold Status.

◆ ADC2_clrCmp7LoIntSts()

INLINE void ADC2_clrCmp7LoIntSts ( void  )

Clear Compare 7 Lower Threshold Interrupt Status.

◆ ADC2_clrCmp7LoThSts()

INLINE void ADC2_clrCmp7LoThSts ( void  )

Clear Compare 7 Lower Threshold Status.

◆ ADC2_clrCmp7UpIntSts()

INLINE void ADC2_clrCmp7UpIntSts ( void  )

Clear Compare 7 Upper Threshold Interrupt Status.

◆ ADC2_clrCmp7UpThSts()

INLINE void ADC2_clrCmp7UpThSts ( void  )

Clear Compare 7 Upper Threshold Status.

◆ ADC2_clrFilt0Sts()

INLINE void ADC2_clrFilt0Sts ( void  )

Clear Filter 0 Event Status.

◆ ADC2_clrFilt1Sts()

INLINE void ADC2_clrFilt1Sts ( void  )

Clear Filter 1 Event Status.

◆ ADC2_clrFilt2Sts()

INLINE void ADC2_clrFilt2Sts ( void  )

Clear Filter 2 Event Status.

◆ ADC2_clrFilt3Sts()

INLINE void ADC2_clrFilt3Sts ( void  )

Clear Filter 3 Event Status.

◆ ADC2_clrFilt4Sts()

INLINE void ADC2_clrFilt4Sts ( void  )

Clear Filter 4 Event Status.

◆ ADC2_clrFilt5Sts()

INLINE void ADC2_clrFilt5Sts ( void  )

Clear Filter 5 Event Status.

◆ ADC2_clrFilt6Sts()

INLINE void ADC2_clrFilt6Sts ( void  )

Clear Filter 6 Event Status.

◆ ADC2_clrFilt7Sts()

INLINE void ADC2_clrFilt7Sts ( void  )

Clear Filter 7 Event Status.

◆ ADC2_clrSeq0IntSts()

INLINE void ADC2_clrSeq0IntSts ( void  )

Clear Sequence 0 Interrupt Status.

◆ ADC2_clrSeq1IntSts()

INLINE void ADC2_clrSeq1IntSts ( void  )

Clear Sequence 1 Interrupt Status.

◆ ADC2_clrSeq2IntSts()

INLINE void ADC2_clrSeq2IntSts ( void  )

Clear Sequence 2 Interrupt Status.

◆ ADC2_clrSeq3IntSts()

INLINE void ADC2_clrSeq3IntSts ( void  )

Clear Sequence 3 Interrupt Status.

◆ ADC2_disCh0Int()

INLINE void ADC2_disCh0Int ( void  )

Disable Channel 0 Interrupt.

◆ ADC2_disCh10Int()

INLINE void ADC2_disCh10Int ( void  )

Disable Channel 10 Interrupt.

◆ ADC2_disCh11Int()

INLINE void ADC2_disCh11Int ( void  )

Disable Channel 11 Interrupt.

◆ ADC2_disCh12Int()

INLINE void ADC2_disCh12Int ( void  )

Disable Channel 12 Interrupt.

◆ ADC2_disCh13Int()

INLINE void ADC2_disCh13Int ( void  )

Disable Channel 13 Interrupt.

◆ ADC2_disCh14Int()

INLINE void ADC2_disCh14Int ( void  )

Disable Channel 14 Interrupt.

◆ ADC2_disCh1Int()

INLINE void ADC2_disCh1Int ( void  )

Disable Channel 1 Interrupt.

◆ ADC2_disCh2Int()

INLINE void ADC2_disCh2Int ( void  )

Disable Channel 2 Interrupt.

◆ ADC2_disCh3Int()

INLINE void ADC2_disCh3Int ( void  )

Disable Channel 3 Interrupt.

◆ ADC2_disCh4Int()

INLINE void ADC2_disCh4Int ( void  )

Disable Channel 4 Interrupt.

◆ ADC2_disCh5Int()

INLINE void ADC2_disCh5Int ( void  )

Disable Channel 5 Interrupt.

◆ ADC2_disCh6Int()

INLINE void ADC2_disCh6Int ( void  )

Disable Channel 6 Interrupt.

◆ ADC2_disCh7Int()

INLINE void ADC2_disCh7Int ( void  )

Disable Channel 7 Interrupt.

◆ ADC2_disCh8Int()

INLINE void ADC2_disCh8Int ( void  )

Disable Channel 8 Interrupt.

◆ ADC2_disCh9Int()

INLINE void ADC2_disCh9Int ( void  )

Disable Channel 9 Interrupt.

◆ ADC2_disCmp0LoInt()

INLINE void ADC2_disCmp0LoInt ( void  )

Disable Compare 0 Lower Threshold Interrupt.

◆ ADC2_disCmp0UpInt()

INLINE void ADC2_disCmp0UpInt ( void  )

Disable Compare 0 Upper Threshold Interrupt.

◆ ADC2_disCmp1LoInt()

INLINE void ADC2_disCmp1LoInt ( void  )

Disable Compare 1 Lower Threshold Interrupt.

◆ ADC2_disCmp1UpInt()

INLINE void ADC2_disCmp1UpInt ( void  )

Disable Compare 1 Upper Threshold Interrupt.

◆ ADC2_disCmp2LoInt()

INLINE void ADC2_disCmp2LoInt ( void  )

Disable Compare 2 Lower Threshold Interrupt.

◆ ADC2_disCmp2UpInt()

INLINE void ADC2_disCmp2UpInt ( void  )

Disable Compare 2 Upper Threshold Interrupt.

◆ ADC2_disCmp3LoInt()

INLINE void ADC2_disCmp3LoInt ( void  )

Disable Compare 3 Lower Threshold Interrupt.

◆ ADC2_disCmp3UpInt()

INLINE void ADC2_disCmp3UpInt ( void  )

Disable Compare 3 Upper Threshold Interrupt.

◆ ADC2_disCmp4LoInt()

INLINE void ADC2_disCmp4LoInt ( void  )

Disable Compare 4 Lower Threshold Interrupt.

◆ ADC2_disCmp4UpInt()

INLINE void ADC2_disCmp4UpInt ( void  )

Disable Compare 4 Upper Threshold Interrupt.

◆ ADC2_disCmp5LoInt()

INLINE void ADC2_disCmp5LoInt ( void  )

Disable Compare 5 Lower Threshold Interrupt.

◆ ADC2_disCmp5UpInt()

INLINE void ADC2_disCmp5UpInt ( void  )

Disable Compare 5 Upper Threshold Interrupt.

◆ ADC2_disCmp6LoInt()

INLINE void ADC2_disCmp6LoInt ( void  )

Disable Compare 6 Lower Threshold Interrupt.

◆ ADC2_disCmp6UpInt()

INLINE void ADC2_disCmp6UpInt ( void  )

Disable Compare 6 Upper Threshold Interrupt.

◆ ADC2_disCmp7LoInt()

INLINE void ADC2_disCmp7LoInt ( void  )

Disable Compare 7 Lower Threshold Interrupt.

◆ ADC2_disCmp7UpInt()

INLINE void ADC2_disCmp7UpInt ( void  )

Disable Compare 7 Upper Threshold Interrupt.

◆ ADC2_disPower()

INLINE void ADC2_disPower ( void  )

Disable ADC2 Module.

◆ ADC2_disSeq0Int()

INLINE void ADC2_disSeq0Int ( void  )

Disable Sequence 0 Interrupt.

◆ ADC2_disSeq1Int()

INLINE void ADC2_disSeq1Int ( void  )

Disable Sequence 1 Interrupt.

◆ ADC2_disSeq2Int()

INLINE void ADC2_disSeq2Int ( void  )

Disable Sequence 2 Interrupt.

◆ ADC2_disSeq3Int()

INLINE void ADC2_disSeq3Int ( void  )

Disable Sequence 3 Interrupt.

◆ ADC2_disSuspend()

INLINE void ADC2_disSuspend ( void  )

Disable ADC2 Suspend.

◆ ADC2_enCh0Int()

INLINE void ADC2_enCh0Int ( void  )

Enable Channel 0 Interrupt.

◆ ADC2_enCh10Int()

INLINE void ADC2_enCh10Int ( void  )

Enable Channel 10 Interrupt.

◆ ADC2_enCh11Int()

INLINE void ADC2_enCh11Int ( void  )

Enable Channel 11 Interrupt.

◆ ADC2_enCh12Int()

INLINE void ADC2_enCh12Int ( void  )

Enable Channel 12 Interrupt.

◆ ADC2_enCh13Int()

INLINE void ADC2_enCh13Int ( void  )

Enable Channel 13 Interrupt.

◆ ADC2_enCh14Int()

INLINE void ADC2_enCh14Int ( void  )

Enable Channel 14 Interrupt.

◆ ADC2_enCh1Int()

INLINE void ADC2_enCh1Int ( void  )

Enable Channel 1 Interrupt.

◆ ADC2_enCh2Int()

INLINE void ADC2_enCh2Int ( void  )

Enable Channel 2 Interrupt.

◆ ADC2_enCh3Int()

INLINE void ADC2_enCh3Int ( void  )

Enable Channel 3 Interrupt.

◆ ADC2_enCh4Int()

INLINE void ADC2_enCh4Int ( void  )

Enable Channel 4 Interrupt.

◆ ADC2_enCh5Int()

INLINE void ADC2_enCh5Int ( void  )

Enable Channel 5 Interrupt.

◆ ADC2_enCh6Int()

INLINE void ADC2_enCh6Int ( void  )

Enable Channel 6 Interrupt.

◆ ADC2_enCh7Int()

INLINE void ADC2_enCh7Int ( void  )

Enable Channel 7 Interrupt.

◆ ADC2_enCh8Int()

INLINE void ADC2_enCh8Int ( void  )

Enable Channel 8 Interrupt.

◆ ADC2_enCh9Int()

INLINE void ADC2_enCh9Int ( void  )

Enable Channel 9 Interrupt.

◆ ADC2_enCmp0LoInt()

INLINE void ADC2_enCmp0LoInt ( void  )

Enable Compare 0 Lower Threshold Interrupt.

◆ ADC2_enCmp0UpInt()

INLINE void ADC2_enCmp0UpInt ( void  )

Enable Compare 0 Upper Threshold Interrupt.

◆ ADC2_enCmp1LoInt()

INLINE void ADC2_enCmp1LoInt ( void  )

Enable Compare 1 Lower Threshold Interrupt.

◆ ADC2_enCmp1UpInt()

INLINE void ADC2_enCmp1UpInt ( void  )

Enable Compare 1 Upper Threshold Interrupt.

◆ ADC2_enCmp2LoInt()

INLINE void ADC2_enCmp2LoInt ( void  )

Enable Compare 2 Lower Threshold Interrupt.

◆ ADC2_enCmp2UpInt()

INLINE void ADC2_enCmp2UpInt ( void  )

Enable Compare 2 Upper Threshold Interrupt.

◆ ADC2_enCmp3LoInt()

INLINE void ADC2_enCmp3LoInt ( void  )

Enable Compare 3 Lower Threshold Interrupt.

◆ ADC2_enCmp3UpInt()

INLINE void ADC2_enCmp3UpInt ( void  )

Enable Compare 3 Upper Threshold Interrupt.

◆ ADC2_enCmp4LoInt()

INLINE void ADC2_enCmp4LoInt ( void  )

Enable Compare 4 Lower Threshold Interrupt.

◆ ADC2_enCmp4UpInt()

INLINE void ADC2_enCmp4UpInt ( void  )

Enable Compare 4 Upper Threshold Interrupt.

◆ ADC2_enCmp5LoInt()

INLINE void ADC2_enCmp5LoInt ( void  )

Enable Compare 5 Lower Threshold Interrupt.

◆ ADC2_enCmp5UpInt()

INLINE void ADC2_enCmp5UpInt ( void  )

Enable Compare 5 Upper Threshold Interrupt.

◆ ADC2_enCmp6LoInt()

INLINE void ADC2_enCmp6LoInt ( void  )

Enable Compare 6 Lower Threshold Interrupt.

◆ ADC2_enCmp6UpInt()

INLINE void ADC2_enCmp6UpInt ( void  )

Enable Compare 6 Upper Threshold Interrupt.

◆ ADC2_enCmp7LoInt()

INLINE void ADC2_enCmp7LoInt ( void  )

Enable Compare 7 Lower Threshold Interrupt.

◆ ADC2_enCmp7UpInt()

INLINE void ADC2_enCmp7UpInt ( void  )

Enable Compare 7 Upper Threshold Interrupt.

◆ ADC2_enPower()

INLINE void ADC2_enPower ( void  )

Enable ADC2 Module.

◆ ADC2_enSeq0Int()

INLINE void ADC2_enSeq0Int ( void  )

Enable Sequence 0 Interrupt.

◆ ADC2_enSeq1Int()

INLINE void ADC2_enSeq1Int ( void  )

Enable Sequence 1 Interrupt.

◆ ADC2_enSeq2Int()

INLINE void ADC2_enSeq2Int ( void  )

Enable Sequence 2 Interrupt.

◆ ADC2_enSeq3Int()

INLINE void ADC2_enSeq3Int ( void  )

Enable Sequence 3 Interrupt.

◆ ADC2_enSuspend()

INLINE void ADC2_enSuspend ( void  )

Enable ADC2 Suspend.

◆ ADC2_getCh0EndOfConvSts()

INLINE uint8 ADC2_getCh0EndOfConvSts ( void  )

Get Channel 0 End Of Conversion Status.

Returns
uint8 Channel 0 End Of Conversion Status

◆ ADC2_getCh0Result()

INLINE uint16 ADC2_getCh0Result ( void  )

Get Channel 0 Result Value.

Returns
uint16 Channel 0 Result Value

◆ ADC2_getCh0ResultValidSts()

INLINE uint8 ADC2_getCh0ResultValidSts ( void  )

Get Channel 0 Result Valid Status.

Returns
uint8 Channel 0 Result Valid Status

◆ ADC2_getCh10EndOfConvSts()

INLINE uint8 ADC2_getCh10EndOfConvSts ( void  )

Get Channel 10 End Of Conversion Status.

Returns
uint8 Channel 10 End Of Conversion Status

◆ ADC2_getCh10Result()

INLINE uint16 ADC2_getCh10Result ( void  )

Get Channel 10 Result Value.

Returns
uint16 Channel 10 Result Value

◆ ADC2_getCh10ResultValidSts()

INLINE uint8 ADC2_getCh10ResultValidSts ( void  )

Get Channel 10 Result Valid Status.

Returns
uint8 Channel 10 Result Valid Status

◆ ADC2_getCh11EndOfConvSts()

INLINE uint8 ADC2_getCh11EndOfConvSts ( void  )

Get Channel 11 End Of Conversion Status.

Returns
uint8 Channel 11 End Of Conversion Status

◆ ADC2_getCh11Result()

INLINE uint16 ADC2_getCh11Result ( void  )

Get Channel 11 Result Value.

Returns
uint16 Channel 11 Result Value

◆ ADC2_getCh11ResultValidSts()

INLINE uint8 ADC2_getCh11ResultValidSts ( void  )

Get Channel 11 Result Valid Status.

Returns
uint8 Channel 11 Result Valid Status

◆ ADC2_getCh12EndOfConvSts()

INLINE uint8 ADC2_getCh12EndOfConvSts ( void  )

Get Channel 12 End Of Conversion Status.

Returns
uint8 Channel 12 End Of Conversion Status

◆ ADC2_getCh12Result()

INLINE uint16 ADC2_getCh12Result ( void  )

Get Channel 12 Result Value.

Returns
uint16 Channel 12 Result Value

◆ ADC2_getCh12ResultValidSts()

INLINE uint8 ADC2_getCh12ResultValidSts ( void  )

Get Channel 12 Result Valid Status.

Returns
uint8 Channel 12 Result Valid Status

◆ ADC2_getCh13EndOfConvSts()

INLINE uint8 ADC2_getCh13EndOfConvSts ( void  )

Get Channel 13 End Of Conversion Status.

Returns
uint8 Channel 13 End Of Conversion Status

◆ ADC2_getCh13Result()

INLINE uint16 ADC2_getCh13Result ( void  )

Get Channel 13 Result Value.

Returns
uint16 Channel 13 Result Value

◆ ADC2_getCh13ResultValidSts()

INLINE uint8 ADC2_getCh13ResultValidSts ( void  )

Get Channel 13 Result Valid Status.

Returns
uint8 Channel 13 Result Valid Status

◆ ADC2_getCh14EndOfConvSts()

INLINE uint8 ADC2_getCh14EndOfConvSts ( void  )

Get Channel 14 End Of Conversion Status.

Returns
uint8 Channel 14 End Of Conversion Status

◆ ADC2_getCh14Result()

INLINE uint16 ADC2_getCh14Result ( void  )

Get Channel 14 Result Value.

Returns
uint16 Channel 14 Result Value

◆ ADC2_getCh14ResultValidSts()

INLINE uint8 ADC2_getCh14ResultValidSts ( void  )

Get Channel 14 Result Valid Status.

Returns
uint8 Channel 14 Result Valid Status

◆ ADC2_getCh1EndOfConvSts()

INLINE uint8 ADC2_getCh1EndOfConvSts ( void  )

Get Channel 1 End Of Conversion Status.

Returns
uint8 Channel 1 End Of Conversion Status

◆ ADC2_getCh1Result()

INLINE uint16 ADC2_getCh1Result ( void  )

Get Channel 1 Result Value.

Returns
uint16 Channel 1 Result Value

◆ ADC2_getCh1ResultValidSts()

INLINE uint8 ADC2_getCh1ResultValidSts ( void  )

Get Channel 1 Result Valid Status.

Returns
uint8 Channel 1 Result Valid Status

◆ ADC2_getCh2EndOfConvSts()

INLINE uint8 ADC2_getCh2EndOfConvSts ( void  )

Get Channel 2 End Of Conversion Status.

Returns
uint8 Channel 2 End Of Conversion Status

◆ ADC2_getCh2Result()

INLINE uint16 ADC2_getCh2Result ( void  )

Get Channel 2 Result Value.

Returns
uint16 Channel 2 Result Value

◆ ADC2_getCh2ResultValidSts()

INLINE uint8 ADC2_getCh2ResultValidSts ( void  )

Get Channel 2 Result Valid Status.

Returns
uint8 Channel 2 Result Valid Status

◆ ADC2_getCh3EndOfConvSts()

INLINE uint8 ADC2_getCh3EndOfConvSts ( void  )

Get Channel 3 End Of Conversion Status.

Returns
uint8 Channel 3 End Of Conversion Status

◆ ADC2_getCh3Result()

INLINE uint16 ADC2_getCh3Result ( void  )

Get Channel 3 Result Value.

Returns
uint16 Channel 3 Result Value

◆ ADC2_getCh3ResultValidSts()

INLINE uint8 ADC2_getCh3ResultValidSts ( void  )

Get Channel 3 Result Valid Status.

Returns
uint8 Channel 3 Result Valid Status

◆ ADC2_getCh4EndOfConvSts()

INLINE uint8 ADC2_getCh4EndOfConvSts ( void  )

Get Channel 4 End Of Conversion Status.

Returns
uint8 Channel 4 End Of Conversion Status

◆ ADC2_getCh4Result()

INLINE uint16 ADC2_getCh4Result ( void  )

Get Channel 4 Result Value.

Returns
uint16 Channel 4 Result Value

◆ ADC2_getCh4ResultValidSts()

INLINE uint8 ADC2_getCh4ResultValidSts ( void  )

Get Channel 4 Result Valid Status.

Returns
uint8 Channel 4 Result Valid Status

◆ ADC2_getCh5EndOfConvSts()

INLINE uint8 ADC2_getCh5EndOfConvSts ( void  )

Get Channel 5 End Of Conversion Status.

Returns
uint8 Channel 5 End Of Conversion Status

◆ ADC2_getCh5Result()

INLINE uint16 ADC2_getCh5Result ( void  )

Get Channel 5 Result Value.

Returns
uint16 Channel 5 Result Value

◆ ADC2_getCh5ResultValidSts()

INLINE uint8 ADC2_getCh5ResultValidSts ( void  )

Get Channel 5 Result Valid Status.

Returns
uint8 Channel 5 Result Valid Status

◆ ADC2_getCh6EndOfConvSts()

INLINE uint8 ADC2_getCh6EndOfConvSts ( void  )

Get Channel 6 End Of Conversion Status.

Returns
uint8 Channel 6 End Of Conversion Status

◆ ADC2_getCh6Result()

INLINE uint16 ADC2_getCh6Result ( void  )

Get Channel 6 Result Value.

Returns
uint16 Channel 6 Result Value

◆ ADC2_getCh6ResultValidSts()

INLINE uint8 ADC2_getCh6ResultValidSts ( void  )

Get Channel 6 Result Valid Status.

Returns
uint8 Channel 6 Result Valid Status

◆ ADC2_getCh7EndOfConvSts()

INLINE uint8 ADC2_getCh7EndOfConvSts ( void  )

Get Channel 7 End Of Conversion Status.

Returns
uint8 Channel 7 End Of Conversion Status

◆ ADC2_getCh7Result()

INLINE uint16 ADC2_getCh7Result ( void  )

Get Channel 7 Result Value.

Returns
uint16 Channel 7 Result Value

◆ ADC2_getCh7ResultValidSts()

INLINE uint8 ADC2_getCh7ResultValidSts ( void  )

Get Channel 7 Result Valid Status.

Returns
uint8 Channel 7 Result Valid Status

◆ ADC2_getCh8EndOfConvSts()

INLINE uint8 ADC2_getCh8EndOfConvSts ( void  )

Get Channel 8 End Of Conversion Status.

Returns
uint8 Channel 8 End Of Conversion Status

◆ ADC2_getCh8Result()

INLINE uint16 ADC2_getCh8Result ( void  )

Get Channel 8 Result Value.

Returns
uint16 Channel 8 Result Value

◆ ADC2_getCh8ResultValidSts()

INLINE uint8 ADC2_getCh8ResultValidSts ( void  )

Get Channel 8 Result Valid Status.

Returns
uint8 Channel 8 Result Valid Status

◆ ADC2_getCh9EndOfConvSts()

INLINE uint8 ADC2_getCh9EndOfConvSts ( void  )

Get Channel 9 End Of Conversion Status.

Returns
uint8 Channel 9 End Of Conversion Status

◆ ADC2_getCh9Result()

INLINE uint16 ADC2_getCh9Result ( void  )

Get Channel 9 Result Value.

Returns
uint16 Channel 9 Result Value

◆ ADC2_getCh9ResultValidSts()

INLINE uint8 ADC2_getCh9ResultValidSts ( void  )

Get Channel 9 Result Valid Status.

Returns
uint8 Channel 9 Result Valid Status

◆ ADC2_getChFiltResult()

sint8 ADC2_getChFiltResult ( uint16 u16p_filtDigValue,
uint8  u8_channel 
)

Get the 14-bit value of the ADC2 Filter Result Register of the selected ADC2 channel and returns the validity info.

Note
This function violates [MISRA Rule 45]
Parameters
u8_channeldigital channel number(0..14)
*u16p_filtDigValue12-bit ADC2 digital result value of the selected channel number (0..14)
Returns
sint8 0: success, <0: error codes

Example

This example returns the ADC2 Channel 5 result in millivolt (mV).

sint8 Example_Function(void)
{
sint8 s8_returnCode = ERR_LOG_SUCCESS;
uint16 u16_var_mV;
uint16 u16_var;
{
s8_returnCode = ADC2_getChFiltResult_mV(&u16_var_mV, ADC2_DCH5);
}
return s8_returnCode;
}
#define ERR_LOG_SUCCESS
Definition: error_codes.h:69
#define ADC2_DCH5
ADC2 digital channel selection macro, channel 5.
Definition: adc2.h:198
sint8 ADC2_getChFiltResult(uint16 *u16p_filtDigValue, uint8 u8_channel)
Get the 14-bit value of the ADC2 Filter Result Register of the selected ADC2 channel and returns the ...
Definition: adc2.c:296
sint8 ADC2_getChFiltResult_mV(uint16 *u16p_filtDigValue_mV, uint8 u8_channel)
Get the value of the ADC2 Result Filter Register of the selected ADC2 channel in millivolt (mV) and r...
Definition: adc2.c:351
int8_t sint8
8 bit signed value
Definition: types.h:225
uint16_t uint16
16 bit unsigned value
Definition: types.h:221

◆ ADC2_getChFiltResult_mV()

sint8 ADC2_getChFiltResult_mV ( uint16 u16p_filtDigValue_mV,
uint8  u8_channel 
)

Get the value of the ADC2 Result Filter Register of the selected ADC2 channel in millivolt (mV) and returns the validity info.

Note
This function violates [MISRA Rule 45]
Parameters
u8_channeldigital channel number(0..14)
*u16p_filtDigValue_mVADC2 Result Register value of the selected channel number converted to millivolt (mV)
Returns
sint8 0: success, <0: error codes

Example

This example returns the ADC2 Channel 5 result in millivolt (mV).

sint8 Example_Function(void)
{
sint8 s8_returnCode = ERR_LOG_SUCCESS;
uint16 u16_var_mV;
uint16 u16_var;
{
s8_returnCode = ADC2_getChFiltResult_mV(&u16_var_mV, ADC2_DCH5);
}
return s8_returnCode;
}

◆ ADC2_getChResult()

sint8 ADC2_getChResult ( uint16 u16p_digValue,
uint8  u8_channel 
)

Get the 12-bit value of the ADC2 Result Register of the selected ADC2 channel and returns the validity info.

Note
This function violates [MISRA Rule 45]
Parameters
u8_channeldigital channel number (0..14)
*u16p_digValuepointer to 12-bit ADC2 digital result value of the selected channel number (0..14)
Returns
sint8 0: success, <0: error codes

Example

This example returns the ADC2 Channel 5 result.

sint8 Example_Function(void)
{
sint8 s8_returnCode = ERR_LOG_SUCCESS;
uint16 u16_var;
{
s8_returnCode = ADC2_getChResult(&u16_var, ADC2_DCH5);
}
return s8_returnCode;
}
sint8 ADC2_getChResult(uint16 *u16p_digValue, uint8 u8_channel)
Get the 12-bit value of the ADC2 Result Register of the selected ADC2 channel and returns the validit...
Definition: adc2.c:187
INLINE uint8 ADC2_getCh5ResultValidSts(void)
Get Channel 5 Result Valid Status.
Definition: adc2.h:1689

◆ ADC2_getChResult_mV()

sint8 ADC2_getChResult_mV ( uint16 u16p_digValue_mV,
uint8  u8_channel 
)

Get the value of the ADC2 Result Register of the selected ADC2 channel in millivolt (mV) and returns the validity info.

Note
This function violates [MISRA Rule 45]
Parameters
u8_channeldigital channel number(0..14)
*u16p_digValue_mVpointer to ADC2 Result Register value of the selected channel number converted to millivolt (mV)
Returns
sint8 0: success, <0: error codes

Example

This example returns the ADC2 Channel 5 result in millivolt (mV).

sint8 Example_Function(void)
{
sint8 s8_returnCode = ERR_LOG_SUCCESS;
uint16 u16_var_mV;
{
s8_returnCode = ADC2_getChResult_mV(&u16_var_mV, ADC2_DCH5);
}
return s8_returnCode;
}
sint8 ADC2_getChResult_mV(uint16 *u16p_digValue_mV, uint8 u8_channel)
Get the value of the ADC2 Result Register of the selected ADC2 channel in millivolt (mV) and returns ...
Definition: adc2.c:241

◆ ADC2_getCmp0LoIntSts()

INLINE uint8 ADC2_getCmp0LoIntSts ( void  )

Get Compare 0 Lower Threshold Interrupt Status.

Returns
uint8 Compare 0 Lower Threshold Interrupt Status

◆ ADC2_getCmp0LoThSts()

INLINE uint8 ADC2_getCmp0LoThSts ( void  )

Get Compare 0 Lower Threshold Status.

Returns
uint8 Compare 0 Lower Threshold Status

◆ ADC2_getCmp0UpIntSts()

INLINE uint8 ADC2_getCmp0UpIntSts ( void  )

Get Compare 0 Upper Threshold Interrupt Status.

Returns
uint8 Compare 0 Upper Threshold Interrupt Status

◆ ADC2_getCmp0UpThSts()

INLINE uint8 ADC2_getCmp0UpThSts ( void  )

Get Compare 0 Upper Threshold Status.

Returns
uint8 Compare 0 Upper Threshold Status

◆ ADC2_getCmp1LoIntSts()

INLINE uint8 ADC2_getCmp1LoIntSts ( void  )

Get Compare 1 Lower Threshold Interrupt Status.

Returns
uint8 Compare 1 Lower Threshold Interrupt Status

◆ ADC2_getCmp1LoThSts()

INLINE uint8 ADC2_getCmp1LoThSts ( void  )

Get Compare 1 Lower Threshold Status.

Returns
uint8 Compare 1 Lower Threshold Status

◆ ADC2_getCmp1UpIntSts()

INLINE uint8 ADC2_getCmp1UpIntSts ( void  )

Get Compare 1 Upper Threshold Interrupt Status.

Returns
uint8 Compare 1 Upper Threshold Interrupt Status

◆ ADC2_getCmp1UpThSts()

INLINE uint8 ADC2_getCmp1UpThSts ( void  )

Get Compare 1 Upper Threshold Status.

Returns
uint8 Compare 1 Upper Threshold Status

◆ ADC2_getCmp2LoIntSts()

INLINE uint8 ADC2_getCmp2LoIntSts ( void  )

Get Compare 2 Lower Threshold Interrupt Status.

Returns
uint8 Compare 2 Lower Threshold Interrupt Status

◆ ADC2_getCmp2LoThSts()

INLINE uint8 ADC2_getCmp2LoThSts ( void  )

Get Compare 2 Lower Threshold Status.

Returns
uint8 Compare 2 Lower Threshold Status

◆ ADC2_getCmp2UpIntSts()

INLINE uint8 ADC2_getCmp2UpIntSts ( void  )

Get Compare 2 Upper Threshold Interrupt Status.

Returns
uint8 Compare 2 Upper Threshold Interrupt Status

◆ ADC2_getCmp2UpThSts()

INLINE uint8 ADC2_getCmp2UpThSts ( void  )

Get Compare 2 Upper Threshold Status.

Returns
uint8 Compare 2 Upper Threshold Status

◆ ADC2_getCmp3LoIntSts()

INLINE uint8 ADC2_getCmp3LoIntSts ( void  )

Get Compare 3 Lower Threshold Interrupt Status.

Returns
uint8 Compare 3 Lower Threshold Interrupt Status

◆ ADC2_getCmp3LoThSts()

INLINE uint8 ADC2_getCmp3LoThSts ( void  )

Get Compare 3 Lower Threshold Status.

Returns
uint8 Compare 3 Lower Threshold Status

◆ ADC2_getCmp3UpIntSts()

INLINE uint8 ADC2_getCmp3UpIntSts ( void  )

Get Compare 3 Upper Threshold Interrupt Status.

Returns
uint8 Compare 3 Upper Threshold Interrupt Status

◆ ADC2_getCmp3UpThSts()

INLINE uint8 ADC2_getCmp3UpThSts ( void  )

Get Compare 3 Upper Threshold Status.

Returns
uint8 Compare 3 Upper Threshold Status

◆ ADC2_getCmp4LoIntSts()

INLINE uint8 ADC2_getCmp4LoIntSts ( void  )

Get Compare 4 Lower Threshold Interrupt Status.

Returns
uint8 Compare 4 Lower Threshold Interrupt Status

◆ ADC2_getCmp4LoThSts()

INLINE uint8 ADC2_getCmp4LoThSts ( void  )

Get Compare 4 Lower Threshold Status.

Returns
uint8 Compare 4 Lower Threshold Status

◆ ADC2_getCmp4UpIntSts()

INLINE uint8 ADC2_getCmp4UpIntSts ( void  )

Get Compare 4 Upper Threshold Interrupt Status.

Returns
uint8 Compare 4 Upper Threshold Interrupt Status

◆ ADC2_getCmp4UpThSts()

INLINE uint8 ADC2_getCmp4UpThSts ( void  )

Get Compare 4 Upper Threshold Status.

Returns
uint8 Compare 4 Upper Threshold Status

◆ ADC2_getCmp5LoIntSts()

INLINE uint8 ADC2_getCmp5LoIntSts ( void  )

Get Compare 5 Lower Threshold Interrupt Status.

Returns
uint8 Compare 5 Lower Threshold Interrupt Status

◆ ADC2_getCmp5LoThSts()

INLINE uint8 ADC2_getCmp5LoThSts ( void  )

Get Compare 5 Lower Threshold Status.

Returns
uint8 Compare 5 Lower Threshold Status

◆ ADC2_getCmp5UpIntSts()

INLINE uint8 ADC2_getCmp5UpIntSts ( void  )

Get Compare 5 Upper Threshold Interrupt Status.

Returns
uint8 Compare 5 Upper Threshold Interrupt Status

◆ ADC2_getCmp5UpThSts()

INLINE uint8 ADC2_getCmp5UpThSts ( void  )

Get Compare 5 Upper Threshold Status.

Returns
uint8 Compare 5 Upper Threshold Status

◆ ADC2_getCmp6LoIntSts()

INLINE uint8 ADC2_getCmp6LoIntSts ( void  )

Get Compare 6 Lower Threshold Interrupt Status.

Returns
uint8 Compare 6 Lower Threshold Interrupt Status

◆ ADC2_getCmp6LoThSts()

INLINE uint8 ADC2_getCmp6LoThSts ( void  )

Get Compare 6 Lower Threshold Status.

Returns
uint8 Compare 6 Lower Threshold Status

◆ ADC2_getCmp6UpIntSts()

INLINE uint8 ADC2_getCmp6UpIntSts ( void  )

Get Compare 6 Upper Threshold Interrupt Status.

Returns
uint8 Compare 6 Upper Threshold Interrupt Status

◆ ADC2_getCmp6UpThSts()

INLINE uint8 ADC2_getCmp6UpThSts ( void  )

Get Compare 6 Upper Threshold Status.

Returns
uint8 Compare 6 Upper Threshold Status

◆ ADC2_getCmp7LoIntSts()

INLINE uint8 ADC2_getCmp7LoIntSts ( void  )

Get Compare 7 Lower Threshold Interrupt Status.

Returns
uint8 Compare 7 Lower Threshold Interrupt Status

◆ ADC2_getCmp7LoThSts()

INLINE uint8 ADC2_getCmp7LoThSts ( void  )

Get Compare 7 Lower Threshold Status.

Returns
uint8 Compare 7 Lower Threshold Status

◆ ADC2_getCmp7UpIntSts()

INLINE uint8 ADC2_getCmp7UpIntSts ( void  )

Get Compare 7 Upper Threshold Interrupt Status.

Returns
uint8 Compare 7 Upper Threshold Interrupt Status

◆ ADC2_getCmp7UpThSts()

INLINE uint8 ADC2_getCmp7UpThSts ( void  )

Get Compare 7 Upper Threshold Status.

Returns
uint8 Compare 7 Upper Threshold Status

◆ ADC2_getCurrChannel()

INLINE uint8 ADC2_getCurrChannel ( void  )

Get current channel under conversion.

Returns
uint8 Current channel under conversion

◆ ADC2_getCurrSeq()

INLINE uint8 ADC2_getCurrSeq ( void  )

Get Actual Sequence processed.

Returns
uint8 Actual Sequence processed

◆ ADC2_getEndOfConvSts()

uint8 ADC2_getEndOfConvSts ( uint8  u8_seqIdx,
uint8  u8_slotIdx 
)

Get End-of-Convertion status for selected sequence and slot.

Note
This function violates [MISRA Rule 45]
Parameters
u8_seqIdxsequencer channel number (0..3)
u8_slotIdxslot number (0..3)
Returns
uint8 End-of-Convertion status for selected sequence and slot

Example

This example starts sequence 0, checks slot0's EOC status and reads its result

uint8 Example_Function(void)
{
uint16 u16_val_mV;
{
}
return u8_EOCSts;
}
sint8 ADC2_startSequence(uint8 u8_seqIdx)
Start the conversion of a sequence by software.
Definition: adc2.c:608
#define ADC2_SEQ0
ADC2 sequencer channel selection macro, sequencer channel 0.
Definition: adc2.h:219
uint8 ADC2_getEndOfConvSts(uint8 u8_seqIdx, uint8 u8_slotIdx)
Get End-of-Convertion status for selected sequence and slot.
Definition: adc2.c:670
#define ADC2_SEQ_SLOT0
ADC2 sequencer slot selection, slot 0.
Definition: adc2.h:228
sint8 ADC2_getSeqResult_mV(uint16 *u16p_digValue_mV, uint8 u8_seqIdx, uint8 u8_slotIdx)
Get the 12-bit value of the ADC2 Result Register in mV of the selected slot in the sequencer and retu...
Definition: adc2.c:507
uint8_t uint8
8 bit unsigned value
Definition: types.h:220

◆ ADC2_getFilt0Res()

INLINE uint16 ADC2_getFilt0Res ( void  )

Get Result Value Filter 0.

Returns
uint16 Result Value Filter 0

◆ ADC2_getFilt0Sts()

INLINE uint8 ADC2_getFilt0Sts ( void  )

Get Filter 0 Event Status.

Returns
uint8 Filter 0 Event Status

◆ ADC2_getFilt1Res()

INLINE uint16 ADC2_getFilt1Res ( void  )

Get Result Value Filter 1.

Returns
uint16 Result Value Filter 1

◆ ADC2_getFilt1Sts()

INLINE uint8 ADC2_getFilt1Sts ( void  )

Get Filter 1 Event Status.

Returns
uint8 Filter 1 Event Status

◆ ADC2_getFilt2Res()

INLINE uint16 ADC2_getFilt2Res ( void  )

Get Result Value Filter 2.

Returns
uint16 Result Value Filter 2

◆ ADC2_getFilt2Sts()

INLINE uint8 ADC2_getFilt2Sts ( void  )

Get Filter 2 Event Status.

Returns
uint8 Filter 2 Event Status

◆ ADC2_getFilt3Res()

INLINE uint16 ADC2_getFilt3Res ( void  )

Get Result Value Filter 3.

Returns
uint16 Result Value Filter 3

◆ ADC2_getFilt3Sts()

INLINE uint8 ADC2_getFilt3Sts ( void  )

Get Filter 3 Event Status.

Returns
uint8 Filter 3 Event Status

◆ ADC2_getFilt4Res()

INLINE uint16 ADC2_getFilt4Res ( void  )

Get Result Value Filter 4.

Returns
uint16 Result Value Filter 4

◆ ADC2_getFilt4Sts()

INLINE uint8 ADC2_getFilt4Sts ( void  )

Get Filter 4 Event Status.

Returns
uint8 Filter 4 Event Status

◆ ADC2_getFilt5Res()

INLINE uint16 ADC2_getFilt5Res ( void  )

Get Result Value Filter 5.

Returns
uint16 Result Value Filter 5

◆ ADC2_getFilt5Sts()

INLINE uint8 ADC2_getFilt5Sts ( void  )

Get Filter 5 Event Status.

Returns
uint8 Filter 5 Event Status

◆ ADC2_getFilt6Res()

INLINE uint16 ADC2_getFilt6Res ( void  )

Get Result Value Filter 6.

Returns
uint16 Result Value Filter 6

◆ ADC2_getFilt6Sts()

INLINE uint8 ADC2_getFilt6Sts ( void  )

Get Filter 6 Event Status.

Returns
uint8 Filter 6 Event Status

◆ ADC2_getFilt7Res()

INLINE uint16 ADC2_getFilt7Res ( void  )

Get Result Value Filter 7.

Returns
uint16 Result Value Filter 7

◆ ADC2_getFilt7Sts()

INLINE uint8 ADC2_getFilt7Sts ( void  )

Get Filter 7 Event Status.

Returns
uint8 Filter 7 Event Status

◆ ADC2_getSeq0IntSts()

INLINE uint8 ADC2_getSeq0IntSts ( void  )

Get Sequence 0 Interrupt Status.

Returns
uint8 Sequence 0 Interrupt Status

◆ ADC2_getSeq1IntSts()

INLINE uint8 ADC2_getSeq1IntSts ( void  )

Get Sequence 1 Interrupt Status.

Returns
uint8 Sequence 1 Interrupt Status

◆ ADC2_getSeq2IntSts()

INLINE uint8 ADC2_getSeq2IntSts ( void  )

Get Sequence 2 Interrupt Status.

Returns
uint8 Sequence 2 Interrupt Status

◆ ADC2_getSeq3IntSts()

INLINE uint8 ADC2_getSeq3IntSts ( void  )

Get Sequence 3 Interrupt Status.

Returns
uint8 Sequence 3 Interrupt Status

◆ ADC2_getSeqResult()

sint8 ADC2_getSeqResult ( uint16 u16p_DigValue,
uint8  u8_seqIdx,
uint8  u8_slotIdx 
)

Get the 12-bit value of the ADC2 Result Register of the selected slot in the sequencer and returns the validity info.

Note
This function violates [MISRA Rule 45]
Parameters
u8_seqIdxsequencer channel number (0..3)
u8_slotIdxslot inside sequencer (0..3)
*u16p_DigValue12-bit ADC2 digital result value of the channel from the sequence and slot
Returns
sint8 0: success, <0: error codes

Example

This example returns the ADC2 result for the channel in slot3 of sequence 2.

sint8 Example_Function(void)
{
sint8 s8_returnCode = ERR_LOG_SUCCESS;
uint16 u16_var;
{
}
return s8_returnCode;
}
sint8 ADC2_getSeqResult(uint16 *u16p_DigValue, uint8 u8_seqIdx, uint8 u8_slotIdx)
Get the 12-bit value of the ADC2 Result Register of the selected slot in the sequencer and returns th...
Definition: adc2.c:405
#define ADC2_SEQ2
ADC2 sequencer channel selection macro, sequencer channel 2.
Definition: adc2.h:223
#define ADC2_SEQ_SLOT3
ADC2 sequencer slot selection, slot 3.
Definition: adc2.h:234

◆ ADC2_getSeqResult_mV()

sint8 ADC2_getSeqResult_mV ( uint16 u16p_digValue_mV,
uint8  u8_seqIdx,
uint8  u8_slotIdx 
)

Get the 12-bit value of the ADC2 Result Register in mV of the selected slot in the sequencer and returns the validity info.

Note
This function violates [MISRA Rule 45]
Parameters
u8_seqIdxsequencer channel number (0..3)
u8_slotIdxslot inside sequencer (0..3)
*u16p_digValue_mV12-bit ADC2 digital result value in mV of the channel from the sequence and slot
Returns
sint8 0: success, <0: error codes

Example

This example returns the ADC2 result for the channel in slot3 of sequence 2.

sint8 Example_Function(void)
{
sint8 s8_returnCode = ERR_LOG_SUCCESS;
uint16 u16_var_mV;
{
}
return s8_returnCode;
}

◆ ADC2_getSuspendMode()

INLINE uint8 ADC2_getSuspendMode ( void  )

Get Suspend Mode.

Returns
uint8 Suspend Mode

◆ ADC2_getSuspendSts()

INLINE uint8 ADC2_getSuspendSts ( void  )

Get Suspend Mode Status.

Returns
uint8 Suspend Mode Status

◆ ADC2_init()

sint8 ADC2_init ( void  )

Initialize all CW registers of the ADC2 module.

Returns
sint8 0: success, <0: error codes

◆ ADC2_setCh0Config()

INLINE void ADC2_setCh0Config ( tADC2_CHCFGx  e_value)

Set Channel 0 configuration.

Parameters
e_valueChannel 0 configuration

◆ ADC2_setCh0IntNodePtr()

void ADC2_setCh0IntNodePtr ( void  )

Set Channel 0 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh10Config()

INLINE void ADC2_setCh10Config ( tADC2_CHCFGx  e_value)

Set Channel 10 configuration.

Parameters
e_valueChannel 10 configuration

◆ ADC2_setCh10IntNodePtr()

void ADC2_setCh10IntNodePtr ( void  )

Set Channel 10 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh11Config()

INLINE void ADC2_setCh11Config ( tADC2_CHCFGx  e_value)

Set Channel 11 configuration.

Parameters
e_valueChannel 11 configuration

◆ ADC2_setCh11IntNodePtr()

void ADC2_setCh11IntNodePtr ( void  )

Set Channel 11 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh12Config()

INLINE void ADC2_setCh12Config ( tADC2_CHCFGx  e_value)

Set Channel 12 configuration.

Parameters
e_valueChannel 12 configuration

◆ ADC2_setCh12IntNodePtr()

void ADC2_setCh12IntNodePtr ( void  )

Set Channel 12 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh13Config()

INLINE void ADC2_setCh13Config ( tADC2_CHCFGx  e_value)

Set Channel 13 configuration.

Parameters
e_valueChannel 13 configuration

◆ ADC2_setCh13IntNodePtr()

void ADC2_setCh13IntNodePtr ( void  )

Set Channel 13 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh14Config()

INLINE void ADC2_setCh14Config ( tADC2_CHCFGx  e_value)

Set Channel 14 configuration.

Parameters
e_valueChannel 14 configuration

◆ ADC2_setCh14IntNodePtr()

void ADC2_setCh14IntNodePtr ( void  )

Set Channel 14 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh1Config()

INLINE void ADC2_setCh1Config ( tADC2_CHCFGx  e_value)

Set Channel 1 configuration.

Parameters
e_valueChannel 1 configuration

◆ ADC2_setCh1IntNodePtr()

void ADC2_setCh1IntNodePtr ( void  )

Set Channel 1 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh2Config()

INLINE void ADC2_setCh2Config ( tADC2_CHCFGx  e_value)

Set Channel 2 configuration.

Parameters
e_valueChannel 2 configuration

◆ ADC2_setCh2IntNodePtr()

void ADC2_setCh2IntNodePtr ( void  )

Set Channel 2 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh3Config()

INLINE void ADC2_setCh3Config ( tADC2_CHCFGx  e_value)

Set Channel 3 configuration.

Parameters
e_valueChannel 3 configuration

◆ ADC2_setCh3IntNodePtr()

void ADC2_setCh3IntNodePtr ( void  )

Set Channel 3 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh4Config()

INLINE void ADC2_setCh4Config ( tADC2_CHCFGx  e_value)

Set Channel 4 configuration.

Parameters
e_valueChannel 4 configuration

◆ ADC2_setCh4IntNodePtr()

void ADC2_setCh4IntNodePtr ( void  )

Set Channel 4 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh5Config()

INLINE void ADC2_setCh5Config ( tADC2_CHCFGx  e_value)

Set Channel 5 configuration.

Parameters
e_valueChannel 5 configuration

◆ ADC2_setCh5IntNodePtr()

void ADC2_setCh5IntNodePtr ( void  )

Set Channel 5 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh6Config()

INLINE void ADC2_setCh6Config ( tADC2_CHCFGx  e_value)

Set Channel 6 configuration.

Parameters
e_valueChannel 6 configuration

◆ ADC2_setCh6IntNodePtr()

void ADC2_setCh6IntNodePtr ( void  )

Set Channel 6 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh7Config()

INLINE void ADC2_setCh7Config ( tADC2_CHCFGx  e_value)

Set Channel 7 configuration.

Parameters
e_valueChannel 7 configuration

◆ ADC2_setCh7IntNodePtr()

void ADC2_setCh7IntNodePtr ( void  )

Set Channel 7 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh8Config()

INLINE void ADC2_setCh8Config ( tADC2_CHCFGx  e_value)

Set Channel 8 configuration.

Parameters
e_valueChannel 8 configuration

◆ ADC2_setCh8IntNodePtr()

void ADC2_setCh8IntNodePtr ( void  )

Set Channel 8 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCh9Config()

INLINE void ADC2_setCh9Config ( tADC2_CHCFGx  e_value)

Set Channel 9 configuration.

Parameters
e_valueChannel 9 configuration

◆ ADC2_setCh9IntNodePtr()

void ADC2_setCh9IntNodePtr ( void  )

Set Channel 9 Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp0Config()

INLINE void ADC2_setCmp0Config ( tADC2_CMPCFGx  e_value)

Set Compare Channel 0 configuration.

Parameters
e_valueCompare Channel 0 configuration

◆ ADC2_setCmp0LoIntNodePtr()

void ADC2_setCmp0LoIntNodePtr ( void  )

Set Compare Lo Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp0UpIntNodePtr()

void ADC2_setCmp0UpIntNodePtr ( void  )

Set Compare Up Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp1Config()

INLINE void ADC2_setCmp1Config ( tADC2_CMPCFGx  e_value)

Set Compare Channel 1 configuration.

Parameters
e_valueCompare Channel 1 configuration

◆ ADC2_setCmp1LoIntNodePtr()

void ADC2_setCmp1LoIntNodePtr ( void  )

Set Compare Lo Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp1UpIntNodePtr()

void ADC2_setCmp1UpIntNodePtr ( void  )

Set Compare Up Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp2Config()

INLINE void ADC2_setCmp2Config ( tADC2_CMPCFGx  e_value)

Set Compare Channel 2 configuration.

Parameters
e_valueCompare Channel 2 configuration

◆ ADC2_setCmp2LoIntNodePtr()

void ADC2_setCmp2LoIntNodePtr ( void  )

Set Compare Lo Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp2UpIntNodePtr()

void ADC2_setCmp2UpIntNodePtr ( void  )

Set Compare Up Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp3Config()

INLINE void ADC2_setCmp3Config ( tADC2_CMPCFGx  e_value)

Set Compare Channel 3 configuration.

Parameters
e_valueCompare Channel 3 configuration

◆ ADC2_setCmp3LoIntNodePtr()

void ADC2_setCmp3LoIntNodePtr ( void  )

Set Compare Lo Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp3UpIntNodePtr()

void ADC2_setCmp3UpIntNodePtr ( void  )

Set Compare Up Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp4Config()

INLINE void ADC2_setCmp4Config ( tADC2_CMPCFGx  e_value)

Set Compare Channel 4 configuration.

Parameters
e_valueCompare Channel 4 configuration

◆ ADC2_setCmp4LoIntNodePtr()

void ADC2_setCmp4LoIntNodePtr ( void  )

Set Compare Lo Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp4UpIntNodePtr()

void ADC2_setCmp4UpIntNodePtr ( void  )

Set Compare Up Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp5Config()

INLINE void ADC2_setCmp5Config ( tADC2_CMPCFGx  e_value)

Set Compare Channel 5 configuration.

Parameters
e_valueCompare Channel 5 configuration

◆ ADC2_setCmp5LoIntNodePtr()

void ADC2_setCmp5LoIntNodePtr ( void  )

Set Compare Lo Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp5UpIntNodePtr()

void ADC2_setCmp5UpIntNodePtr ( void  )

Set Compare Up Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp6Config()

INLINE void ADC2_setCmp6Config ( tADC2_CMPCFGx  e_value)

Set Compare Channel 6 configuration.

Parameters
e_valueCompare Channel 6 configuration

◆ ADC2_setCmp6LoIntNodePtr()

void ADC2_setCmp6LoIntNodePtr ( void  )

Set Compare Lo Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp6UpIntNodePtr()

void ADC2_setCmp6UpIntNodePtr ( void  )

Set Compare Up Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp7Config()

INLINE void ADC2_setCmp7Config ( tADC2_CMPCFGx  e_value)

Set Compare Channel 7 configuration.

Parameters
e_valueCompare Channel 7 configuration

◆ ADC2_setCmp7LoIntNodePtr()

void ADC2_setCmp7LoIntNodePtr ( void  )

Set Compare Lo Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setCmp7UpIntNodePtr()

void ADC2_setCmp7UpIntNodePtr ( void  )

Set Compare Up Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setConvClass0Config()

INLINE void ADC2_setConvClass0Config ( tADC2_CONVCFGx  e_value)

Set Conversion Class 0.

Parameters
e_valueConversion Class 0

◆ ADC2_setConvClass1Config()

INLINE void ADC2_setConvClass1Config ( tADC2_CONVCFGx  e_value)

Set Conversion Class 1.

Parameters
e_valueConversion Class 1

◆ ADC2_setConvClass2Config()

INLINE void ADC2_setConvClass2Config ( tADC2_CONVCFGx  e_value)

Set Conversion Class 2.

Parameters
e_valueConversion Class 2

◆ ADC2_setConvClass3Config()

INLINE void ADC2_setConvClass3Config ( tADC2_CONVCFGx  e_value)

Set Conversion Class 3.

Parameters
e_valueConversion Class 3

◆ ADC2_setSeq0Config()

INLINE void ADC2_setSeq0Config ( tADC2_SQCFGx  e_value)

Set Sequence 0 configuration.

Parameters
e_valueSequence 0 configuration

◆ ADC2_setSeq0IntNodePtr()

void ADC2_setSeq0IntNodePtr ( void  )

Set Sequence Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setSeq1Config()

INLINE void ADC2_setSeq1Config ( tADC2_SQCFGx  e_value)

Set Sequence 1 configuration.

Parameters
e_valueSequence 1 configuration

◆ ADC2_setSeq1IntNodePtr()

void ADC2_setSeq1IntNodePtr ( void  )

Set Sequence Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setSeq1Slot0()

INLINE void ADC2_setSeq1Slot0 ( uint8  e_value)

Set Channel Select for Sequence 1 Slot 0.

Parameters
e_valueChannel 13 or 14 for Sequence 1 Slot 0

◆ ADC2_setSeq2Config()

INLINE void ADC2_setSeq2Config ( tADC2_SQCFGx  e_value)

Set Sequence 2 configuration.

Parameters
e_valueSequence 2 configuration

◆ ADC2_setSeq2IntNodePtr()

void ADC2_setSeq2IntNodePtr ( void  )

Set Sequence Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setSeq3Config()

INLINE void ADC2_setSeq3Config ( tADC2_SQCFGx  e_value)

Set Sequence 3 configuration.

Parameters
e_valueSequence 3 configuration

◆ ADC2_setSeq3IntNodePtr()

void ADC2_setSeq3IntNodePtr ( void  )

Set Sequence Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ ADC2_setSuspendMode()

INLINE void ADC2_setSuspendMode ( uint8  u8_susMode)

Set Suspend Mode.

Parameters
u8_susModeSuspend mode

◆ ADC2_startSequence()

sint8 ADC2_startSequence ( uint8  u8_seqIdx)

Start the conversion of a sequence by software.

Note
A sequence can only be started by software if the trigger selection is set to software trigger.
This function violates [MISRA Rule 45]
Parameters
u8_seqIdxsequencer channel number (0..3)
Returns
sint8 0: success, <0: error codes

Example

This example starts sequence 0

sint8 Example_Function(void)
{
sint8 s8_returnCode = ERR_LOG_SUCCESS;
{
//sequence successfully started
}
return s8_returnCode;
}

Variable Documentation

◆ feature

void use the ConfigWizard to configure this feature