Infineon MOTIX™ MCU TLE985x Device Family SDK
Macros | Enumerations | Functions
adc1.h File Reference

Go to the source code of this file.

Detailed Description

ADC1 low level access library.

Version
V0.2.9
Date
28. Aug 2023
Note
This file violates [MISRA 2012 Rule 11.1, required], [MISRA 2012 Rule 11.4, advisory], [MISRA 2012 Rule 11.6, required], [MISRA 2012 Rule 2.5, advisory], [MISRA 2012 Rule 8.7, advisory]

Include Graph

Include dependency graph for adc1.h:

Macros

#define SW_Mode   1u
 ADC1 Mode Selection macro, Software Mode. More...
 
#define SEQ_Mode   0u
 Mode Selection macro, Sequencer Mode. More...
 
#define OVERWRITE   0u
 ADC1 Result Register macro, Overwrite Mode. More...
 
#define WFR   1u
 ADC1 Result Register macro, Wait For Read Mode. More...
 
#define ADC1_CH0   (0)
 ADC1 channel selection macro, channel 0 - VBAT_SENSE. More...
 
#define ADC1_CH1   (1)
 ADC1 channel selection macro, channel 1 - VS. More...
 
#define ADC1_CH2   (2)
 ADC1 channel selection macro, channel 2 - MON1. More...
 
#define ADC1_CH3   (3)
 ADC1 channel selection macro, channel 3 - MON2. More...
 
#define ADC1_CH4   (4)
 ADC1 channel selection macro, channel 4 - MON3. More...
 
#define ADC1_CH5   (5)
 ADC1 channel selection macro, channel 5 - MON4. More...
 
#define ADC1_CH6   (6)
 ADC1 channel selection macro, channel 6 - P2.0. More...
 
#define ADC1_CH7   (7)
 ADC1 channel selection macro, channel 7 - P2.1. More...
 
#define ADC1_CH8   (8)
 ADC1 channel selection macro, channel 8 - P2.2. More...
 
#define ADC1_CH9   (9)
 ADC1 channel selection macro, channel 9 - P2.3. More...
 
#define ADC1_CH12   (12)
 ADC1 channel selection macro, channel 12 - P2.7. More...
 
#define ADC1_CH13   (13)
 ADC1 channel selection macro, channel 13 - CSA. More...
 
#define ADC1_VBAT_SENSE   ADC1_CH0
 ADC1 channel selection macro, channel 0 - VBAT_SENSE. More...
 
#define ADC1_VS   ADC1_CH1
 ADC1 channel selection macro, channel 1 - VS. More...
 
#define ADC1_MON1   ADC1_CH2
 ADC1 channel selection macro, channel 2 - MON1. More...
 
#define ADC1_MON2   ADC1_CH3
 ADC1 channel selection macro, channel 3 - MON2. More...
 
#define ADC1_MON3   ADC1_CH4
 ADC1 channel selection macro, channel 4 - MON3. More...
 
#define ADC1_MON4   ADC1_CH5
 ADC1 channel selection macro, channel 5 - MON4. More...
 
#define ADC1_P20   ADC1_CH6
 ADC1 channel selection macro, channel 6 - P2.0. More...
 
#define ADC1_P21   ADC1_CH7
 ADC1 channel selection macro, channel 7 - P2.1. More...
 
#define ADC1_P22   ADC1_CH8
 ADC1 channel selection macro, channel 8 - P2.2. More...
 
#define ADC1_P23   ADC1_CH9
 ADC1 channel selection macro, channel 9 - P2.3. More...
 
#define ADC1_P27   ADC1_CH12
 ADC1 channel selection macro, channel 12 - P2.7. More...
 
#define ADC1_OPA   ADC1_CH13
 ADC1 channel selection macro, channel 13 - CSA. More...
 
#define ADC1_MASK_CH0   (1u << 0u)
 ADC1 Sequencer/ESM channel selection macro, channel 0 - VBAT_SENSE. More...
 
#define ADC1_MASK_CH1   (1u << 1u)
 ADC1 Sequencer/ESM channel selection macro, channel 1 - VS. More...
 
#define ADC1_MASK_CH2   (1u << 2u)
 ADC1 Sequencer/ESM channel selection macro, channel 2 - MON1. More...
 
#define ADC1_MASK_CH3   (1u << 3u)
 ADC1 Sequencer/ESM channel selection macro, channel 3 - MON2. More...
 
#define ADC1_MASK_CH4   (1u << 4u)
 ADC1 Sequencer/ESM channel selection macro, channel 4 - MON3. More...
 
#define ADC1_MASK_CH5   (1u << 5u)
 ADC1 Sequencer/ESM channel selection macro, channel 5 - MON4. More...
 
#define ADC1_MASK_CH6   (1u << 6u)
 ADC1 Sequencer/ESM channel selection macro, channel 6 - P2.0. More...
 
#define ADC1_MASK_CH7   (1u << 7u)
 ADC1 Sequencer/ESM channel selection macro, channel 7 - P2.1. More...
 
#define ADC1_MASK_CH8   (1u << 8u)
 ADC1 Sequencer/ESM channel selection macro, channel 8 - P2.2. More...
 
#define ADC1_MASK_CH9   (1u << 9u)
 ADC1 Sequencer/ESM channel selection macro, channel 9 - P2.3. More...
 
#define ADC1_MASK_CH12   (1u << 12u)
 ADC1 Sequencer/ESM channel selection macro, channel 12 - P2.7. More...
 
#define ADC1_MASK_CH13   (1u << 13u)
 ADC1 Sequencer/ESM channel selection macro, channel 13 - CSA. More...
 
#define ADC1_MASK_VBAT_SENSE   (ADC1_MASK_CH0)
 ADC1 Sequencer/ESM channel selection macro, channel 0 - VBAT_SENSE. More...
 
#define ADC1_MASK_VS   (ADC1_MASK_CH1)
 ADC1 Sequencer/ESM channel selection macro, channel 1 - VS. More...
 
#define ADC1_MASK_MON1   (ADC1_MASK_CH2)
 ADC1 Sequencer/ESM channel selection macro, channel 2 - MON1. More...
 
#define ADC1_MASK_MON2   (ADC1_MASK_CH3)
 ADC1 Sequencer/ESM channel selection macro, channel 3 - MON2. More...
 
#define ADC1_MASK_MON3   (ADC1_MASK_CH4)
 ADC1 Sequencer/ESM channel selection macro, channel 4 - MON3. More...
 
#define ADC1_MASK_MON4   (ADC1_MASK_CH5)
 ADC1 Sequencer/ESM channel selection macro, channel 5 - MON4. More...
 
#define ADC1_MASK_P20   (ADC1_MASK_CH6)
 ADC1 Sequencer/ESM channel selection macro, channel 6 - P2.0. More...
 
#define ADC1_MASK_P21   (ADC1_MASK_CH7)
 ADC1 Sequencer/ESM channel selection macro, channel 7 - P2.1. More...
 
#define ADC1_MASK_P22   (ADC1_MASK_CH8)
 ADC1 Sequencer/ESM channel selection macro, channel 8 - P2.2. More...
 
#define ADC1_MASK_P23   (ADC1_MASK_CH9)
 ADC1 Sequencer/ESM channel selection macro, channel 9 - P2.3. More...
 
#define ADC1_MASK_P27   (ADC1_MASK_CH12)
 ADC1 Sequencer/ESM channel selection macro, channel 12 - P2.7. More...
 
#define ADC1_MASK_OPA   (ADC1_MASK_CH13)
 ADC1 Sequencer/ESM channel selection macro, channel 13 - CSA. More...
 
#define ADC1_MMODE_0   0u
 ADC1 Overvoltage Measurement Mode macro, upper and lower voltage limit measurement. More...
 
#define ADC1_MMODE_UV   1u
 ADC1 Overvoltage Measurement Mode macro, undervoltage limit measurement. More...
 
#define ADC1_MMODE_OV   2u
 ADC1 Overvoltage Measurement Mode macro, overvoltage limit measurement. More...
 
#define ADC1_HYST_OFF   (0u)
 ADC1 Lower Hysteresis Trigger Level macro, HYST OFF. More...
 
#define ADC1_HYST_4   (1u)
 ADC1 Lower Hysteresis Trigger Level macro, HYST 4. More...
 
#define ADC1_HYST_8   (2u)
 ADC1 Lower Hysteresis Trigger Level macro, HYST 8. More...
 
#define ADC1_HYST_16   (3u)
 ADC1 Lower Hysteresis Trigger Level macro, HYST 16. More...
 
#define ADC1_CNT_1   (0u)
 ADC1 Lower Counter Trigger Level macro, 1 Measurement. More...
 
#define ADC1_CNT_2   (1u)
 ADC1 Lower Counter Trigger Level macro, 2 Measurements. More...
 
#define ADC1_CNT_4   (2u)
 ADC1 Lower Counter Trigger Level macro, 4 Measurements. More...
 
#define ADC1_CNT_7   (3u)
 ADC1 Lower Counter Trigger Level macro, 7 Measurements. More...
 
#define ADC1_Soc_Clk_Jitter_0   (0u)
 ADC1 Soc Clock Jitter Status macro, 0n. More...
 
#define ADC1_Soc_Clk_Jitter_3_5   (1u)
 ADC1 Soc Clock Jitter Status macro, 3.5n. More...
 
#define ADC1_Soc_Clk_Jitter_5_5   (2u)
 ADC1 Soc Clock Jitter Status macro, 5.5n. More...
 
#define ADC1_Soc_Clk_Jitter_8   (3u)
 ADC1 Soc Clock Jitter Status macro, 8n. More...
 
#define ADC1_VREF   1.21
 ADC1 reference voltage 1.21V. More...
 

Enumerations

enum  TADC1_TRIGG_SEL {
  ADC1_Trigg_None = 0 , ADC1_Trigg_CCU6_Ch3 = 1 , ADC1_Trigg_GPT12E_T6 = 2 , ADC1_Trigg_GPT12E_T3 = 3 ,
  ADC1_Trigg_Timer2 = 4 , ADC1_Trigg_Timer21 = 5
}
 This enum lists the trigger select options for EIM and ESM. More...
 
enum  TADC1_EIM_REP_CNT {
  ADC1_1_Meas = 0 , ADC1_2_Meas = 1 , ADC1_4_Meas = 2 , ADC1_8_Meas = 3 ,
  ADC1_16_Meas = 4 , ADC1_32_Meas = 5 , ADC1_64_Meas = 6 , ADC1_128_Meas = 7
}
 This enum lists the EIM repeat count setting options. More...
 

Functions

void ADC1_Init (void)
 Initializes the ADC1 based on the Config Wizard configuration. More...
 
uint32 ADC1_GetChAttFactor (uint8 channel)
 Gets ADC1 Channel Attenuator Factor multiplied by 1024. More...
 
uint8 ADC1_GetChResValid (uint8 channel)
 Gets the 10-bit value of the ADC1 Result Register of the selected ADC1 channel and returns the validity info. More...
 
bool ADC1_GetChResult (uint16 *pVar, uint8 channel)
 Gets the 10-bit value of the ADC1 Result Register of the selected ADC1 channel and returns the validity info. More...
 
bool ADC1_GetChResult_mV (uint16 *pVar_mV, uint8 channel)
 Gets the 10-bit value of the ADC1 Result Register of the selected ADC1 channel in Millivolt (mV) and returns the validity info. More...
 
bool ADC1_GetEIMResult (uint16 *pVar)
 Gets the 10-bit value of the ADC1 EIM Result Register and returns the validity info. More...
 
bool ADC1_GetEIMResult_mV (uint16 *pVar_mV)
 Gets the value of the ADC1 EIM Result Register in Millivolt (mV) and returns the validity info. More...
 
INLINE void ADC1_Power_On (void)
 Enables the ADC1 module. More...
 
INLINE void ADC1_Power_Off (void)
 Disables the ADC1 module. More...
 
INLINE void ADC1_SOOC_Set (void)
 Starts an ADC1 Offset Calibration, for Software mode only. More...
 
INLINE void ADC1_SOS_Set (void)
 Starts an ADC1 Conversion, for Software mode only. More...
 
INLINE void ADC1_SW_Channel_Sel (uint8 a)
 Selects a channel for the software conversion. More...
 
INLINE uint8 ADC1_SW_Channel_Read (void)
 Reads the enabled channels for the software conversion. More...
 
INLINE void ADC1_STRTUP_En (void)
 Enables DPP1 Startup. More...
 
INLINE void ADC1_STRTUP_Dis (void)
 Disables DPP1 Startup. More...
 
INLINE void ADC1_Sequencer_Mode_Sel (void)
 Selects ADC1 Sequencer Mode. More...
 
INLINE void ADC1_Software_Mode_Sel (void)
 Selects ADC1 Software Mode, measurements are performed on user request. More...
 
INLINE uint8 ADC1_EOC_Sts (void)
 Reads the End-of-Conversion status. More...
 
INLINE uint8 ADC1_EIM_Active_Sts (void)
 Reads the active status of the Exceptional Interrupt Measurement (EIM). More...
 
INLINE uint8 ADC1_ESM_Active_Sts (void)
 Reads the active status of the Exceptional Sequencer Measurement (ESM). More...
 
INLINE uint8 ADC1_Current_Active_Sequence_Sts (void)
 Reads the currently active channel status in Sequencer Mode. More...
 
INLINE uint8 ADC1_Current_Active_Channel_Sts (void)
 Reads the currently active channel status. More...
 
INLINE uint8 ADC1_Sequencer_Stop_Signal_Sts (void)
 Reads the ADC1 Sequencer Stop Signal for DPP Status. More...
 
INLINE uint8 ADC1_Sequence_Feedback_Sts (void)
 Reads the Current Sequence that caused software mode. More...
 
INLINE void ADC1_SW_Max_Time_Set (uint8 time)
 Sets Maximum Time in Software Mode. More...
 
INLINE void ADC1_Sequence0_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 0, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE void ADC1_Sequence1_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 1, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE void ADC1_Sequence2_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 2, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE void ADC1_Sequence3_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 3, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE void ADC1_Sequence4_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 4, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE void ADC1_Sequence5_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 5, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE void ADC1_Sequence6_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 6, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE void ADC1_Sequence7_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 7, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE void ADC1_Sequence8_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 8, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE void ADC1_Sequence9_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 9, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE void ADC1_Sequence10_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 10, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE void ADC1_Sequence11_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 11, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE void ADC1_Sequence12_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 12, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE void ADC1_Sequence13_Set (uint16 mask_ch)
 Defines the channels to be measured in Sequence 13, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel. More...
 
INLINE uint16 ADC1_Ch0_Result_Get (void)
 Reads the converted value from the channel 0 result register. More...
 
INLINE uint16 ADC1_Ch1_Result_Get (void)
 Reads the converted value from the channel 1 result register. More...
 
INLINE uint16 ADC1_Ch2_Result_Get (void)
 Reads the converted value from the channel 2 result register. More...
 
INLINE uint16 ADC1_Ch3_Result_Get (void)
 Reads the converted value from the channel 3 result register. More...
 
INLINE uint16 ADC1_Ch4_Result_Get (void)
 Reads the converted value from the channel 4 result register. More...
 
INLINE uint16 ADC1_Ch5_Result_Get (void)
 Reads the converted value from the channel 5 result register. More...
 
INLINE uint16 ADC1_Ch6_Result_Get (void)
 Reads the converted value from the channel 6 result register. More...
 
INLINE uint16 ADC1_Ch7_Result_Get (void)
 Reads the converted value from the channel 7 result register. More...
 
INLINE uint16 ADC1_Ch8_Result_Get (void)
 Reads the converted value from the channel 8 result register. More...
 
INLINE uint16 ADC1_Ch9_Result_Get (void)
 Reads the converted value from the channel 9 result register. More...
 
INLINE uint16 ADC1_Ch12_Result_Get (void)
 Reads the converted value from the channel 12 (P2.7) result register. More...
 
INLINE uint16 ADC1_Ch13_Result_Get (void)
 Reads the converted value from the channel 13 (CSA) result register. More...
 
INLINE uint16 ADC1_EIM_Result_Get (void)
 Reads the converted value from the EIM result register. More...
 
INLINE uint16 ADC1_DU1_Result_Get (void)
 Reads ADC differential 1 output value. More...
 
INLINE uint16 ADC1_VBAT_SENSE_Result_Get (void)
 Reads the converted value from the channel 0 result register. More...
 
INLINE uint16 ADC1_VS_Result_Get (void)
 Reads the converted value from the channel 1 result register. More...
 
INLINE uint16 ADC1_MON1_Result_Get (void)
 Reads the converted value from the channel 2 result register. More...
 
INLINE uint16 ADC1_MON2_Result_Get (void)
 Reads the converted value from the channel 3 result register. More...
 
INLINE uint16 ADC1_MON3_Result_Get (void)
 Reads the converted value from the channel 4 result register. More...
 
INLINE uint16 ADC1_MON4_Result_Get (void)
 Reads the converted value from the channel 5 result register. More...
 
INLINE uint16 ADC1_P20_Result_Get (void)
 Reads the converted value from the channel 6 result register. More...
 
INLINE uint16 ADC1_P21_Result_Get (void)
 Reads the converted value from the channel 7 result register. More...
 
INLINE uint16 ADC1_P22_Result_Get (void)
 Reads the converted value from the channel 8 result register. More...
 
INLINE uint16 ADC1_P23_Result_Get (void)
 Reads the converted value from the channel 9 result register. More...
 
INLINE uint16 ADC1_P27_Result_Get (void)
 Reads the converted value from the channel 12 result register. More...
 
INLINE uint16 ADC1_OPA_Result_Get (void)
 Reads the converted value from the channel 13 result register. More...
 
INLINE void ADC1_Ch0_WaitForRead_Set (void)
 Sets the result register channel 0 to "wait for read". More...
 
INLINE void ADC1_Ch0_Overwrite_Set (void)
 Sets the result register channel 0 to "overwrite". More...
 
INLINE void ADC1_Ch1_WaitForRead_Set (void)
 Sets the result register channel 1 to "wait for read". More...
 
INLINE void ADC1_Ch1_Overwrite_Set (void)
 Sets the result register channel 1 to "overwrite". More...
 
INLINE void ADC1_Ch2_WaitForRead_Set (void)
 Sets the result register channel 2 to "wait for read". More...
 
INLINE void ADC1_Ch2_Overwrite_Set (void)
 Sets the result register channel 2 to "overwrite". More...
 
INLINE void ADC1_Ch3_WaitForRead_Set (void)
 Sets the result register channel 3 to "wait for read". More...
 
INLINE void ADC1_Ch3_Overwrite_Set (void)
 Sets the result register channel 3 to "overwrite". More...
 
INLINE void ADC1_Ch4_WaitForRead_Set (void)
 Sets the result register channel 4 to "wait for read". More...
 
INLINE void ADC1_Ch4_Overwrite_Set (void)
 Sets the result register channel 4 to "overwrite". More...
 
INLINE void ADC1_Ch5_WaitForRead_Set (void)
 Sets the result register channel 5 to "wait for read". More...
 
INLINE void ADC1_Ch5_Overwrite_Set (void)
 Sets the result register channel 5 to "overwrite". More...
 
INLINE void ADC1_Ch6_WaitForRead_Set (void)
 Sets the result register channel 6 to "wait for read". More...
 
INLINE void ADC1_Ch6_Overwrite_Set (void)
 Sets the result register channel 6 to "overwrite". More...
 
INLINE void ADC1_Ch7_WaitForRead_Set (void)
 Sets the result register channel 7 to "wait for read". More...
 
INLINE void ADC1_Ch7_Overwrite_Set (void)
 Sets the result register channel 7 to "overwrite". More...
 
INLINE void ADC1_Ch8_WaitForRead_Set (void)
 Sets the result register channel 8 to "wait for read". More...
 
INLINE void ADC1_Ch8_Overwrite_Set (void)
 Sets the result register channel 8 to "overwrite". More...
 
INLINE void ADC1_Ch9_WaitForRead_Set (void)
 Sets the result register channel 9 to "wait for read". More...
 
INLINE void ADC1_Ch9_Overwrite_Set (void)
 Sets the result register channel 9 to "overwrite". More...
 
INLINE void ADC1_Ch12_WaitForRead_Set (void)
 Sets the result register channel 12 to "wait for read". More...
 
INLINE void ADC1_Ch12_Overwrite_Set (void)
 Sets the result register channel 12 to "overwrite". More...
 
INLINE void ADC1_Ch13_WaitForRead_Set (void)
 Sets the result register channel 13 to "wait for read". More...
 
INLINE void ADC1_Ch13_Overwrite_Set (void)
 Sets the result register channel 13 to "overwrite". More...
 
INLINE void ADC1_DU1_WaitForRead_Set (void)
 Sets the result register DU1 to "wait for read". More...
 
INLINE void ADC1_DU1_Overwrite_Set (void)
 Sets the result register DU1 to "overwrite". More...
 
INLINE void ADC1_EIM_En (void)
 Enables Exceptional interrupt measurement (EIM) Trigger Event. More...
 
INLINE void ADC1_EIM_Dis (void)
 Disables Exceptional interrupt measurement (EIM) Trigger Event. More...
 
INLINE void ADC1_ESM_En (void)
 Enables Exceptional Sequence measurement (ESM) Trigger Event. More...
 
INLINE void ADC1_ESM_Dis (void)
 Disables Exceptional Sequence measurement (ESM) Trigger Event. More...
 
INLINE void ADC1_EIM_Channel_Set (uint8 ch)
 Sets EIM channel for measurement. More...
 
INLINE void ADC1_ESM_Channel_Set (uint16 mask_ch)
 Sets channels in ESM sequence. More...
 
INLINE uint8 ADC1_EIM_Channel_Read (void)
 Reads EIM channel for measurement. More...
 
INLINE void ADC1_PP_Ch0_Filt_UpLo_En (void)
 Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 0. More...
 
INLINE void ADC1_PP_Ch1_Filt_UpLo_En (void)
 Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 1. More...
 
INLINE void ADC1_PP_Ch2_Filt_UpLo_En (void)
 Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 2. More...
 
INLINE void ADC1_PP_Ch3_Filt_UpLo_En (void)
 Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 3. More...
 
INLINE void ADC1_PP_Ch4_Filt_UpLo_En (void)
 Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 4. More...
 
INLINE void ADC1_PP_Ch5_Filt_UpLo_En (void)
 Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 5. More...
 
INLINE void ADC1_PP_Ch6_Filt_UpLo_En (void)
 Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 6. More...
 
INLINE void ADC1_PP_Ch7_Filt_UpLo_En (void)
 Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 7. More...
 
INLINE void ADC1_PP_Ch0_Filt_UpLo_Dis (void)
 Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 0. More...
 
INLINE void ADC1_PP_Ch1_Filt_UpLo_Dis (void)
 Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 1. More...
 
INLINE void ADC1_PP_Ch2_Filt_UpLo_Dis (void)
 Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 2. More...
 
INLINE void ADC1_PP_Ch3_Filt_UpLo_Dis (void)
 Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 3. More...
 
INLINE void ADC1_PP_Ch4_Filt_UpLo_Dis (void)
 Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 4. More...
 
INLINE void ADC1_PP_Ch5_Filt_UpLo_Dis (void)
 Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 5. More...
 
INLINE void ADC1_PP_Ch6_Filt_UpLo_Dis (void)
 Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 6. More...
 
INLINE void ADC1_PP_Ch7_Filt_UpLo_Dis (void)
 Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 7. More...
 
INLINE void ADC1_DU1_Lo_Sts_Clr (void)
 Clears ADC1 Differential Unit 1 (DU1) Lower Channel Status. More...
 
INLINE void ADC1_DU1_Up_Sts_Clr (void)
 Clears ADC1 Differential Unit 1 (DU1) Upper Channel Status. More...
 
INLINE void ADC1_DU1_En (void)
 Enables ADC1 Differential Unit 1. More...
 
INLINE void ADC1_DU1_Dis (void)
 Disables ADC1 Differential Unit 1. More...
 
INLINE uint8 ADC1_DU1_Result_Neg_Sts (void)
 Reads the Differential Unit 1 Negative Result Status. More...
 
INLINE void ADC1_PP_Ch0_Mode_Meas_Sel (uint8 mmode)
 Selects ADC1 Post-Processing Channel 0 Measurement Mode. More...
 
INLINE void ADC1_PP_Ch1_Mode_Meas_Sel (uint8 mmode)
 Selects ADC1 Post-Processing Channel 1 Measurement Mode. More...
 
INLINE void ADC1_PP_Ch2_Mode_Meas_Sel (uint8 mmode)
 Selects ADC1 Post-Processing Channel 2 Measurement Mode. More...
 
INLINE void ADC1_PP_Ch3_Mode_Meas_Sel (uint8 mmode)
 Selects ADC1 Post-Processing Channel 3 Measurement Mode. More...
 
INLINE void ADC1_PP_Ch4_Mode_Meas_Sel (uint8 mmode)
 Selects ADC1 Post-Processing Channel 4 Measurement Mode. More...
 
INLINE void ADC1_PP_Ch5_Mode_Meas_Sel (uint8 mmode)
 Selects ADC1 Post-Processing Channel 5 Measurement Mode. More...
 
INLINE void ADC1_PP_Ch6_Mode_Meas_Sel (uint8 mmode)
 Selects ADC1 Post-Processing Channel 6 Measurement Mode. More...
 
INLINE void ADC1_PP_Ch7_Mode_Meas_Sel (uint8 mmode)
 Selects ADC1 Post-Processing Channel 7 Measurement Mode. More...
 
INLINE void ADC1_DU1_Mode_Meas_Sel (uint8 mmode)
 Selects ADC1 Differential Unit 1 Measurement Mode. More...
 
INLINE void ADC1_PP_Ch0_Lo_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 0 Lower Trigger Level. More...
 
INLINE void ADC1_PP_Ch1_Lo_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 1 Lower Trigger Level. More...
 
INLINE void ADC1_PP_Ch2_Lo_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 2 Lower Trigger Level. More...
 
INLINE void ADC1_PP_Ch3_Lo_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 3 Lower Trigger Level. More...
 
INLINE void ADC1_PP_Ch4_Lo_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 4 Lower Trigger Level. More...
 
INLINE void ADC1_PP_Ch5_Lo_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 5 Lower Trigger Level. More...
 
INLINE void ADC1_PP_Ch6_Lo_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 6 Lower Trigger Level. More...
 
INLINE void ADC1_PP_Ch7_Lo_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 7 Lower Trigger Level. More...
 
INLINE void ADC1_DU1_Lo_Th_Set (uint8 trig_val)
 Sets ADC1 Differential Unit 1 Lower Trigger Level. More...
 
INLINE void ADC1_PP_Ch0_Up_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 0 Upper Trigger Level. More...
 
INLINE void ADC1_PP_Ch1_Up_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 1 Upper Trigger Level. More...
 
INLINE void ADC1_PP_Ch2_Up_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 2 Upper Trigger Level. More...
 
INLINE void ADC1_PP_Ch3_Up_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 3 Upper Trigger Level. More...
 
INLINE void ADC1_PP_Ch4_Up_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 4 Upper Trigger Level. More...
 
INLINE void ADC1_PP_Ch5_Up_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 5 Upper Trigger Level. More...
 
INLINE void ADC1_PP_Ch6_Up_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 6 Upper Trigger Level. More...
 
INLINE void ADC1_PP_Ch7_Up_Th_Set (uint8 trig_val)
 Sets ADC1 Post-Processing Channel 7 Upper Trigger Level. More...
 
INLINE void ADC1_DU1_Up_Th_Set (uint8 trig_val)
 Sets ADC1 Differential Unit 1 Upper Trigger Level. More...
 
INLINE void ADC1_PP_Ch0_Lo_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 0 Lower Hysteresis. More...
 
INLINE void ADC1_PP_Ch1_Lo_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 1 Lower Hysteresis. More...
 
INLINE void ADC1_PP_Ch2_Lo_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 2 Lower Hysteresis. More...
 
INLINE void ADC1_PP_Ch3_Lo_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 3 Lower Hysteresis. More...
 
INLINE void ADC1_PP_Ch4_Lo_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 4 Lower Hysteresis. More...
 
INLINE void ADC1_PP_Ch5_Lo_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 5 Lower Hysteresis. More...
 
INLINE void ADC1_PP_Ch6_Lo_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 6 Lower Hysteresis. More...
 
INLINE void ADC1_PP_Ch7_Lo_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 7 Lower Hysteresis. More...
 
INLINE void ADC1_DU1_Lo_Hyst_Set (uint8 hyst)
 Sets ADC1 Differential Unit 1 Lower Hysteresis. More...
 
INLINE void ADC1_PP_Ch0_Up_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 0 Upper Hysteresis. More...
 
INLINE void ADC1_PP_Ch1_Up_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 1 Upper Hysteresis. More...
 
INLINE void ADC1_PP_Ch2_Up_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 2 Upper Hysteresis. More...
 
INLINE void ADC1_PP_Ch3_Up_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 3 Upper Hysteresis. More...
 
INLINE void ADC1_PP_Ch4_Up_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 4 Upper Hysteresis. More...
 
INLINE void ADC1_PP_Ch5_Up_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 5 Upper Hysteresis. More...
 
INLINE void ADC1_PP_Ch6_Up_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 6 Upper Hysteresis. More...
 
INLINE void ADC1_PP_Ch7_Up_Hyst_Set (uint8 hyst)
 Sets ADC1 Post-Processing Channel 7 Upper Hysteresis. More...
 
INLINE void ADC1_DU1_Up_Hyst_Set (uint8 hyst)
 Sets ADC1 Differential Unit 1 Upper Hysteresis. More...
 
INLINE void ADC1_PP_Ch0_Lo_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 0 Lower Timer Trigger. More...
 
INLINE void ADC1_PP_Ch1_Lo_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 1 Lower Timer Trigger. More...
 
INLINE void ADC1_PP_Ch2_Lo_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 2 Lower Timer Trigger. More...
 
INLINE void ADC1_PP_Ch3_Lo_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 3 Lower Timer Trigger. More...
 
INLINE void ADC1_PP_Ch4_Lo_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 4 Lower Timer Trigger. More...
 
INLINE void ADC1_PP_Ch5_Lo_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 5 Lower Timer Trigger. More...
 
INLINE void ADC1_PP_Ch6_Lo_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 6 Lower Timer Trigger. More...
 
INLINE void ADC1_PP_Ch7_Lo_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 7 Lower Timer Trigger. More...
 
INLINE void ADC1_DU1_Lo_Cnt_Set (uint8 cnt)
 Sets ADC1 Differential Unit 1 Lower Timer Trigger. More...
 
INLINE void ADC1_PP_Ch0_Up_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 0 Upper Timer Trigger. More...
 
INLINE void ADC1_PP_Ch1_Up_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 1 Upper Timer Trigger. More...
 
INLINE void ADC1_PP_Ch2_Up_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 2 Upper Timer Trigger. More...
 
INLINE void ADC1_PP_Ch3_Up_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 3 Upper Timer Trigger. More...
 
INLINE void ADC1_PP_Ch4_Up_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 4 Upper Timer Trigger. More...
 
INLINE void ADC1_PP_Ch5_Up_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 5 Upper Timer Trigger. More...
 
INLINE void ADC1_PP_Ch6_Up_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 6 Upper Timer Trigger. More...
 
INLINE void ADC1_PP_Ch7_Up_Cnt_Set (uint8 cnt)
 Sets ADC1 Post-Processing Channel 7 Upper Timer Trigger. More...
 
INLINE void ADC1_DU1_Up_Cnt_Set (uint8 cnt)
 Sets ADC1 Differential Unit 1 Upper Timer Trigger. More...
 
INLINE void ADC1_Ch0_Int_Clr (void)
 Clears ADC1 IIR-Filter-Channel 0 Interrupt flag. More...
 
INLINE void ADC1_Ch1_Int_Clr (void)
 Clears ADC1 IIR-Filter-Channel 1 Interrupt flag. More...
 
INLINE void ADC1_Ch2_Int_Clr (void)
 Clears ADC1 IIR-Filter-Channel 2 Interrupt flag. More...
 
INLINE void ADC1_Ch3_Int_Clr (void)
 Clears ADC1 IIR-Filter-Channel 3 Interrupt flag. More...
 
INLINE void ADC1_Ch4_Int_Clr (void)
 Clears ADC1 IIR-Filter-Channel 4 Interrupt flag. More...
 
INLINE void ADC1_Ch5_Int_Clr (void)
 Clears ADC1 IIR-Filter-Channel 5 Interrupt flag. More...
 
INLINE void ADC1_Ch6_Int_Clr (void)
 Clears ADC1 IIR-Filter-Channel 6 Interrupt flag. More...
 
INLINE void ADC1_Ch7_Int_Clr (void)
 Clears ADC1 IIR-Filter-Channel 7 Interrupt flag. More...
 
INLINE void ADC1_Ch8_Int_Clr (void)
 Clears ADC1 IIR-Filter-Channel 8 Interrupt flag. More...
 
INLINE void ADC1_Ch9_Int_Clr (void)
 Clears ADC1 IIR-Filter-Channel 9 Interrupt flag. More...
 
INLINE void ADC1_Ch12_Int_Clr (void)
 Clears ADC1 IIR-Filter-Channel 12 Interrupt flag. More...
 
INLINE void ADC1_Ch13_Int_Clr (void)
 Clears ADC1 IIR-Filter-Channel 13 Interrupt flag. More...
 
INLINE void ADC1_EIM_Int_Clr (void)
 Clears Exceptional Interrupt Measurement (EIM) flag. More...
 
INLINE void ADC1_ESM_Int_Clr (void)
 Clears Exceptional Sequence Measurement (ESM) flag. More...
 
INLINE void ADC1_DU1UP_Int_Clr (void)
 Clears Differential Unit 1 upper Interrupt flag. More...
 
INLINE void ADC1_DU1LO_Int_Clr (void)
 Clears Differential Unit 1 lower Interrupt flag. More...
 
INLINE void ADC1_Ch0_Int_En (void)
 Enables ADC1 IIR-Filter-Channel 0 Interrupt. More...
 
INLINE void ADC1_Ch0_Int_Dis (void)
 Disables ADC1 IIR-Filter-Channel 0 Interrupt. More...
 
INLINE void ADC1_Ch1_Int_En (void)
 Enables ADC1 IIR-Filter-Channel 1 Interrupt flag. More...
 
INLINE void ADC1_Ch1_Int_Dis (void)
 Disables ADC1 IIR-Filter-Channel 1 Interrupt. More...
 
INLINE void ADC1_Ch2_Int_En (void)
 Enables ADC1 IIR-Filter-Channel 2 Interrupt. More...
 
INLINE void ADC1_Ch2_Int_Dis (void)
 Disables ADC1 IIR-Filter-Channel 2 Interrupt. More...
 
INLINE void ADC1_Ch3_Int_En (void)
 Enables ADC1 IIR-Filter-Channel 3 Interrupt. More...
 
INLINE void ADC1_Ch3_Int_Dis (void)
 Disables ADC1 IIR-Filter-Channel 3 Interrupt. More...
 
INLINE void ADC1_Ch4_Int_En (void)
 Enables ADC1 IIR-Filter-Channel 4 Interrupt. More...
 
INLINE void ADC1_Ch4_Int_Dis (void)
 Disables ADC1 IIR-Filter-Channel 4 Interrupt. More...
 
INLINE void ADC1_Ch5_Int_En (void)
 Enables ADC1 IIR-Filter-Channel 5 Interrupt. More...
 
INLINE void ADC1_Ch5_Int_Dis (void)
 Disables ADC1 IIR-Filter-Channel 5 Interrupt. More...
 
INLINE void ADC1_Ch6_Int_En (void)
 Enables ADC1 IIR-Filter-Channel 6 Interrupt. More...
 
INLINE void ADC1_Ch6_Int_Dis (void)
 Disables ADC1 IIR-Filter-Channel 6 Interrupt. More...
 
INLINE void ADC1_Ch7_Int_En (void)
 Enables ADC1 IIR-Filter-Channel 7 Interrupt. More...
 
INLINE void ADC1_Ch7_Int_Dis (void)
 Disables ADC1 IIR-Filter-Channel 7 Interrupt. More...
 
INLINE void ADC1_Ch8_Int_En (void)
 Enables ADC1 IIR-Filter-Channel 8 Interrupt. More...
 
INLINE void ADC1_Ch8_Int_Dis (void)
 Disables ADC1 IIR-Filter-Channel 8 Interrupt. More...
 
INLINE void ADC1_Ch9_Int_En (void)
 Enables ADC1 IIR-Filter-Channel 9 Interrupt. More...
 
INLINE void ADC1_Ch9_Int_Dis (void)
 Disables ADC1 IIR-Filter-Channel 9 Interrupt. More...
 
INLINE void ADC1_Ch12_Int_En (void)
 Enables ADC1 IIR-Filter-Channel 12 Interrupt. More...
 
INLINE void ADC1_Ch12_Int_Dis (void)
 Disables ADC1 IIR-Filter-Channel 12 Interrupt. More...
 
INLINE void ADC1_Ch13_Int_En (void)
 Enables ADC1 IIR-Filter-Channel 13 Interrupt. More...
 
INLINE void ADC1_Ch13_Int_Dis (void)
 Disables ADC1 IIR-Filter-Channel 13 Interrupt. More...
 
INLINE void ADC1_EIM_Int_En (void)
 Enables Exceptional Interrupt Measurement (EIM). More...
 
INLINE void ADC1_EIM_Int_Dis (void)
 Disables Exceptional Interrupt Measurement (EIM). More...
 
INLINE void ADC1_ESM_Int_En (void)
 Enables Exceptional Sequence Measurement (ESM). More...
 
INLINE void ADC1_ESM_Int_Dis (void)
 Disables Exceptional Sequence Measurement (ESM). More...
 
INLINE void ADC1_DU1UP_Int_En (void)
 Enables Differential Unit 1 upper Interrupt. More...
 
INLINE void ADC1_DU1UP_Int_Dis (void)
 Disables Differential Unit 1 upper Interrupt. More...
 
INLINE void ADC1_DU1LO_Int_En (void)
 Enables Differential Unit 1 lower Interrupt. More...
 
INLINE void ADC1_DU1LO_Int_Dis (void)
 Disables Differential Unit 1 lower Interrupt. More...
 
INLINE void ADC1_PP_Ch0_UP_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch0_LO_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 0 Lower Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch1_UP_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch1_LO_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 1 Lower Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch2_UP_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch2_LO_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 2 Lower Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch3_UP_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 3 Upper Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch3_LO_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 3 Lower Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch4_UP_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch4_LO_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 4 Lower Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch5_UP_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch5_LO_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 5 Lower Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch6_UP_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch6_LO_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 6 Lower Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch7_UP_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch7_LO_Int_Clr (void)
 Clears ADC1 Post-Processing-Channel 7 Lower Threshold Interrupt flag. More...
 
INLINE void ADC1_PP_Ch0_UP_Int_En (void)
 Enables ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch0_UP_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch0_LO_Int_En (void)
 Enables ADC1 Post-Processing-Channel 0 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch0_LO_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 0 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch1_UP_Int_En (void)
 Enables ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch1_UP_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch1_LO_Int_En (void)
 Enables ADC1 Post-Processing-Channel 1 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch1_LO_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 1 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch2_UP_Int_En (void)
 Enables ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch2_UP_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch2_LO_Int_En (void)
 Enables ADC1 Post-Processing-Channel 2 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch2_LO_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 2 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch3_UP_Int_En (void)
 Enables ADC1 Post-Processing-Channel 3 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch3_UP_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 3 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch3_LO_Int_En (void)
 Enables ADC1 Post-Processing-Channel 3 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch3_LO_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 3 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch4_UP_Int_En (void)
 Enables ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch4_UP_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch4_LO_Int_En (void)
 Enables ADC1 Post-Processing-Channel 4 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch4_LO_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 4 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch5_UP_Int_En (void)
 Enables ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch5_UP_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch5_LO_Int_En (void)
 Enables ADC1 Post-Processing-Channel 5 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch5_LO_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 5 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch6_UP_Int_En (void)
 Enables ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch6_UP_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch6_LO_Int_En (void)
 Enables ADC1 Post-Processing-Channel 6 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch6_LO_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 6 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch7_UP_Int_En (void)
 Enables ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch7_UP_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch7_LO_Int_En (void)
 Enables ADC1 Post-Processing-Channel 7 Lower Threshold Interrupt. More...
 
INLINE void ADC1_PP_Ch7_LO_Int_Dis (void)
 Disables ADC1 Post-Processing-Channel 7 Lower Threshold Interrupt. More...
 
INLINE void ADC1_Offset_Calib_Set (uint8 value)
 Sets the Value of the Offset Calibration. More...
 
INLINE void ADC1_Offset_Shift_Set (uint8 value)
 Sets the Value of the Offset Shift. More...
 
INLINE void ADC1_Sig_Del_feed_Loop_En (void)
 Enables Sigma Delta Feedback Loop. More...
 
INLINE void ADC1_Soc_Clk_Jitter_Set (uint8 clk)
 Sets Soc Clock Jitter. More...
 
INLINE void ADC1_SetEIMChannel (uint8 channel)
 Sets ADC1 EIM channel. More...
 
INLINE void ADC1_SetSwMode_Channel (uint8 channel)
 Selects a channel for the software conversion. More...
 
INLINE void ADC1_SetSosSwMode (uint8 channel)
 Starts ADC1 Software Mode conversion. More...
 
INLINE bool ADC1_GetEocSwMode (void)
 Gets ADC1 Software Mode End Of Conversion Status. More...
 
INLINE void ADC1_EIM_Trigger_Select (TADC1_TRIGG_SEL trigsel)
 Selects ADC1 EIM Trigger. More...
 
INLINE void ADC1_EIM_Repeat_Counter_Set (TADC1_EIM_REP_CNT repcnt)
 Sets ADC1 EIM Repeat Counter. More...
 
INLINE void ADC1_ESM_Trigger_Select (TADC1_TRIGG_SEL trigsel)
 Sets ADC1 ESM Trigger Selection. More...
 
INLINE bool ADC1_isEndOfConversion (void)
 Checks EndOfConversion ready (Software Mode) More...
 
INLINE bool ADC1_isEIMactive (void)
 Checks Exceptional Interrupt Mode active. More...
 
INLINE bool ADC1_isESMactive (void)
 Checks Exceptional Sequencer Mode active. More...
 

Macro Definition Documentation

◆ ADC1_CH0

#define ADC1_CH0   (0)

ADC1 channel selection macro, channel 0 - VBAT_SENSE.

◆ ADC1_CH1

#define ADC1_CH1   (1)

ADC1 channel selection macro, channel 1 - VS.

◆ ADC1_CH12

#define ADC1_CH12   (12)

ADC1 channel selection macro, channel 12 - P2.7.

◆ ADC1_CH13

#define ADC1_CH13   (13)

ADC1 channel selection macro, channel 13 - CSA.

◆ ADC1_CH2

#define ADC1_CH2   (2)

ADC1 channel selection macro, channel 2 - MON1.

◆ ADC1_CH3

#define ADC1_CH3   (3)

ADC1 channel selection macro, channel 3 - MON2.

◆ ADC1_CH4

#define ADC1_CH4   (4)

ADC1 channel selection macro, channel 4 - MON3.

◆ ADC1_CH5

#define ADC1_CH5   (5)

ADC1 channel selection macro, channel 5 - MON4.

◆ ADC1_CH6

#define ADC1_CH6   (6)

ADC1 channel selection macro, channel 6 - P2.0.

◆ ADC1_CH7

#define ADC1_CH7   (7)

ADC1 channel selection macro, channel 7 - P2.1.

◆ ADC1_CH8

#define ADC1_CH8   (8)

ADC1 channel selection macro, channel 8 - P2.2.

◆ ADC1_CH9

#define ADC1_CH9   (9)

ADC1 channel selection macro, channel 9 - P2.3.

◆ ADC1_CNT_1

#define ADC1_CNT_1   (0u)

ADC1 Lower Counter Trigger Level macro, 1 Measurement.

◆ ADC1_CNT_2

#define ADC1_CNT_2   (1u)

ADC1 Lower Counter Trigger Level macro, 2 Measurements.

◆ ADC1_CNT_4

#define ADC1_CNT_4   (2u)

ADC1 Lower Counter Trigger Level macro, 4 Measurements.

◆ ADC1_CNT_7

#define ADC1_CNT_7   (3u)

ADC1 Lower Counter Trigger Level macro, 7 Measurements.

◆ ADC1_HYST_16

#define ADC1_HYST_16   (3u)

ADC1 Lower Hysteresis Trigger Level macro, HYST 16.

◆ ADC1_HYST_4

#define ADC1_HYST_4   (1u)

ADC1 Lower Hysteresis Trigger Level macro, HYST 4.

◆ ADC1_HYST_8

#define ADC1_HYST_8   (2u)

ADC1 Lower Hysteresis Trigger Level macro, HYST 8.

◆ ADC1_HYST_OFF

#define ADC1_HYST_OFF   (0u)

ADC1 Lower Hysteresis Trigger Level macro, HYST OFF.

◆ ADC1_MASK_CH0

#define ADC1_MASK_CH0   (1u << 0u)

ADC1 Sequencer/ESM channel selection macro, channel 0 - VBAT_SENSE.

◆ ADC1_MASK_CH1

#define ADC1_MASK_CH1   (1u << 1u)

ADC1 Sequencer/ESM channel selection macro, channel 1 - VS.

◆ ADC1_MASK_CH12

#define ADC1_MASK_CH12   (1u << 12u)

ADC1 Sequencer/ESM channel selection macro, channel 12 - P2.7.

◆ ADC1_MASK_CH13

#define ADC1_MASK_CH13   (1u << 13u)

ADC1 Sequencer/ESM channel selection macro, channel 13 - CSA.

◆ ADC1_MASK_CH2

#define ADC1_MASK_CH2   (1u << 2u)

ADC1 Sequencer/ESM channel selection macro, channel 2 - MON1.

◆ ADC1_MASK_CH3

#define ADC1_MASK_CH3   (1u << 3u)

ADC1 Sequencer/ESM channel selection macro, channel 3 - MON2.

◆ ADC1_MASK_CH4

#define ADC1_MASK_CH4   (1u << 4u)

ADC1 Sequencer/ESM channel selection macro, channel 4 - MON3.

◆ ADC1_MASK_CH5

#define ADC1_MASK_CH5   (1u << 5u)

ADC1 Sequencer/ESM channel selection macro, channel 5 - MON4.

◆ ADC1_MASK_CH6

#define ADC1_MASK_CH6   (1u << 6u)

ADC1 Sequencer/ESM channel selection macro, channel 6 - P2.0.

◆ ADC1_MASK_CH7

#define ADC1_MASK_CH7   (1u << 7u)

ADC1 Sequencer/ESM channel selection macro, channel 7 - P2.1.

◆ ADC1_MASK_CH8

#define ADC1_MASK_CH8   (1u << 8u)

ADC1 Sequencer/ESM channel selection macro, channel 8 - P2.2.

◆ ADC1_MASK_CH9

#define ADC1_MASK_CH9   (1u << 9u)

ADC1 Sequencer/ESM channel selection macro, channel 9 - P2.3.

◆ ADC1_MASK_MON1

#define ADC1_MASK_MON1   (ADC1_MASK_CH2)

ADC1 Sequencer/ESM channel selection macro, channel 2 - MON1.

◆ ADC1_MASK_MON2

#define ADC1_MASK_MON2   (ADC1_MASK_CH3)

ADC1 Sequencer/ESM channel selection macro, channel 3 - MON2.

◆ ADC1_MASK_MON3

#define ADC1_MASK_MON3   (ADC1_MASK_CH4)

ADC1 Sequencer/ESM channel selection macro, channel 4 - MON3.

◆ ADC1_MASK_MON4

#define ADC1_MASK_MON4   (ADC1_MASK_CH5)

ADC1 Sequencer/ESM channel selection macro, channel 5 - MON4.

◆ ADC1_MASK_OPA

#define ADC1_MASK_OPA   (ADC1_MASK_CH13)

ADC1 Sequencer/ESM channel selection macro, channel 13 - CSA.

◆ ADC1_MASK_P20

#define ADC1_MASK_P20   (ADC1_MASK_CH6)

ADC1 Sequencer/ESM channel selection macro, channel 6 - P2.0.

◆ ADC1_MASK_P21

#define ADC1_MASK_P21   (ADC1_MASK_CH7)

ADC1 Sequencer/ESM channel selection macro, channel 7 - P2.1.

◆ ADC1_MASK_P22

#define ADC1_MASK_P22   (ADC1_MASK_CH8)

ADC1 Sequencer/ESM channel selection macro, channel 8 - P2.2.

◆ ADC1_MASK_P23

#define ADC1_MASK_P23   (ADC1_MASK_CH9)

ADC1 Sequencer/ESM channel selection macro, channel 9 - P2.3.

◆ ADC1_MASK_P27

#define ADC1_MASK_P27   (ADC1_MASK_CH12)

ADC1 Sequencer/ESM channel selection macro, channel 12 - P2.7.

◆ ADC1_MASK_VBAT_SENSE

#define ADC1_MASK_VBAT_SENSE   (ADC1_MASK_CH0)

ADC1 Sequencer/ESM channel selection macro, channel 0 - VBAT_SENSE.

◆ ADC1_MASK_VS

#define ADC1_MASK_VS   (ADC1_MASK_CH1)

ADC1 Sequencer/ESM channel selection macro, channel 1 - VS.

◆ ADC1_MMODE_0

#define ADC1_MMODE_0   0u

ADC1 Overvoltage Measurement Mode macro, upper and lower voltage limit measurement.

◆ ADC1_MMODE_OV

#define ADC1_MMODE_OV   2u

ADC1 Overvoltage Measurement Mode macro, overvoltage limit measurement.

◆ ADC1_MMODE_UV

#define ADC1_MMODE_UV   1u

ADC1 Overvoltage Measurement Mode macro, undervoltage limit measurement.

◆ ADC1_MON1

#define ADC1_MON1   ADC1_CH2

ADC1 channel selection macro, channel 2 - MON1.

◆ ADC1_MON2

#define ADC1_MON2   ADC1_CH3

ADC1 channel selection macro, channel 3 - MON2.

◆ ADC1_MON3

#define ADC1_MON3   ADC1_CH4

ADC1 channel selection macro, channel 4 - MON3.

◆ ADC1_MON4

#define ADC1_MON4   ADC1_CH5

ADC1 channel selection macro, channel 5 - MON4.

◆ ADC1_OPA

#define ADC1_OPA   ADC1_CH13

ADC1 channel selection macro, channel 13 - CSA.

◆ ADC1_P20

#define ADC1_P20   ADC1_CH6

ADC1 channel selection macro, channel 6 - P2.0.

◆ ADC1_P21

#define ADC1_P21   ADC1_CH7

ADC1 channel selection macro, channel 7 - P2.1.

◆ ADC1_P22

#define ADC1_P22   ADC1_CH8

ADC1 channel selection macro, channel 8 - P2.2.

◆ ADC1_P23

#define ADC1_P23   ADC1_CH9

ADC1 channel selection macro, channel 9 - P2.3.

◆ ADC1_P27

#define ADC1_P27   ADC1_CH12

ADC1 channel selection macro, channel 12 - P2.7.

◆ ADC1_Soc_Clk_Jitter_0

#define ADC1_Soc_Clk_Jitter_0   (0u)

ADC1 Soc Clock Jitter Status macro, 0n.

◆ ADC1_Soc_Clk_Jitter_3_5

#define ADC1_Soc_Clk_Jitter_3_5   (1u)

ADC1 Soc Clock Jitter Status macro, 3.5n.

◆ ADC1_Soc_Clk_Jitter_5_5

#define ADC1_Soc_Clk_Jitter_5_5   (2u)

ADC1 Soc Clock Jitter Status macro, 5.5n.

◆ ADC1_Soc_Clk_Jitter_8

#define ADC1_Soc_Clk_Jitter_8   (3u)

ADC1 Soc Clock Jitter Status macro, 8n.

◆ ADC1_VBAT_SENSE

#define ADC1_VBAT_SENSE   ADC1_CH0

ADC1 channel selection macro, channel 0 - VBAT_SENSE.

◆ ADC1_VREF

#define ADC1_VREF   1.21

ADC1 reference voltage 1.21V.

◆ ADC1_VS

#define ADC1_VS   ADC1_CH1

ADC1 channel selection macro, channel 1 - VS.

◆ OVERWRITE

#define OVERWRITE   0u

ADC1 Result Register macro, Overwrite Mode.

◆ SEQ_Mode

#define SEQ_Mode   0u

Mode Selection macro, Sequencer Mode.

◆ SW_Mode

#define SW_Mode   1u

ADC1 Mode Selection macro, Software Mode.

◆ WFR

#define WFR   1u

ADC1 Result Register macro, Wait For Read Mode.

Enumeration Type Documentation

◆ TADC1_EIM_REP_CNT

This enum lists the EIM repeat count setting options.

The number of measurements to be done until EIM interrupt is requested.

Enumerator
ADC1_1_Meas 

EIM irq every measurement

ADC1_2_Meas 

EIM irq every 2nd measurement

ADC1_4_Meas 

EIM irq every 4th measurement

ADC1_8_Meas 

EIM irq every 8th measurement

ADC1_16_Meas 

EIM irq every 16th measurement

ADC1_32_Meas 

EIM irq every 32nd measurement

ADC1_64_Meas 

EIM irq every 64th measurement

ADC1_128_Meas 

EIM irq every 128th measurement

◆ TADC1_TRIGG_SEL

This enum lists the trigger select options for EIM and ESM.

Enumerator
ADC1_Trigg_None 

no trigger source connected

ADC1_Trigg_CCU6_Ch3 

CCU6 Channel 3 (COUT63), rising edge

ADC1_Trigg_GPT12E_T6 

GPT12E Timer6, T6OUT

ADC1_Trigg_GPT12E_T3 

GPT12E Timer6, T3OUT

ADC1_Trigg_Timer2 

Timer2 output

ADC1_Trigg_Timer21 

Timer21 output

Function Documentation

◆ ADC1_Ch0_Int_Clr()

INLINE void ADC1_Ch0_Int_Clr ( void  )

Clears ADC1 IIR-Filter-Channel 0 Interrupt flag.

Example

This example treats the ADC1 IIR-Filter-Channel 0 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH0_IS == 1u)
{
ADC1_CH0_CALLBACK();
}
}
INLINE void ADC1_Ch0_Int_En(void)
Enables ADC1 IIR-Filter-Channel 0 Interrupt.
Definition: adc1.h:6997
INLINE void ADC1_Ch0_Int_Clr(void)
Clears ADC1 IIR-Filter-Channel 0 Interrupt flag.
Definition: adc1.h:6917
#define ADC1
Definition: tle985x.h:6265

◆ ADC1_Ch0_Int_Dis()

INLINE void ADC1_Ch0_Int_Dis ( void  )

Disables ADC1 IIR-Filter-Channel 0 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 0 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH0_IS == 1u)
{
ADC1_CH0_CALLBACK();
}
}
INLINE void ADC1_Ch0_Int_Dis(void)
Disables ADC1 IIR-Filter-Channel 0 Interrupt.
Definition: adc1.h:7002

◆ ADC1_Ch0_Int_En()

INLINE void ADC1_Ch0_Int_En ( void  )

Enables ADC1 IIR-Filter-Channel 0 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 0 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH0_IS == 1u)
{
ADC1_CH0_CALLBACK();
}
}

◆ ADC1_Ch0_Overwrite_Set()

INLINE void ADC1_Ch0_Overwrite_Set ( void  )

Sets the result register channel 0 to "overwrite".

Note
A valid result will be overwritten by a subsequent conversion, a previous unread conversion is lost.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 0 (VBAT_SENSE) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(0) == 1u)
{
}
}
INLINE void ADC1_Power_On(void)
Enables the ADC1 module.
Definition: adc1.h:6042
INLINE void ADC1_Sequence0_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 0, only valid in Sequencer Mode, see ADC1_Sequencer_M...
Definition: adc1.h:6132
uint8 ADC1_GetChResValid(uint8 channel)
Gets the 10-bit value of the ADC1 Result Register of the selected ADC1 channel and returns the validi...
#define ADC1_MASK_VBAT_SENSE
ADC1 Sequencer/ESM channel selection macro, channel 0 - VBAT_SENSE.
Definition: adc1.h:175
INLINE void ADC1_Sequencer_Mode_Sel(void)
Selects ADC1 Sequencer Mode.
Definition: adc1.h:6082
INLINE void ADC1_Ch0_Overwrite_Set(void)
Sets the result register channel 0 to "overwrite".
Definition: adc1.h:6337
INLINE uint16 ADC1_VBAT_SENSE_Result_Get(void)
Reads the converted value from the channel 0 result register.
Definition: adc1.h:6272
uint16_t uint16
16 bit unsigned value
Definition: types.h:154

◆ ADC1_Ch0_Result_Get()

INLINE uint16 ADC1_Ch0_Result_Get ( void  )

Reads the converted value from the channel 0 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 0 (VBAT_SENSE) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(0) == 1u)
{
adc_result = ADC1_Ch0_Result_Get();
}
}
INLINE uint16 ADC1_Ch0_Result_Get(void)
Reads the converted value from the channel 0 result register.
Definition: adc1.h:6202
#define ADC1_VBAT_SENSE
ADC1 channel selection macro, channel 0 - VBAT_SENSE.
Definition: adc1.h:125

◆ ADC1_Ch0_WaitForRead_Set()

INLINE void ADC1_Ch0_WaitForRead_Set ( void  )

Sets the result register channel 0 to "wait for read".

Note
A valid result will not be overwritten by a subsequent conversion until the result is read.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 0 (VBAT_SENSE) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(0) == 1u)
{
}
}
INLINE void ADC1_Ch0_WaitForRead_Set(void)
Sets the result register channel 0 to "wait for read".
Definition: adc1.h:6332

◆ ADC1_Ch12_Int_Clr()

INLINE void ADC1_Ch12_Int_Clr ( void  )

Clears ADC1 IIR-Filter-Channel 12 Interrupt flag.

Example

This example treats the ADC1 IIR-Filter-Channel 12 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH12_IS == 1u)
{
ADC1_CH12_CALLBACK();
}
}
INLINE void ADC1_Ch12_Int_En(void)
Enables ADC1 IIR-Filter-Channel 12 Interrupt.
Definition: adc1.h:7097
INLINE void ADC1_Ch12_Int_Clr(void)
Clears ADC1 IIR-Filter-Channel 12 Interrupt flag.
Definition: adc1.h:6967

◆ ADC1_Ch12_Int_Dis()

INLINE void ADC1_Ch12_Int_Dis ( void  )

Disables ADC1 IIR-Filter-Channel 12 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 12 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH12_IS == 1u)
{
ADC1_CH12_CALLBACK();
}
}
INLINE void ADC1_Ch12_Int_Dis(void)
Disables ADC1 IIR-Filter-Channel 12 Interrupt.
Definition: adc1.h:7102

◆ ADC1_Ch12_Int_En()

INLINE void ADC1_Ch12_Int_En ( void  )

Enables ADC1 IIR-Filter-Channel 12 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 12 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH12_IS == 1u)
{
ADC1_CH12_CALLBACK();
}
}

◆ ADC1_Ch12_Overwrite_Set()

INLINE void ADC1_Ch12_Overwrite_Set ( void  )

Sets the result register channel 12 to "overwrite".

Note
A valid result will be overwritten by a subsequent conversion, a previous unread conversion is lost.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 12 (P2.7) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(12) == 1u)
{
adc_result = ADC1_P27_Result_Get();
}
}
#define ADC1_MASK_P27
ADC1 Sequencer/ESM channel selection macro, channel 12 - P2.7.
Definition: adc1.h:195
INLINE void ADC1_Ch12_Overwrite_Set(void)
Sets the result register channel 12 to "overwrite".
Definition: adc1.h:6437
INLINE uint16 ADC1_P27_Result_Get(void)
Reads the converted value from the channel 12 result register.
Definition: adc1.h:6322

◆ ADC1_Ch12_Result_Get()

INLINE uint16 ADC1_Ch12_Result_Get ( void  )

Reads the converted value from the channel 12 (P2.7) result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 12 (P2.7) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(12) == 1u)
{
adc_result = ADC1_Ch12_Result_Get();
}
}
INLINE uint16 ADC1_Ch12_Result_Get(void)
Reads the converted value from the channel 12 (P2.7) result register.
Definition: adc1.h:6252

◆ ADC1_Ch12_WaitForRead_Set()

INLINE void ADC1_Ch12_WaitForRead_Set ( void  )

Sets the result register channel 12 to "wait for read".

Note
A valid result will not be overwritten by a subsequent conversion until the result is read.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 12 (P2.7) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(12) == 1u)
{
adc_result = ADC1_P27_Result_Get();
}
}
INLINE void ADC1_Ch12_WaitForRead_Set(void)
Sets the result register channel 12 to "wait for read".
Definition: adc1.h:6432

◆ ADC1_Ch13_Int_Clr()

INLINE void ADC1_Ch13_Int_Clr ( void  )

Clears ADC1 IIR-Filter-Channel 13 Interrupt flag.

Example

This example treats the ADC1 IIR-Filter-Channel 13 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH13_IS == 1u)
{
ADC1_CH13_CALLBACK();
}
}
INLINE void ADC1_Ch13_Int_Clr(void)
Clears ADC1 IIR-Filter-Channel 13 Interrupt flag.
Definition: adc1.h:6972
INLINE void ADC1_Ch13_Int_En(void)
Enables ADC1 IIR-Filter-Channel 13 Interrupt.
Definition: adc1.h:7107

◆ ADC1_Ch13_Int_Dis()

INLINE void ADC1_Ch13_Int_Dis ( void  )

Disables ADC1 IIR-Filter-Channel 13 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 13 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH13_IS == 1u)
{
ADC1_CH13_CALLBACK();
}
}
INLINE void ADC1_Ch13_Int_Dis(void)
Disables ADC1 IIR-Filter-Channel 13 Interrupt.
Definition: adc1.h:7112

◆ ADC1_Ch13_Int_En()

INLINE void ADC1_Ch13_Int_En ( void  )

Enables ADC1 IIR-Filter-Channel 13 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 13 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH13_IS == 1u)
{
ADC1_CH13_CALLBACK();
}
}

◆ ADC1_Ch13_Overwrite_Set()

INLINE void ADC1_Ch13_Overwrite_Set ( void  )

Sets the result register channel 13 to "overwrite".

Note
A valid result will be overwritten by a subsequent conversion, a previous unread conversion is lost.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 13 (CSA) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(13) == 1u)
{
adc_result = ADC1_OPA_Result_Get();
}
}
INLINE void ADC1_Ch13_Overwrite_Set(void)
Sets the result register channel 13 to "overwrite".
Definition: adc1.h:6447
#define ADC1_MASK_OPA
ADC1 Sequencer/ESM channel selection macro, channel 13 - CSA.
Definition: adc1.h:197
INLINE uint16 ADC1_OPA_Result_Get(void)
Reads the converted value from the channel 13 result register.
Definition: adc1.h:6327

◆ ADC1_Ch13_Result_Get()

INLINE uint16 ADC1_Ch13_Result_Get ( void  )

Reads the converted value from the channel 13 (CSA) result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 13 (CSA) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(13) == 1u)
{
adc_result = ADC1_Ch13_Result_Get();
}
}
INLINE uint16 ADC1_Ch13_Result_Get(void)
Reads the converted value from the channel 13 (CSA) result register.
Definition: adc1.h:6257

◆ ADC1_Ch13_WaitForRead_Set()

INLINE void ADC1_Ch13_WaitForRead_Set ( void  )

Sets the result register channel 13 to "wait for read".

Note
A valid result will not be overwritten by a subsequent conversion until the result is read.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 13 (CSA) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(13) == 1u)
{
adc_result = ADC1_OPA_Result_Get();
}
}
INLINE void ADC1_Ch13_WaitForRead_Set(void)
Sets the result register channel 13 to "wait for read".
Definition: adc1.h:6442

◆ ADC1_Ch1_Int_Clr()

INLINE void ADC1_Ch1_Int_Clr ( void  )

Clears ADC1 IIR-Filter-Channel 1 Interrupt flag.

Example

This example treats the ADC1 IIR-Filter-Channel 1 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.VS_IS == 1u)
{
ADC1_CH1_CALLBACK();
}
}
INLINE void ADC1_Ch1_Int_Clr(void)
Clears ADC1 IIR-Filter-Channel 1 Interrupt flag.
Definition: adc1.h:6922
INLINE void ADC1_Ch1_Int_En(void)
Enables ADC1 IIR-Filter-Channel 1 Interrupt flag.
Definition: adc1.h:7007

◆ ADC1_Ch1_Int_Dis()

INLINE void ADC1_Ch1_Int_Dis ( void  )

Disables ADC1 IIR-Filter-Channel 1 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 1 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.VS_IS == 1u)
{
ADC1_CH1_CALLBACK();
}
}
INLINE void ADC1_Ch1_Int_Dis(void)
Disables ADC1 IIR-Filter-Channel 1 Interrupt.
Definition: adc1.h:7012

◆ ADC1_Ch1_Int_En()

INLINE void ADC1_Ch1_Int_En ( void  )

Enables ADC1 IIR-Filter-Channel 1 Interrupt flag.

Example

This example treats the ADC1 IIR-Filter-Channel 1 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.VS_IS == 1u)
{
ADC1_CH1_CALLBACK();
}
}

◆ ADC1_Ch1_Overwrite_Set()

INLINE void ADC1_Ch1_Overwrite_Set ( void  )

Sets the result register channel 1 to "overwrite".

Note
A valid result will be overwritten by a subsequent conversion, a previous unread conversion is lost.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 1 (VS) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(1) == 1u)
{
adc_result = ADC1_VS_Result_Get();
}
}
INLINE void ADC1_Ch1_Overwrite_Set(void)
Sets the result register channel 1 to "overwrite".
Definition: adc1.h:6347
#define ADC1_MASK_VS
ADC1 Sequencer/ESM channel selection macro, channel 1 - VS.
Definition: adc1.h:177
INLINE uint16 ADC1_VS_Result_Get(void)
Reads the converted value from the channel 1 result register.
Definition: adc1.h:6277

◆ ADC1_Ch1_Result_Get()

INLINE uint16 ADC1_Ch1_Result_Get ( void  )

Reads the converted value from the channel 1 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 1 (VS) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(1) == 1u)
{
adc_result = ADC1_Ch1_Result_Get();
}
}
INLINE uint16 ADC1_Ch1_Result_Get(void)
Reads the converted value from the channel 1 result register.
Definition: adc1.h:6207

◆ ADC1_Ch1_WaitForRead_Set()

INLINE void ADC1_Ch1_WaitForRead_Set ( void  )

Sets the result register channel 1 to "wait for read".

Note
A valid result will not be overwritten by a subsequent conversion until the result is read.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 1 (VS) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(1) == 1u)
{
adc_result = ADC1_VS_Result_Get();
}
}
INLINE void ADC1_Ch1_WaitForRead_Set(void)
Sets the result register channel 1 to "wait for read".
Definition: adc1.h:6342

◆ ADC1_Ch2_Int_Clr()

INLINE void ADC1_Ch2_Int_Clr ( void  )

Clears ADC1 IIR-Filter-Channel 2 Interrupt flag.

Example

This example treats the ADC1 IIR-Filter-Channel 2 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH2_IS == 1u)
{
ADC1_CH2_CALLBACK();
}
}
INLINE void ADC1_Ch2_Int_En(void)
Enables ADC1 IIR-Filter-Channel 2 Interrupt.
Definition: adc1.h:7017
INLINE void ADC1_Ch2_Int_Clr(void)
Clears ADC1 IIR-Filter-Channel 2 Interrupt flag.
Definition: adc1.h:6927

◆ ADC1_Ch2_Int_Dis()

INLINE void ADC1_Ch2_Int_Dis ( void  )

Disables ADC1 IIR-Filter-Channel 2 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 2 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH2_IS == 1u)
{
ADC1_CH2_CALLBACK();
}
}
INLINE void ADC1_Ch2_Int_Dis(void)
Disables ADC1 IIR-Filter-Channel 2 Interrupt.
Definition: adc1.h:7022

◆ ADC1_Ch2_Int_En()

INLINE void ADC1_Ch2_Int_En ( void  )

Enables ADC1 IIR-Filter-Channel 2 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 2 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH2_IS == 1u)
{
ADC1_CH2_CALLBACK();
}
}

◆ ADC1_Ch2_Overwrite_Set()

INLINE void ADC1_Ch2_Overwrite_Set ( void  )

Sets the result register channel 2 to "overwrite".

Note
A valid result will be overwritten by a subsequent conversion, a previous unread conversion is lost.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(2) == 1u)
{
adc_result = ADC1_MON1_Result_Get();
}
}
INLINE uint16 ADC1_MON1_Result_Get(void)
Reads the converted value from the channel 2 result register.
Definition: adc1.h:6282
#define ADC1_MASK_MON1
ADC1 Sequencer/ESM channel selection macro, channel 2 - MON1.
Definition: adc1.h:179
INLINE void ADC1_Ch2_Overwrite_Set(void)
Sets the result register channel 2 to "overwrite".
Definition: adc1.h:6357

◆ ADC1_Ch2_Result_Get()

INLINE uint16 ADC1_Ch2_Result_Get ( void  )

Reads the converted value from the channel 2 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(2) == 1u)
{
adc_result = ADC1_Ch2_Result_Get();
}
}
INLINE uint16 ADC1_Ch2_Result_Get(void)
Reads the converted value from the channel 2 result register.
Definition: adc1.h:6212

◆ ADC1_Ch2_WaitForRead_Set()

INLINE void ADC1_Ch2_WaitForRead_Set ( void  )

Sets the result register channel 2 to "wait for read".

Note
A valid result will not be overwritten by a subsequent conversion until the result is read.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(2) == 1u)
{
adc_result = ADC1_MON1_Result_Get();
}
}
INLINE void ADC1_Ch2_WaitForRead_Set(void)
Sets the result register channel 2 to "wait for read".
Definition: adc1.h:6352

◆ ADC1_Ch3_Int_Clr()

INLINE void ADC1_Ch3_Int_Clr ( void  )

Clears ADC1 IIR-Filter-Channel 3 Interrupt flag.

Example

This example treats the ADC1 IIR-Filter-Channel 3 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH3_IS == 1u)
{
ADC1_CH3_CALLBACK();
}
}
INLINE void ADC1_Ch3_Int_En(void)
Enables ADC1 IIR-Filter-Channel 3 Interrupt.
Definition: adc1.h:7027
INLINE void ADC1_Ch3_Int_Clr(void)
Clears ADC1 IIR-Filter-Channel 3 Interrupt flag.
Definition: adc1.h:6932

◆ ADC1_Ch3_Int_Dis()

INLINE void ADC1_Ch3_Int_Dis ( void  )

Disables ADC1 IIR-Filter-Channel 3 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 3 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH3_IS == 1u)
{
ADC1_CH3_CALLBACK();
}
}

◆ ADC1_Ch3_Int_En()

INLINE void ADC1_Ch3_Int_En ( void  )

Enables ADC1 IIR-Filter-Channel 3 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 3 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH3_IS == 1u)
{
ADC1_CH3_CALLBACK();
}
}

◆ ADC1_Ch3_Overwrite_Set()

INLINE void ADC1_Ch3_Overwrite_Set ( void  )

Sets the result register channel 3 to "overwrite".

Note
A valid result will be overwritten by a subsequent conversion, a previous unread conversion is lost.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(3) == 1u)
{
adc_result = ADC1_MON2_Result_Get();
}
}
INLINE uint16 ADC1_MON2_Result_Get(void)
Reads the converted value from the channel 3 result register.
Definition: adc1.h:6287
#define ADC1_MASK_MON2
ADC1 Sequencer/ESM channel selection macro, channel 3 - MON2.
Definition: adc1.h:181
INLINE void ADC1_Ch3_Overwrite_Set(void)
Sets the result register channel 3 to "overwrite".
Definition: adc1.h:6367

◆ ADC1_Ch3_Result_Get()

INLINE uint16 ADC1_Ch3_Result_Get ( void  )

Reads the converted value from the channel 3 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(3) == 1u)
{
adc_result = ADC1_Ch3_Result_Get();
}
}
INLINE uint16 ADC1_Ch3_Result_Get(void)
Reads the converted value from the channel 3 result register.
Definition: adc1.h:6217

◆ ADC1_Ch3_WaitForRead_Set()

INLINE void ADC1_Ch3_WaitForRead_Set ( void  )

Sets the result register channel 3 to "wait for read".

Note
A valid result will not be overwritten by a subsequent conversion until the result is read.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(3) == 1u)
{
adc_result = ADC1_MON2_Result_Get();
}
}
INLINE void ADC1_Ch3_WaitForRead_Set(void)
Sets the result register channel 3 to "wait for read".
Definition: adc1.h:6362

◆ ADC1_Ch4_Int_Clr()

INLINE void ADC1_Ch4_Int_Clr ( void  )

Clears ADC1 IIR-Filter-Channel 4 Interrupt flag.

Example

This example treats the ADC1 IIR-Filter-Channel 4 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH4_IS == 1u)
{
ADC1_CH4_CALLBACK();
}
}
INLINE void ADC1_Ch4_Int_Clr(void)
Clears ADC1 IIR-Filter-Channel 4 Interrupt flag.
Definition: adc1.h:6937
INLINE void ADC1_Ch4_Int_En(void)
Enables ADC1 IIR-Filter-Channel 4 Interrupt.
Definition: adc1.h:7037

◆ ADC1_Ch4_Int_Dis()

INLINE void ADC1_Ch4_Int_Dis ( void  )

Disables ADC1 IIR-Filter-Channel 4 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 4 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH4_IS == 1u)
{
ADC1_CH4_CALLBACK();
}
}
INLINE void ADC1_Ch4_Int_Dis(void)
Disables ADC1 IIR-Filter-Channel 4 Interrupt.
Definition: adc1.h:7042

◆ ADC1_Ch4_Int_En()

INLINE void ADC1_Ch4_Int_En ( void  )

Enables ADC1 IIR-Filter-Channel 4 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 4 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH4_IS == 1u)
{
ADC1_CH4_CALLBACK();
}
}

◆ ADC1_Ch4_Overwrite_Set()

INLINE void ADC1_Ch4_Overwrite_Set ( void  )

Sets the result register channel 4 to "overwrite".

Note
A valid result will be overwritten by a subsequent conversion, a previous unread conversion is lost.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 4 (MON3) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(4) == 1u)
{
adc_result = ADC1_MON3_Result_Get();
}
}
INLINE uint16 ADC1_MON3_Result_Get(void)
Reads the converted value from the channel 4 result register.
Definition: adc1.h:6292
INLINE void ADC1_Ch4_Overwrite_Set(void)
Sets the result register channel 4 to "overwrite".
Definition: adc1.h:6377
#define ADC1_MASK_MON3
ADC1 Sequencer/ESM channel selection macro, channel 4 - MON3.
Definition: adc1.h:183

◆ ADC1_Ch4_Result_Get()

INLINE uint16 ADC1_Ch4_Result_Get ( void  )

Reads the converted value from the channel 4 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 4 (MON3) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(4) == 1u)
{
adc_result = ADC1_Ch4_Result_Get();
}
}
INLINE uint16 ADC1_Ch4_Result_Get(void)
Reads the converted value from the channel 4 result register.
Definition: adc1.h:6222

◆ ADC1_Ch4_WaitForRead_Set()

INLINE void ADC1_Ch4_WaitForRead_Set ( void  )

Sets the result register channel 4 to "wait for read".

Note
A valid result will not be overwritten by a subsequent conversion until the result is read.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 4 (MON3) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(4) == 1u)
{
adc_result = ADC1_MON3_Result_Get();
}
}
INLINE void ADC1_Ch4_WaitForRead_Set(void)
Sets the result register channel 4 to "wait for read".
Definition: adc1.h:6372

◆ ADC1_Ch5_Int_Clr()

INLINE void ADC1_Ch5_Int_Clr ( void  )

Clears ADC1 IIR-Filter-Channel 5 Interrupt flag.

Example

This example treats the ADC1 IIR-Filter-Channel 5 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH5_IS == 1u)
{
ADC1_CH5_CALLBACK();
}
}
INLINE void ADC1_Ch5_Int_Clr(void)
Clears ADC1 IIR-Filter-Channel 5 Interrupt flag.
Definition: adc1.h:6942
INLINE void ADC1_Ch5_Int_En(void)
Enables ADC1 IIR-Filter-Channel 5 Interrupt.
Definition: adc1.h:7047

◆ ADC1_Ch5_Int_Dis()

INLINE void ADC1_Ch5_Int_Dis ( void  )

Disables ADC1 IIR-Filter-Channel 5 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 5 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH5_IS == 1u)
{
ADC1_CH5_CALLBACK();
}
}
INLINE void ADC1_Ch5_Int_Dis(void)
Disables ADC1 IIR-Filter-Channel 5 Interrupt.
Definition: adc1.h:7052

◆ ADC1_Ch5_Int_En()

INLINE void ADC1_Ch5_Int_En ( void  )

Enables ADC1 IIR-Filter-Channel 5 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 5 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH5_IS == 1u)
{
ADC1_CH5_CALLBACK();
}
}

◆ ADC1_Ch5_Overwrite_Set()

INLINE void ADC1_Ch5_Overwrite_Set ( void  )

Sets the result register channel 5 to "overwrite".

Note
A valid result will be overwritten by a subsequent conversion, a previous unread conversion is lost.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 5 (MON4) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(5) == 1u)
{
adc_result = ADC1_MON4_Result_Get();
}
}
#define ADC1_MASK_MON4
ADC1 Sequencer/ESM channel selection macro, channel 5 - MON4.
Definition: adc1.h:185
INLINE uint16 ADC1_MON4_Result_Get(void)
Reads the converted value from the channel 5 result register.
Definition: adc1.h:6297
INLINE void ADC1_Ch5_Overwrite_Set(void)
Sets the result register channel 5 to "overwrite".
Definition: adc1.h:6387

◆ ADC1_Ch5_Result_Get()

INLINE uint16 ADC1_Ch5_Result_Get ( void  )

Reads the converted value from the channel 5 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 5 (MON4) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(5) == 1u)
{
adc_result = ADC1_Ch5_Result_Get();
}
}
INLINE uint16 ADC1_Ch5_Result_Get(void)
Reads the converted value from the channel 5 result register.
Definition: adc1.h:6227

◆ ADC1_Ch5_WaitForRead_Set()

INLINE void ADC1_Ch5_WaitForRead_Set ( void  )

Sets the result register channel 5 to "wait for read".

Note
A valid result will not be overwritten by a subsequent conversion until the result is read.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 5 (MON4) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(5) == 1u)
{
adc_result = ADC1_MON4_Result_Get();
}
}
INLINE void ADC1_Ch5_WaitForRead_Set(void)
Sets the result register channel 5 to "wait for read".
Definition: adc1.h:6382

◆ ADC1_Ch6_Int_Clr()

INLINE void ADC1_Ch6_Int_Clr ( void  )

Clears ADC1 IIR-Filter-Channel 6 Interrupt flag.

Example

This example treats the ADC1 IIR-Filter-Channel 6 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH6_IS == 1u)
{
ADC1_CH6_CALLBACK();
}
}
INLINE void ADC1_Ch6_Int_Clr(void)
Clears ADC1 IIR-Filter-Channel 6 Interrupt flag.
Definition: adc1.h:6947
INLINE void ADC1_Ch6_Int_En(void)
Enables ADC1 IIR-Filter-Channel 6 Interrupt.
Definition: adc1.h:7057

◆ ADC1_Ch6_Int_Dis()

INLINE void ADC1_Ch6_Int_Dis ( void  )

Disables ADC1 IIR-Filter-Channel 6 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 6 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH6_IS == 1u)
{
ADC1_CH6_CALLBACK();
}
}
INLINE void ADC1_Ch6_Int_Dis(void)
Disables ADC1 IIR-Filter-Channel 6 Interrupt.
Definition: adc1.h:7062

◆ ADC1_Ch6_Int_En()

INLINE void ADC1_Ch6_Int_En ( void  )

Enables ADC1 IIR-Filter-Channel 6 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 6 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH6_IS == 1u)
{
ADC1_CH6_CALLBACK();
}
}

◆ ADC1_Ch6_Overwrite_Set()

INLINE void ADC1_Ch6_Overwrite_Set ( void  )

Sets the result register channel 6 to "overwrite".

Note
A valid result will be overwritten by a subsequent conversion, a previous unread conversion is lost.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 6 (P2.0) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(6) == 1u)
{
adc_result = ADC1_P20_Result_Get();
}
}
INLINE uint16 ADC1_P20_Result_Get(void)
Reads the converted value from the channel 6 result register.
Definition: adc1.h:6302
INLINE void ADC1_Ch6_Overwrite_Set(void)
Sets the result register channel 6 to "overwrite".
Definition: adc1.h:6397
#define ADC1_MASK_P20
ADC1 Sequencer/ESM channel selection macro, channel 6 - P2.0.
Definition: adc1.h:187

◆ ADC1_Ch6_Result_Get()

INLINE uint16 ADC1_Ch6_Result_Get ( void  )

Reads the converted value from the channel 6 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 6 (P2.0) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(6) == 1u)
{
adc_result = ADC1_Ch6_Result_Get();
}
}
INLINE uint16 ADC1_Ch6_Result_Get(void)
Reads the converted value from the channel 6 result register.
Definition: adc1.h:6232

◆ ADC1_Ch6_WaitForRead_Set()

INLINE void ADC1_Ch6_WaitForRead_Set ( void  )

Sets the result register channel 6 to "wait for read".

Note
A valid result will not be overwritten by a subsequent conversion until the result is read.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 6 (P2.0) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(6) == 1u)
{
adc_result = ADC1_P20_Result_Get();
}
}
INLINE void ADC1_Ch6_WaitForRead_Set(void)
Sets the result register channel 6 to "wait for read".
Definition: adc1.h:6392

◆ ADC1_Ch7_Int_Clr()

INLINE void ADC1_Ch7_Int_Clr ( void  )

Clears ADC1 IIR-Filter-Channel 7 Interrupt flag.

Example

This example treats the ADC1 IIR-Filter-Channel 7 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH7_IS == 1u)
{
ADC1_CH7_CALLBACK();
}
}
INLINE void ADC1_Ch7_Int_Clr(void)
Clears ADC1 IIR-Filter-Channel 7 Interrupt flag.
Definition: adc1.h:6952
INLINE void ADC1_Ch7_Int_En(void)
Enables ADC1 IIR-Filter-Channel 7 Interrupt.
Definition: adc1.h:7067

◆ ADC1_Ch7_Int_Dis()

INLINE void ADC1_Ch7_Int_Dis ( void  )

Disables ADC1 IIR-Filter-Channel 7 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 7 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH7_IS == 1u)
{
ADC1_CH7_CALLBACK();
}
}
INLINE void ADC1_Ch7_Int_Dis(void)
Disables ADC1 IIR-Filter-Channel 7 Interrupt.
Definition: adc1.h:7072

◆ ADC1_Ch7_Int_En()

INLINE void ADC1_Ch7_Int_En ( void  )

Enables ADC1 IIR-Filter-Channel 7 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 7 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH7_IS == 1u)
{
ADC1_CH7_CALLBACK();
}
}

◆ ADC1_Ch7_Overwrite_Set()

INLINE void ADC1_Ch7_Overwrite_Set ( void  )

Sets the result register channel 7 to "overwrite".

Note
A valid result will be overwritten by a subsequent conversion, a previous unread conversion is lost.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 7 (P2.1) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(7) == 1u)
{
adc_result = ADC1_P21_Result_Get();
}
}
#define ADC1_MASK_P21
ADC1 Sequencer/ESM channel selection macro, channel 7 - P2.1.
Definition: adc1.h:189
INLINE uint16 ADC1_P21_Result_Get(void)
Reads the converted value from the channel 7 result register.
Definition: adc1.h:6307
INLINE void ADC1_Ch7_Overwrite_Set(void)
Sets the result register channel 7 to "overwrite".
Definition: adc1.h:6407

◆ ADC1_Ch7_Result_Get()

INLINE uint16 ADC1_Ch7_Result_Get ( void  )

Reads the converted value from the channel 7 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 7 (P2.1) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(7) == 1u)
{
adc_result = ADC1_Ch7_Result_Get();
}
}
INLINE uint16 ADC1_Ch7_Result_Get(void)
Reads the converted value from the channel 7 result register.
Definition: adc1.h:6237

◆ ADC1_Ch7_WaitForRead_Set()

INLINE void ADC1_Ch7_WaitForRead_Set ( void  )

Sets the result register channel 7 to "wait for read".

Note
A valid result will not be overwritten by a subsequent conversion until the result is read.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 7 (P2.1) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(7) == 1u)
{
adc_result = ADC1_P21_Result_Get();
}
}
INLINE void ADC1_Ch7_WaitForRead_Set(void)
Sets the result register channel 7 to "wait for read".
Definition: adc1.h:6402

◆ ADC1_Ch8_Int_Clr()

INLINE void ADC1_Ch8_Int_Clr ( void  )

Clears ADC1 IIR-Filter-Channel 8 Interrupt flag.

Example

This example treats the ADC1 IIR-Filter-Channel 8 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH8_IS == 1u)
{
ADC1_CH8_CALLBACK();
}
}
INLINE void ADC1_Ch8_Int_Clr(void)
Clears ADC1 IIR-Filter-Channel 8 Interrupt flag.
Definition: adc1.h:6957
INLINE void ADC1_Ch8_Int_En(void)
Enables ADC1 IIR-Filter-Channel 8 Interrupt.
Definition: adc1.h:7077

◆ ADC1_Ch8_Int_Dis()

INLINE void ADC1_Ch8_Int_Dis ( void  )

Disables ADC1 IIR-Filter-Channel 8 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 8 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH8_IS == 1u)
{
ADC1_CH8_CALLBACK();
}
}
INLINE void ADC1_Ch8_Int_Dis(void)
Disables ADC1 IIR-Filter-Channel 8 Interrupt.
Definition: adc1.h:7082

◆ ADC1_Ch8_Int_En()

INLINE void ADC1_Ch8_Int_En ( void  )

Enables ADC1 IIR-Filter-Channel 8 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 8 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH8_IS == 1u)
{
ADC1_CH8_CALLBACK();
}
}

◆ ADC1_Ch8_Overwrite_Set()

INLINE void ADC1_Ch8_Overwrite_Set ( void  )

Sets the result register channel 8 to "overwrite".

Note
A valid result will be overwritten by a subsequent conversion, a previous unread conversion is lost.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 8 (P2.2) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(8) == 1u)
{
adc_result = ADC1_P22_Result_Get();
}
}
INLINE uint16 ADC1_P22_Result_Get(void)
Reads the converted value from the channel 8 result register.
Definition: adc1.h:6312
INLINE void ADC1_Ch8_Overwrite_Set(void)
Sets the result register channel 8 to "overwrite".
Definition: adc1.h:6417
#define ADC1_MASK_P22
ADC1 Sequencer/ESM channel selection macro, channel 8 - P2.2.
Definition: adc1.h:191

◆ ADC1_Ch8_Result_Get()

INLINE uint16 ADC1_Ch8_Result_Get ( void  )

Reads the converted value from the channel 8 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 8 (P2.2) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(8) == 1u)
{
adc_result = ADC1_Ch8_Result_Get();
}
}
INLINE uint16 ADC1_Ch8_Result_Get(void)
Reads the converted value from the channel 8 result register.
Definition: adc1.h:6242

◆ ADC1_Ch8_WaitForRead_Set()

INLINE void ADC1_Ch8_WaitForRead_Set ( void  )

Sets the result register channel 8 to "wait for read".

Note
A valid result will not be overwritten by a subsequent conversion until the result is read.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 8 (P2.2) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(8) == 1u)
{
adc_result = ADC1_P22_Result_Get();
}
}
INLINE void ADC1_Ch8_WaitForRead_Set(void)
Sets the result register channel 8 to "wait for read".
Definition: adc1.h:6412

◆ ADC1_Ch9_Int_Clr()

INLINE void ADC1_Ch9_Int_Clr ( void  )

Clears ADC1 IIR-Filter-Channel 9 Interrupt flag.

Example

This example treats the ADC1 IIR-Filter-Channel 9 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH9_IS == 1u)
{
ADC1_CH9_CALLBACK();
}
}
INLINE void ADC1_Ch9_Int_En(void)
Enables ADC1 IIR-Filter-Channel 9 Interrupt.
Definition: adc1.h:7087
INLINE void ADC1_Ch9_Int_Clr(void)
Clears ADC1 IIR-Filter-Channel 9 Interrupt flag.
Definition: adc1.h:6962

◆ ADC1_Ch9_Int_Dis()

INLINE void ADC1_Ch9_Int_Dis ( void  )

Disables ADC1 IIR-Filter-Channel 9 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 9 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH9_IS == 1u)
{
ADC1_CH9_CALLBACK();
}
}
INLINE void ADC1_Ch9_Int_Dis(void)
Disables ADC1 IIR-Filter-Channel 9 Interrupt.
Definition: adc1.h:7092

◆ ADC1_Ch9_Int_En()

INLINE void ADC1_Ch9_Int_En ( void  )

Enables ADC1 IIR-Filter-Channel 9 Interrupt.

Example

This example treats the ADC1 IIR-Filter-Channel 9 Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.IIR_CH9_IS == 1u)
{
ADC1_CH9_CALLBACK();
}
}

◆ ADC1_Ch9_Overwrite_Set()

INLINE void ADC1_Ch9_Overwrite_Set ( void  )

Sets the result register channel 9 to "overwrite".

Note
A valid result will be overwritten by a subsequent conversion, a previous unread conversion is lost.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 9 (P2.3) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(9) == 1u)
{
adc_result = ADC1_P23_Result_Get();
}
}
INLINE uint16 ADC1_P23_Result_Get(void)
Reads the converted value from the channel 9 result register.
Definition: adc1.h:6317
#define ADC1_MASK_P23
ADC1 Sequencer/ESM channel selection macro, channel 9 - P2.3.
Definition: adc1.h:193
INLINE void ADC1_Ch9_Overwrite_Set(void)
Sets the result register channel 9 to "overwrite".
Definition: adc1.h:6427

◆ ADC1_Ch9_Result_Get()

INLINE uint16 ADC1_Ch9_Result_Get ( void  )

Reads the converted value from the channel 9 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 9 (P2.3) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(9) == 1u)
{
adc_result = ADC1_Ch9_Result_Get();
}
}
INLINE uint16 ADC1_Ch9_Result_Get(void)
Reads the converted value from the channel 9 result register.
Definition: adc1.h:6247

◆ ADC1_Ch9_WaitForRead_Set()

INLINE void ADC1_Ch9_WaitForRead_Set ( void  )

Sets the result register channel 9 to "wait for read".

Note
A valid result will not be overwritten by a subsequent conversion until the result is read.

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 9 (P2.3) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(9) == 1u)
{
adc_result = ADC1_P23_Result_Get();
}
}
INLINE void ADC1_Ch9_WaitForRead_Set(void)
Sets the result register channel 9 to "wait for read".
Definition: adc1.h:6422

◆ ADC1_Current_Active_Channel_Sts()

INLINE uint8 ADC1_Current_Active_Channel_Sts ( void  )

Reads the currently active channel status.

Returns
uint8, number of the current channel, values between 0..13

Example

This example enables ADC1 and switches to Software Mode and reads the currently active channel 6.

void Example_Function(void)
{
while (ADC1_Current_Active_Channel_Sts() & 0x6 != 0x6)
{
}
}
#define ADC1_P20
ADC1 channel selection macro, channel 6 - P2.0.
Definition: adc1.h:137
INLINE void ADC1_SW_Channel_Sel(uint8 a)
Selects a channel for the software conversion.
Definition: adc1.h:6062
INLINE uint8 ADC1_Current_Active_Channel_Sts(void)
Reads the currently active channel status.
Definition: adc1.h:6112
INLINE void ADC1_SOS_Set(void)
Starts an ADC1 Conversion, for Software mode only.
Definition: adc1.h:6057
INLINE void ADC1_Software_Mode_Sel(void)
Selects ADC1 Software Mode, measurements are performed on user request.
Definition: adc1.h:6087

◆ ADC1_Current_Active_Sequence_Sts()

INLINE uint8 ADC1_Current_Active_Sequence_Sts ( void  )

Reads the currently active channel status in Sequencer Mode.

Returns
uint8, number of the current sequence, values between 0..13

Example

This example enables ADC1 and switches to Sequencer Mode and reads the currently active channel 6 in Sequencer Mode.

void Example_Function(void)
{
while (ADC1_Current_Active_Sequence_Sts() & 0x6 != 0x6)
{
}
}
INLINE uint8 ADC1_Current_Active_Sequence_Sts(void)
Reads the currently active channel status in Sequencer Mode.
Definition: adc1.h:6107

◆ ADC1_DU1_Dis()

INLINE void ADC1_DU1_Dis ( void  )

Disables ADC1 Differential Unit 1.

Example

This example enables ADC1 and DU1 and reads the result.

void Example_Function(void)
{
uint16 adc_result;
while (ADC1->DIFFCH_OUT1.bit.DVF1 == 0u)
{
}
adc_result = ADC1_DU1_Result_Get();
}
INLINE void ADC1_DU1_Dis(void)
Disables ADC1 Differential Unit 1.
Definition: adc1.h:6592
INLINE void ADC1_DU1_En(void)
Enables ADC1 Differential Unit 1.
Definition: adc1.h:6587
INLINE void ADC1_DU1_Overwrite_Set(void)
Sets the result register DU1 to "overwrite".
Definition: adc1.h:6457
INLINE uint16 ADC1_DU1_Result_Get(void)
Reads ADC differential 1 output value.
Definition: adc1.h:6267

◆ ADC1_DU1_En()

INLINE void ADC1_DU1_En ( void  )

Enables ADC1 Differential Unit 1.

Example

This example enables ADC1 and DU1 and reads the result.

void Example_Function(void)
{
uint16 adc_result;
while (ADC1->DIFFCH_OUT1.bit.DVF1 == 0u)
{
}
adc_result = ADC1_DU1_Result_Get();
}

◆ ADC1_DU1_Lo_Cnt_Set()

INLINE void ADC1_DU1_Lo_Cnt_Set ( uint8  cnt)

Sets ADC1 Differential Unit 1 Lower Timer Trigger.

Parameters
cntLower Timer Trigger

Example

This example sets ADC1 Differential Unit 1 Lower Timer Trigger to 2 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_DU1_Lo_Cnt_Set(uint8 cnt)
Sets ADC1 Differential Unit 1 Lower Timer Trigger.
Definition: adc1.h:6867
#define ADC1_CNT_2
ADC1 Lower Counter Trigger Level macro, 2 Measurements.
Definition: adc1.h:218

◆ ADC1_DU1_Lo_Hyst_Set()

INLINE void ADC1_DU1_Lo_Hyst_Set ( uint8  hyst)

Sets ADC1 Differential Unit 1 Lower Hysteresis.

Parameters
hystLower Hysteresis

Example

This example sets ADC1 Differential Unit 1 Lower Hysteresis to 8.

void Example_Function(void)
{
}
INLINE void ADC1_DU1_Lo_Hyst_Set(uint8 hyst)
Sets ADC1 Differential Unit 1 Lower Hysteresis.
Definition: adc1.h:6777
#define ADC1_HYST_8
ADC1 Lower Hysteresis Trigger Level macro, HYST 8.
Definition: adc1.h:211

◆ ADC1_DU1_Lo_Sts_Clr()

INLINE void ADC1_DU1_Lo_Sts_Clr ( void  )

Clears ADC1 Differential Unit 1 (DU1) Lower Channel Status.

Example

This example clears ADC1 Differential Unit 1 (DU1) Lower Channel Status.

void Example_Function(void)
{
}
INLINE void ADC1_DU1_Lo_Sts_Clr(void)
Clears ADC1 Differential Unit 1 (DU1) Lower Channel Status.
Definition: adc1.h:6577

◆ ADC1_DU1_Lo_Th_Set()

INLINE void ADC1_DU1_Lo_Th_Set ( uint8  trig_val)

Sets ADC1 Differential Unit 1 Lower Trigger Level.

Parameters
trig_valLower Trigger Level

Example

This example sets ADC1 Differential Unit 1 Lower Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_DU1_Lo_Th_Set(uint8 trig_val)
Sets ADC1 Differential Unit 1 Lower Trigger Level.
Definition: adc1.h:6687

◆ ADC1_DU1_Mode_Meas_Sel()

INLINE void ADC1_DU1_Mode_Meas_Sel ( uint8  mmode)

Selects ADC1 Differential Unit 1 Measurement Mode.

Parameters
mmodeMeasurement Mode

Example

This example sets ADC1 Differential Unit 1 Measurement Mode to undervoltage limit measurement.

void Example_Function(void)
{
}
INLINE void ADC1_DU1_Mode_Meas_Sel(uint8 mmode)
Selects ADC1 Differential Unit 1 Measurement Mode.
Definition: adc1.h:6642
#define ADC1_MMODE_UV
ADC1 Overvoltage Measurement Mode macro, undervoltage limit measurement.
Definition: adc1.h:202

◆ ADC1_DU1_Overwrite_Set()

INLINE void ADC1_DU1_Overwrite_Set ( void  )

Sets the result register DU1 to "overwrite".

Example

This example enables ADC1 and DU1 and reads the result.

void Example_Function(void)
{
uint16 adc_result;
while (ADC1->DIFFCH_OUT1.bit.DVF1 == 0u)
{
}
adc_result = ADC1_DU1_Result_Get();
}

◆ ADC1_DU1_Result_Get()

INLINE uint16 ADC1_DU1_Result_Get ( void  )

Reads ADC differential 1 output value.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and DU1 and reads the result.

void Example_Function(void)
{
uint16 adc_result;
while (ADC1->DIFFCH_OUT1.bit.DVF1 == 0u)
{
}
adc_result = ADC1_DU1_Result_Get();
}

◆ ADC1_DU1_Result_Neg_Sts()

INLINE uint8 ADC1_DU1_Result_Neg_Sts ( void  )

Reads the Differential Unit 1 Negative Result Status.

Returns
DU1 Negative Result Status; 0: DU1 positive result, 1: negative result

Example

This example reads DU1 Result status.

void Example_Function(void)
{
uint8 sts;
}
INLINE uint8 ADC1_DU1_Result_Neg_Sts(void)
Reads the Differential Unit 1 Negative Result Status.
Definition: adc1.h:6597
uint8_t uint8
8 bit unsigned value
Definition: types.h:153

◆ ADC1_DU1_Up_Cnt_Set()

INLINE void ADC1_DU1_Up_Cnt_Set ( uint8  cnt)

Sets ADC1 Differential Unit 1 Upper Timer Trigger.

Parameters
cntUpper Timer Trigger

Example

This example sets ADC1 Differential Unit 1 Upper Timer Trigger to 7 measurements.

void Example_Function(void)
{
}
#define ADC1_CNT_7
ADC1 Lower Counter Trigger Level macro, 7 Measurements.
Definition: adc1.h:222
INLINE void ADC1_DU1_Up_Cnt_Set(uint8 cnt)
Sets ADC1 Differential Unit 1 Upper Timer Trigger.
Definition: adc1.h:6912

◆ ADC1_DU1_Up_Hyst_Set()

INLINE void ADC1_DU1_Up_Hyst_Set ( uint8  hyst)

Sets ADC1 Differential Unit 1 Upper Hysteresis.

Parameters
hystUpper Hysteresis

Example

This example sets ADC1 Differential Unit 1 Upper Hysteresis to 4.

void Example_Function(void)
{
}
#define ADC1_HYST_4
ADC1 Lower Hysteresis Trigger Level macro, HYST 4.
Definition: adc1.h:209
INLINE void ADC1_DU1_Up_Hyst_Set(uint8 hyst)
Sets ADC1 Differential Unit 1 Upper Hysteresis.
Definition: adc1.h:6822

◆ ADC1_DU1_Up_Sts_Clr()

INLINE void ADC1_DU1_Up_Sts_Clr ( void  )

Clears ADC1 Differential Unit 1 (DU1) Upper Channel Status.

Example

This example clears ADC1 Differential Unit 1 (DU1) Upper Channel Status.

void Example_Function(void)
{
}
INLINE void ADC1_DU1_Up_Sts_Clr(void)
Clears ADC1 Differential Unit 1 (DU1) Upper Channel Status.
Definition: adc1.h:6582

◆ ADC1_DU1_Up_Th_Set()

INLINE void ADC1_DU1_Up_Th_Set ( uint8  trig_val)

Sets ADC1 Differential Unit 1 Upper Trigger Level.

Parameters
trig_valUpper Trigger Level

Example

This example sets ADC1 Differential Unit 1 Upper Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_DU1_Up_Th_Set(uint8 trig_val)
Sets ADC1 Differential Unit 1 Upper Trigger Level.
Definition: adc1.h:6732

◆ ADC1_DU1_WaitForRead_Set()

INLINE void ADC1_DU1_WaitForRead_Set ( void  )

Sets the result register DU1 to "wait for read".

Example

This example enables ADC1 and DU1 and reads the result.

void Example_Function(void)
{
uint16 adc_result;
while (ADC1->DIFFCH_OUT1.bit.DVF1 == 0u)
{
}
adc_result = ADC1_DU1_Result_Get();
}
INLINE void ADC1_DU1_WaitForRead_Set(void)
Sets the result register DU1 to "wait for read".
Definition: adc1.h:6452

◆ ADC1_DU1LO_Int_Clr()

INLINE void ADC1_DU1LO_Int_Clr ( void  )

Clears Differential Unit 1 lower Interrupt flag.

Example

This example treats the Differential Unit 1 lower Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.DU1LO_IS == 1u)
{
ADC1_DU1LO_CALLBACK();
}
}
INLINE void ADC1_DU1LO_Int_En(void)
Enables Differential Unit 1 lower Interrupt.
Definition: adc1.h:7147
INLINE void ADC1_DU1LO_Int_Clr(void)
Clears Differential Unit 1 lower Interrupt flag.
Definition: adc1.h:6992

◆ ADC1_DU1LO_Int_Dis()

INLINE void ADC1_DU1LO_Int_Dis ( void  )

Disables Differential Unit 1 lower Interrupt.

Example

This example treats the Differential Unit 1 lower Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.DU1LO_IS == 1u)
{
ADC1_DU1LO_CALLBACK();
}
}
INLINE void ADC1_DU1LO_Int_Dis(void)
Disables Differential Unit 1 lower Interrupt.
Definition: adc1.h:7152

◆ ADC1_DU1LO_Int_En()

INLINE void ADC1_DU1LO_Int_En ( void  )

Enables Differential Unit 1 lower Interrupt.

Example

This example treats the Differential Unit 1 lower Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.DU1LO_IS == 1u)
{
ADC1_DU1LO_CALLBACK();
}
}

◆ ADC1_DU1UP_Int_Clr()

INLINE void ADC1_DU1UP_Int_Clr ( void  )

Clears Differential Unit 1 upper Interrupt flag.

Example

This example treats the Differential Unit 1 upper Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.DU1UP_IS == 1u)
{
ADC1_DU1UP_CALLBACK();
}
}
INLINE void ADC1_DU1UP_Int_Clr(void)
Clears Differential Unit 1 upper Interrupt flag.
Definition: adc1.h:6987
INLINE void ADC1_DU1UP_Int_En(void)
Enables Differential Unit 1 upper Interrupt.
Definition: adc1.h:7137

◆ ADC1_DU1UP_Int_Dis()

INLINE void ADC1_DU1UP_Int_Dis ( void  )

Disables Differential Unit 1 upper Interrupt.

Example

This example treats the Differential Unit 1 upper Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.DU1UP_IS == 1u)
{
ADC1_DU1UP_CALLBACK();
}
}

◆ ADC1_DU1UP_Int_En()

INLINE void ADC1_DU1UP_Int_En ( void  )

Enables Differential Unit 1 upper Interrupt.

Example

This example treats the Differential Unit 1 upper Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.DU1UP_IS == 1u)
{
ADC1_DU1UP_CALLBACK();
}
}

◆ ADC1_EIM_Active_Sts()

INLINE uint8 ADC1_EIM_Active_Sts ( void  )

Reads the active status of the Exceptional Interrupt Measurement (EIM).

Return values
1EIM ongoing
0no EIM active

Example

This example enables ADC1 module and EIM, switches to Sequencer Mode and reads the active status of the Exceptional Interrupt Measurement (EIM).

void Example_Function(void)
{
while (ADC1_EIM_Active_Sts() == 0u)
{
}
}
#define ADC1_MON1
ADC1 channel selection macro, channel 2 - MON1.
Definition: adc1.h:129
INLINE uint8 ADC1_EIM_Active_Sts(void)
Reads the active status of the Exceptional Interrupt Measurement (EIM).
Definition: adc1.h:6097
INLINE void ADC1_EIM_Channel_Set(uint8 ch)
Sets EIM channel for measurement.
Definition: adc1.h:6482
INLINE void ADC1_EIM_En(void)
Enables Exceptional interrupt measurement (EIM) Trigger Event.
Definition: adc1.h:6462

◆ ADC1_EIM_Channel_Read()

INLINE uint8 ADC1_EIM_Channel_Read ( void  )

Reads EIM channel for measurement.

Returns
EIM Channel Enabled

Example

This example enables ADC1 and switches to Sequencer Mode, reads the corresponding Attenuator Factor of the EIM channel.

void Example_Function(void)
{
uint32 fs;
}
INLINE uint8 ADC1_EIM_Channel_Read(void)
Reads EIM channel for measurement.
Definition: adc1.h:6492
uint32 ADC1_GetChAttFactor(uint8 channel)
Gets ADC1 Channel Attenuator Factor multiplied by 1024.
uint32_t uint32
32 bit unsigned value
Definition: types.h:155

◆ ADC1_EIM_Channel_Set()

INLINE void ADC1_EIM_Channel_Set ( uint8  ch)

Sets EIM channel for measurement.

Parameters
chchannel to be measured

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
while (ADC1->FILT_OUTEIM.bit.VF_EIM == 0u)
{
}
adc_result = ADC1_EIM_Result_Get();
}
#define ADC1_CH2
ADC1 channel selection macro, channel 2 - MON1.
Definition: adc1.h:104
INLINE uint16 ADC1_EIM_Result_Get(void)
Reads the converted value from the EIM result register.
Definition: adc1.h:6262

◆ ADC1_EIM_Dis()

INLINE void ADC1_EIM_Dis ( void  )

Disables Exceptional interrupt measurement (EIM) Trigger Event.

Example

This example treats the Exceptional Interrupt Measurement (EIM).

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.EIM_IS == 1u)
{
ADC1_EIM_CALLBACK();
}
}
INLINE void ADC1_EIM_Int_Clr(void)
Clears Exceptional Interrupt Measurement (EIM) flag.
Definition: adc1.h:6977
INLINE void ADC1_EIM_Dis(void)
Disables Exceptional interrupt measurement (EIM) Trigger Event.
Definition: adc1.h:6467
INLINE void ADC1_EIM_Int_En(void)
Enables Exceptional Interrupt Measurement (EIM).
Definition: adc1.h:7117

◆ ADC1_EIM_En()

INLINE void ADC1_EIM_En ( void  )

Enables Exceptional interrupt measurement (EIM) Trigger Event.

Example

This example treats the Exceptional Interrupt Measurement (EIM).

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.EIM_IS == 1u)
{
ADC1_EIM_CALLBACK();
}
}

◆ ADC1_EIM_Int_Clr()

INLINE void ADC1_EIM_Int_Clr ( void  )

Clears Exceptional Interrupt Measurement (EIM) flag.

Example

This example treats the Exceptional Interrupt Measurement (EIM).

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.EIM_IS == 1u)
{
ADC1_EIM_CALLBACK();
}
}

◆ ADC1_EIM_Int_Dis()

INLINE void ADC1_EIM_Int_Dis ( void  )

Disables Exceptional Interrupt Measurement (EIM).

Example

This example treats the Exceptional Interrupt Measurement (EIM).

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.EIM_IS == 1u)
{
ADC1_EIM_CALLBACK();
}
}
INLINE void ADC1_EIM_Int_Dis(void)
Disables Exceptional Interrupt Measurement (EIM).
Definition: adc1.h:7122

◆ ADC1_EIM_Int_En()

INLINE void ADC1_EIM_Int_En ( void  )

Enables Exceptional Interrupt Measurement (EIM).

Example

This example treats the Exceptional Interrupt Measurement (EIM).

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.EIM_IS == 1u)
{
ADC1_EIM_CALLBACK();
}
}

◆ ADC1_EIM_Repeat_Counter_Set()

INLINE void ADC1_EIM_Repeat_Counter_Set ( TADC1_EIM_REP_CNT  repcnt)

Sets ADC1 EIM Repeat Counter.

Parameters
repcntrepeat counter for EIM measurement, see TADC1_EIM_REP_CNT

Example

This example enables ADC1 and sets EIM Repeat Counter to 4 Measures.

void Example_Function(void)
{
}
@ ADC1_4_Meas
Definition: adc1.h:260
INLINE void ADC1_EIM_Repeat_Counter_Set(TADC1_EIM_REP_CNT repcnt)
Sets ADC1 EIM Repeat Counter.
Definition: adc1.h:7449

◆ ADC1_EIM_Result_Get()

INLINE uint16 ADC1_EIM_Result_Get ( void  )

Reads the converted value from the EIM result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
while (ADC1->FILT_OUTEIM.bit.VF_EIM == 0u)
{
}
adc_result = ADC1_EIM_Result_Get();
}

◆ ADC1_EIM_Trigger_Select()

INLINE void ADC1_EIM_Trigger_Select ( TADC1_TRIGG_SEL  trigsel)

Selects ADC1 EIM Trigger.

Parameters
trigselTrigger select, see TADC1_TRIGG_SEL

Example

This example enables ADC1 and sets EIM Trigger to Timer2.

void Example_Function(void)
{
}
@ ADC1_Trigg_Timer2
Definition: adc1.h:248
INLINE void ADC1_EIM_Trigger_Select(TADC1_TRIGG_SEL trigsel)
Selects ADC1 EIM Trigger.
Definition: adc1.h:7444

◆ ADC1_EOC_Sts()

INLINE uint8 ADC1_EOC_Sts ( void  )

Reads the End-of-Conversion status.

Return values
1if conversion has ended
0if conversion still ongoing

Example

This example enables ADC1 and switches to Software Mode, starts a measurement and waits for it to be finished.

void Example_Function(void)
{
while ( ADC1_EOC_Sts() == 0 ) {}
}
INLINE uint8 ADC1_EOC_Sts(void)
Reads the End-of-Conversion status.
Definition: adc1.h:6092

◆ ADC1_ESM_Active_Sts()

INLINE uint8 ADC1_ESM_Active_Sts ( void  )

Reads the active status of the Exceptional Sequencer Measurement (ESM).

Return values
1ESM ongoing
0no ESM active

Example

This example enables ADC1 module and ESM, switches to Sequencer Mode and reads the active status of the Exceptional Sequencer Measurement (ESM).

void Example_Function(void)
{
while (ADC1_ESM_Active_Sts() == 0u)
{
}
}
INLINE uint8 ADC1_ESM_Active_Sts(void)
Reads the active status of the Exceptional Sequencer Measurement (ESM).
Definition: adc1.h:6102
INLINE void ADC1_ESM_En(void)
Enables Exceptional Sequence measurement (ESM) Trigger Event.
Definition: adc1.h:6472
INLINE void ADC1_ESM_Channel_Set(uint16 mask_ch)
Sets channels in ESM sequence.
Definition: adc1.h:6487

◆ ADC1_ESM_Channel_Set()

INLINE void ADC1_ESM_Channel_Set ( uint16  mask_ch)

Sets channels in ESM sequence.

Parameters
mask_chbit mask of channels to be measured

Example

This example enables ADC1, switches to Sequencer Mode, programs channel 6 (P2.0), and reads the result.

void Example_Function(void)
{
uint16 adc_result;
while (ADC1->FILT_OUT6.bit.VF6 == 0u)
{
}
adc_result = ADC1_P20_Result_Get();
}

◆ ADC1_ESM_Dis()

INLINE void ADC1_ESM_Dis ( void  )

Disables Exceptional Sequence measurement (ESM) Trigger Event.

Example

This example treats the Exceptional Sequence Measurement (ESM).

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.ESM_IS == 1u)
{
ADC1_ESM_CALLBACK();
}
}
INLINE void ADC1_ESM_Int_En(void)
Enables Exceptional Sequence Measurement (ESM).
Definition: adc1.h:7127
INLINE void ADC1_ESM_Int_Clr(void)
Clears Exceptional Sequence Measurement (ESM) flag.
Definition: adc1.h:6982
INLINE void ADC1_ESM_Dis(void)
Disables Exceptional Sequence measurement (ESM) Trigger Event.
Definition: adc1.h:6477

◆ ADC1_ESM_En()

INLINE void ADC1_ESM_En ( void  )

Enables Exceptional Sequence measurement (ESM) Trigger Event.

Example

This example treats the Exceptional Sequence Measurement (ESM).

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.ESM_IS == 1u)
{
ADC1_ESM_CALLBACK();
}
}

◆ ADC1_ESM_Int_Clr()

INLINE void ADC1_ESM_Int_Clr ( void  )

Clears Exceptional Sequence Measurement (ESM) flag.

Example

This example treats the Exceptional Sequence Measurement (ESM).

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.ESM_IS == 1u)
{
ADC1_ESM_CALLBACK();
}
}

◆ ADC1_ESM_Int_Dis()

INLINE void ADC1_ESM_Int_Dis ( void  )

Disables Exceptional Sequence Measurement (ESM).

Example

This example treats the Exceptional Sequence Measurement (ESM).

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.ESM_IS == 1u)
{
ADC1_ESM_CALLBACK();
}
}
INLINE void ADC1_ESM_Int_Dis(void)
Disables Exceptional Sequence Measurement (ESM).
Definition: adc1.h:7132

◆ ADC1_ESM_Int_En()

INLINE void ADC1_ESM_Int_En ( void  )

Enables Exceptional Sequence Measurement (ESM).

Example

This example treats the Exceptional Sequence Measurement (ESM).

void Example_Function(void)
{
if (ADC1->IRQS_1.bit.ESM_IS == 1u)
{
ADC1_ESM_CALLBACK();
}
}

◆ ADC1_ESM_Trigger_Select()

INLINE void ADC1_ESM_Trigger_Select ( TADC1_TRIGG_SEL  trigsel)

Sets ADC1 ESM Trigger Selection.

Parameters
trigselTrigger select, see TADC1_TRIGG_SEL

Example

This example enables ADC1 and sets ESM Trigger Selection to Timer2.

void Example_Function(void)
{
}
INLINE void ADC1_ESM_Trigger_Select(TADC1_TRIGG_SEL trigsel)
Sets ADC1 ESM Trigger Selection.
Definition: adc1.h:7454

◆ ADC1_GetChAttFactor()

uint32 ADC1_GetChAttFactor ( uint8  channel)

Gets ADC1 Channel Attenuator Factor multiplied by 1024.

Parameters
channelADC1 channel number
Returns
attenuator factor multiplied by 1024

Example

This example returns the ADC1 Channel 12 Attenuator Factor.

void Example_Function(void)
{
uint32 fs;
}
#define ADC1_CH12
ADC1 channel selection macro, channel 12 - P2.7.
Definition: adc1.h:120

◆ ADC1_GetChResult()

bool ADC1_GetChResult ( uint16 pVar,
uint8  channel 
)

Gets the 10-bit value of the ADC1 Result Register of the selected ADC1 channel and returns the validity info.

Note
This function violates [MISRA Rule 45]
Parameters
channelchannel number (defined in adc1.h)
[out]*pVar10-bit ADC1 Result Value of the selected "channel number"
Return values
true: the value of *pVar is valid (ValidFlag bit is set)
false: the value of *pVar is invalid (ValidFlag bit is reset)

Example

This example returns the ADC1 Channel 5 result in Milli Volt (mV).

void Example_Function(void)
{
bool value_valid;
uint16 var_mV;
uint16 var;
if (ADC1_GetChResult(&var, ADC1_CH5) == true)
{
value_valid = ADC1_GetChResult_mV(&var_mV, ADC1_CH5);
}
return(value_valid);
}
#define ADC1_CH5
ADC1 channel selection macro, channel 5 - MON4.
Definition: adc1.h:110
bool ADC1_GetChResult(uint16 *pVar, uint8 channel)
Gets the 10-bit value of the ADC1 Result Register of the selected ADC1 channel and returns the validi...
bool ADC1_GetChResult_mV(uint16 *pVar_mV, uint8 channel)
Gets the 10-bit value of the ADC1 Result Register of the selected ADC1 channel in Millivolt (mV) and ...

◆ ADC1_GetChResult_mV()

bool ADC1_GetChResult_mV ( uint16 pVar_mV,
uint8  channel 
)

Gets the 10-bit value of the ADC1 Result Register of the selected ADC1 channel in Millivolt (mV) and returns the validity info.

Parameters
channelchannel number (defined in adc1.h)
[out]pVar_mV10-bit ADC1 Result Value of the selected channel number converted to Millivolt (mV)
Return values
true: the value of *pVar_mV is valid
false: the value of *pVar_mV is invalid

Example

This example returns the ADC1 Channel 5 result in Milli Volt (mV).

void Example_Function(void)
{
bool value_valid;
uint16 var_mV;
uint16 var;
value_valid = ADC1_GetChResult_mV(&var_mV, ADC1_CH5);
return(value_valid);
}

◆ ADC1_GetChResValid()

uint8 ADC1_GetChResValid ( uint8  channel)

Gets the 10-bit value of the ADC1 Result Register of the selected ADC1 channel and returns the validity info.

Note
This function violates [MISRA Rule 45]
Parameters
channelchannel number (defined in adc1.h)
Return values
valueof the valid flag of the selected channel

Example

This example reads ADC1 Ch0 result in case it is valid.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(0) == 1u)
{
adc_result = ADC1_Ch0_Result_Get();
}
}

◆ ADC1_GetEIMResult()

bool ADC1_GetEIMResult ( uint16 pVar)

Gets the 10-bit value of the ADC1 EIM Result Register and returns the validity info.

Parameters
[out]*pVar= ADC value (10bit right aligned in 16 bit return value)
Return values
true: the value of *pVar is valid (ValidFlag bit is set)
false: the value of *pVar is invalid (ValidFlag bit is reset)

Example

This example enables ADC1 and switches to Sequencer Mode, programs channel 8 (P2.2) and reads the result value in mV.

void Example_Function(void)
{
bool value_valid;
uint16 var_mV;
uint16 var;
value_valid = ADC1_GetEIMResult_mV(&var_mV);
return(value_valid);
}
INLINE void ADC1_SetEIMChannel(uint8 channel)
Sets ADC1 EIM channel.
Definition: adc1.h:7417
#define ADC1_P22
ADC1 channel selection macro, channel 8 - P2.2.
Definition: adc1.h:141
bool ADC1_GetEIMResult_mV(uint16 *pVar_mV)
Gets the value of the ADC1 EIM Result Register in Millivolt (mV) and returns the validity info.

◆ ADC1_GetEIMResult_mV()

bool ADC1_GetEIMResult_mV ( uint16 pVar_mV)

Gets the value of the ADC1 EIM Result Register in Millivolt (mV) and returns the validity info.

Parameters
[out]*pVar_mVADC1 EIM Result Register value converted to Millivolt (mV)
Return values
true: the value of *pVar_mV is valid
false: the value of *pVar_mV is invalid

Example

This example enables ADC1 and switches to Sequencer Mode, programs channel 8 (P2.2) and reads the result value in mV.

void Example_Function(void)
{
bool value_valid;
uint16 var_mV;
uint16 var;
value_valid = ADC1_GetEIMResult_mV(&var_mV);
return(value_valid);
}

◆ ADC1_GetEocSwMode()

INLINE bool ADC1_GetEocSwMode ( void  )

Gets ADC1 Software Mode End Of Conversion Status.

Return values
trueconversion done
falseconversion ongoing

Example

This example enables ADC1 and switches to Software Mode, starts a measurement and waits for it to be finished.

void Example_Function(void)
{
while ( ADC1_GetEocSwMode() != true ) {}
}
INLINE bool ADC1_GetEocSwMode(void)
Gets ADC1 Software Mode End Of Conversion Status.
Definition: adc1.h:7433

◆ ADC1_Init()

void ADC1_Init ( void  )

Initializes the ADC1 based on the Config Wizard configuration.

◆ ADC1_isEIMactive()

INLINE bool ADC1_isEIMactive ( void  )

Checks Exceptional Interrupt Mode active.

Return values
trueEIM mode is active
falseEIM mode is not active

Example

This example enables ADC1 and switches to Sequencer Mode and checks if the Exceptional Interrupt Measurement (EIM) is active.

void Example_Function(void)
{
while (ADC1_isEIMactive() == false)
{
}
}
INLINE bool ADC1_isEIMactive(void)
Checks Exceptional Interrupt Mode active.
Definition: adc1.h:7470

◆ ADC1_isEndOfConversion()

INLINE bool ADC1_isEndOfConversion ( void  )

Checks EndOfConversion ready (Software Mode)

Return values
trueconversion done
falseconversion ongoing

Example

This example enables ADC1 and switches to Software Mode and checks if EndOfConversion is ready.

void Example_Function(void)
{
while ( ADC1_isEndOfConversion() != true ) {}
}
INLINE bool ADC1_isEndOfConversion(void)
Checks EndOfConversion ready (Software Mode)
Definition: adc1.h:7459

◆ ADC1_isESMactive()

INLINE bool ADC1_isESMactive ( void  )

Checks Exceptional Sequencer Mode active.

Return values
trueESM mode is active
falseESM mode is not active

Example

This example enables ADC1 and switches to Sequencer Mode and checks if Exceptional Sequencer Measurement (ESM) is ready.

void Example_Function(void)
{
while (ADC1_isESMactive() == false)
{
}
}
INLINE bool ADC1_isESMactive(void)
Checks Exceptional Sequencer Mode active.
Definition: adc1.h:7481

◆ ADC1_MON1_Result_Get()

INLINE uint16 ADC1_MON1_Result_Get ( void  )

Reads the converted value from the channel 2 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(2) == 1u)
{
adc_result = ADC1_MON1_Result_Get();
}
}

◆ ADC1_MON2_Result_Get()

INLINE uint16 ADC1_MON2_Result_Get ( void  )

Reads the converted value from the channel 3 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(3) == 1u)
{
adc_result = ADC1_MON2_Result_Get();
}
}

◆ ADC1_MON3_Result_Get()

INLINE uint16 ADC1_MON3_Result_Get ( void  )

Reads the converted value from the channel 4 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 4 (MON3) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(4) == 1u)
{
adc_result = ADC1_MON3_Result_Get();
}
}

◆ ADC1_MON4_Result_Get()

INLINE uint16 ADC1_MON4_Result_Get ( void  )

Reads the converted value from the channel 5 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 5 (MON4) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(5) == 1u)
{
adc_result = ADC1_MON4_Result_Get();
}
}

◆ ADC1_Offset_Calib_Set()

INLINE void ADC1_Offset_Calib_Set ( uint8  value)

Sets the Value of the Offset Calibration.

Parameters
valueOffset Calibration Value

Example

This example sets the Value of the Offset Calibration to Maximum Value.

void Example_Function(void)
{
}
INLINE void ADC1_Offset_Calib_Set(uint8 value)
Sets the Value of the Offset Calibration.
Definition: adc1.h:7397

◆ ADC1_Offset_Shift_Set()

INLINE void ADC1_Offset_Shift_Set ( uint8  value)

Sets the Value of the Offset Shift.

Parameters
valueOffset Shift Value

Example

This example sets the Value of the Offset Shift to Maximum Value.

void Example_Function(void)
{
}
INLINE void ADC1_Offset_Shift_Set(uint8 value)
Sets the Value of the Offset Shift.
Definition: adc1.h:7402

◆ ADC1_OPA_Result_Get()

INLINE uint16 ADC1_OPA_Result_Get ( void  )

Reads the converted value from the channel 13 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 13 (CSA) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(13) == 1u)
{
adc_result = ADC1_OPA_Result_Get();
}
}

◆ ADC1_P20_Result_Get()

INLINE uint16 ADC1_P20_Result_Get ( void  )

Reads the converted value from the channel 6 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 6 (P2.0) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(6) == 1u)
{
adc_result = ADC1_P20_Result_Get();
}
}

◆ ADC1_P21_Result_Get()

INLINE uint16 ADC1_P21_Result_Get ( void  )

Reads the converted value from the channel 7 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 7 (P2.1) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(7) == 1u)
{
adc_result = ADC1_P21_Result_Get();
}
}

◆ ADC1_P22_Result_Get()

INLINE uint16 ADC1_P22_Result_Get ( void  )

Reads the converted value from the channel 8 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 8 (P2.2) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(8) == 1u)
{
adc_result = ADC1_P22_Result_Get();
}
}

◆ ADC1_P23_Result_Get()

INLINE uint16 ADC1_P23_Result_Get ( void  )

Reads the converted value from the channel 9 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 9 (P2.3) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(9) == 1u)
{
adc_result = ADC1_P23_Result_Get();
}
}

◆ ADC1_P27_Result_Get()

INLINE uint16 ADC1_P27_Result_Get ( void  )

Reads the converted value from the channel 12 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 12 (P2.7) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(12) == 1u)
{
adc_result = ADC1_P27_Result_Get();
}
}

◆ ADC1_Power_Off()

INLINE void ADC1_Power_Off ( void  )

Disables the ADC1 module.

Example

This example disables the ADC1 module.

void Example_Function(void)
{
}
INLINE void ADC1_Power_Off(void)
Disables the ADC1 module.
Definition: adc1.h:6047

◆ ADC1_Power_On()

INLINE void ADC1_Power_On ( void  )

Enables the ADC1 module.

Example

This example enables the ADC1 module.

void Example_Function(void)
{
}

◆ ADC1_PP_Ch0_Filt_UpLo_Dis()

INLINE void ADC1_PP_Ch0_Filt_UpLo_Dis ( void  )

Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 0.

Example

This example treats the ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH0_UP_IS == 1u)
{
ADC1_PP_CH0_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch0_UP_Int_En(void)
Enables ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt.
Definition: adc1.h:7237
INLINE void ADC1_PP_Ch0_UP_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt flag.
Definition: adc1.h:7157
INLINE void ADC1_PP_Ch0_Filt_UpLo_En(void)
Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 0.
Definition: adc1.h:6497
INLINE void ADC1_PP_Ch0_Filt_UpLo_Dis(void)
Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 0.
Definition: adc1.h:6537

◆ ADC1_PP_Ch0_Filt_UpLo_En()

INLINE void ADC1_PP_Ch0_Filt_UpLo_En ( void  )

Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 0.

Example

This example treats the ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH0_UP_IS == 1u)
{
ADC1_PP_CH0_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch0_Lo_Cnt_Set()

INLINE void ADC1_PP_Ch0_Lo_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 0 Lower Timer Trigger.

Parameters
cntLower Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 0 Lower Timer Trigger to 2 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch0_Lo_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 0 Lower Timer Trigger.
Definition: adc1.h:6827

◆ ADC1_PP_Ch0_Lo_Hyst_Set()

INLINE void ADC1_PP_Ch0_Lo_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 0 Lower Hysteresis.

Parameters
hystLower Hysteresis

Example

This example sets ADC1 Post-Processing Channel 0 Lower Hysteresis to 8.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch0_Lo_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 0 Lower Hysteresis.
Definition: adc1.h:6737

◆ ADC1_PP_Ch0_LO_Int_Clr()

INLINE void ADC1_PP_Ch0_LO_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 0 Lower Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 0 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH0_LO_IS == 1u)
{
ADC1_PP_CH0_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch0_LO_Int_En(void)
Enables ADC1 Post-Processing-Channel 0 Lower Threshold Interrupt.
Definition: adc1.h:7247
INLINE void ADC1_PP_Ch0_LO_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 0 Lower Threshold Interrupt flag.
Definition: adc1.h:7162

◆ ADC1_PP_Ch0_LO_Int_Dis()

INLINE void ADC1_PP_Ch0_LO_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 0 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 0 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH0_LO_IS == 1u)
{
ADC1_PP_CH0_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch0_LO_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 0 Lower Threshold Interrupt.
Definition: adc1.h:7252

◆ ADC1_PP_Ch0_LO_Int_En()

INLINE void ADC1_PP_Ch0_LO_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 0 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 0 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH0_LO_IS == 1u)
{
ADC1_PP_CH0_LO_CALLBACK();
}
}

◆ ADC1_PP_Ch0_Lo_Th_Set()

INLINE void ADC1_PP_Ch0_Lo_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 0 Lower Trigger Level.

Parameters
trig_valLower Trigger Level

Example

This example sets ADC1 Post-Processing Channel 0 Lower Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch0_Lo_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 0 Lower Trigger Level.
Definition: adc1.h:6647

◆ ADC1_PP_Ch0_Mode_Meas_Sel()

INLINE void ADC1_PP_Ch0_Mode_Meas_Sel ( uint8  mmode)

Selects ADC1 Post-Processing Channel 0 Measurement Mode.

Parameters
mmodeMeasurement Mode

Example

This example sets ADC1 Post-Processing Channel 0 Measurement Mode to undervoltage limit measurement.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch0_Mode_Meas_Sel(uint8 mmode)
Selects ADC1 Post-Processing Channel 0 Measurement Mode.
Definition: adc1.h:6602

◆ ADC1_PP_Ch0_Up_Cnt_Set()

INLINE void ADC1_PP_Ch0_Up_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 0 Upper Timer Trigger.

Parameters
cntUpper Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 0 Upper Timer Trigger to 7 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch0_Up_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 0 Upper Timer Trigger.
Definition: adc1.h:6872

◆ ADC1_PP_Ch0_Up_Hyst_Set()

INLINE void ADC1_PP_Ch0_Up_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 0 Upper Hysteresis.

Parameters
hystUpper Hysteresis

Example

This example sets ADC1 Post-Processing Channel 0 Upper Hysteresis to 4.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch0_Up_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 0 Upper Hysteresis.
Definition: adc1.h:6782

◆ ADC1_PP_Ch0_UP_Int_Clr()

INLINE void ADC1_PP_Ch0_UP_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH0_UP_IS == 1u)
{
ADC1_PP_CH0_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch0_UP_Int_Dis()

INLINE void ADC1_PP_Ch0_UP_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH0_UP_IS == 1u)
{
ADC1_PP_CH0_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch0_UP_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt.
Definition: adc1.h:7242

◆ ADC1_PP_Ch0_UP_Int_En()

INLINE void ADC1_PP_Ch0_UP_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 0 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH0_UP_IS == 1u)
{
ADC1_PP_CH0_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch0_Up_Th_Set()

INLINE void ADC1_PP_Ch0_Up_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 0 Upper Trigger Level.

Parameters
trig_valUpper Trigger Level

Example

This example sets ADC1 Post-Processing Channel 0 Upper Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch0_Up_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 0 Upper Trigger Level.
Definition: adc1.h:6692

◆ ADC1_PP_Ch1_Filt_UpLo_Dis()

INLINE void ADC1_PP_Ch1_Filt_UpLo_Dis ( void  )

Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 1.

Example

This example treats the ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH1_UP_IS == 1u)
{
ADC1_PP_CH1_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch1_UP_Int_En(void)
Enables ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt.
Definition: adc1.h:7257
INLINE void ADC1_PP_Ch1_UP_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt flag.
Definition: adc1.h:7167
INLINE void ADC1_PP_Ch1_Filt_UpLo_Dis(void)
Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 1.
Definition: adc1.h:6542
INLINE void ADC1_PP_Ch1_Filt_UpLo_En(void)
Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 1.
Definition: adc1.h:6502

◆ ADC1_PP_Ch1_Filt_UpLo_En()

INLINE void ADC1_PP_Ch1_Filt_UpLo_En ( void  )

Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 1.

Example

This example treats the ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH1_UP_IS == 1u)
{
ADC1_PP_CH1_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch1_Lo_Cnt_Set()

INLINE void ADC1_PP_Ch1_Lo_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 1 Lower Timer Trigger.

Parameters
cntLower Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 1 Lower Timer Trigger to 2 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch1_Lo_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 1 Lower Timer Trigger.
Definition: adc1.h:6832

◆ ADC1_PP_Ch1_Lo_Hyst_Set()

INLINE void ADC1_PP_Ch1_Lo_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 1 Lower Hysteresis.

Parameters
hystLower Hysteresis

Example

This example sets ADC1 Post-Processing Channel 1 Lower Hysteresis to 8.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch1_Lo_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 1 Lower Hysteresis.
Definition: adc1.h:6742

◆ ADC1_PP_Ch1_LO_Int_Clr()

INLINE void ADC1_PP_Ch1_LO_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 1 Lower Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 1 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.VS_LO_IS == 1u)
{
ADC1_PP_CH1_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch1_LO_Int_En(void)
Enables ADC1 Post-Processing-Channel 1 Lower Threshold Interrupt.
Definition: adc1.h:7267
INLINE void ADC1_PP_Ch1_LO_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 1 Lower Threshold Interrupt flag.
Definition: adc1.h:7172

◆ ADC1_PP_Ch1_LO_Int_Dis()

INLINE void ADC1_PP_Ch1_LO_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 1 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 1 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.VS_LO_IS == 1u)
{
ADC1_PP_CH1_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch1_LO_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 1 Lower Threshold Interrupt.
Definition: adc1.h:7272

◆ ADC1_PP_Ch1_LO_Int_En()

INLINE void ADC1_PP_Ch1_LO_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 1 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 1 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.VS_LO_IS == 1u)
{
ADC1_PP_CH1_LO_CALLBACK();
}
}

◆ ADC1_PP_Ch1_Lo_Th_Set()

INLINE void ADC1_PP_Ch1_Lo_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 1 Lower Trigger Level.

Parameters
trig_valLower Trigger Level

Example

This example sets ADC1 Post-Processing Channel 1 Lower Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch1_Lo_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 1 Lower Trigger Level.
Definition: adc1.h:6652

◆ ADC1_PP_Ch1_Mode_Meas_Sel()

INLINE void ADC1_PP_Ch1_Mode_Meas_Sel ( uint8  mmode)

Selects ADC1 Post-Processing Channel 1 Measurement Mode.

Parameters
mmodeMeasurement Mode

Example

This example sets ADC1 Post-Processing Channel 1 Measurement Mode to undervoltage limit measurement.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch1_Mode_Meas_Sel(uint8 mmode)
Selects ADC1 Post-Processing Channel 1 Measurement Mode.
Definition: adc1.h:6607

◆ ADC1_PP_Ch1_Up_Cnt_Set()

INLINE void ADC1_PP_Ch1_Up_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 1 Upper Timer Trigger.

Parameters
cntUpper Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 1 Upper Timer Trigger to 7 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch1_Up_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 1 Upper Timer Trigger.
Definition: adc1.h:6877

◆ ADC1_PP_Ch1_Up_Hyst_Set()

INLINE void ADC1_PP_Ch1_Up_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 1 Upper Hysteresis.

Parameters
hystUpper Hysteresis

Example

This example sets ADC1 Post-Processing Channel 1 Upper Hysteresis to 4.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch1_Up_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 1 Upper Hysteresis.
Definition: adc1.h:6787

◆ ADC1_PP_Ch1_UP_Int_Clr()

INLINE void ADC1_PP_Ch1_UP_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.VS_UP_IS == 1u)
{
ADC1_PP_CH1_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch1_UP_Int_Dis()

INLINE void ADC1_PP_Ch1_UP_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.VS_UP_IS == 1u)
{
ADC1_PP_CH1_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch1_UP_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt.
Definition: adc1.h:7262

◆ ADC1_PP_Ch1_UP_Int_En()

INLINE void ADC1_PP_Ch1_UP_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 1 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.VS_UP_IS == 1u)
{
ADC1_PP_CH1_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch1_Up_Th_Set()

INLINE void ADC1_PP_Ch1_Up_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 1 Upper Trigger Level.

Parameters
trig_valUpper Trigger Level

Example

This example sets ADC1 Post-Processing Channel 1 Upper Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch1_Up_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 1 Upper Trigger Level.
Definition: adc1.h:6697

◆ ADC1_PP_Ch2_Filt_UpLo_Dis()

INLINE void ADC1_PP_Ch2_Filt_UpLo_Dis ( void  )

Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 2.

Example

This example treats the ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH2_UP_IS == 1u)
{
ADC1_PP_CH2_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch2_UP_Int_En(void)
Enables ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt.
Definition: adc1.h:7277
INLINE void ADC1_PP_Ch2_Filt_UpLo_En(void)
Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 2.
Definition: adc1.h:6507
INLINE void ADC1_PP_Ch2_Filt_UpLo_Dis(void)
Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 2.
Definition: adc1.h:6547
INLINE void ADC1_PP_Ch2_UP_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt flag.
Definition: adc1.h:7177

◆ ADC1_PP_Ch2_Filt_UpLo_En()

INLINE void ADC1_PP_Ch2_Filt_UpLo_En ( void  )

Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 2.

Example

This example treats the ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH2_UP_IS == 1u)
{
ADC1_PP_CH2_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch2_Lo_Cnt_Set()

INLINE void ADC1_PP_Ch2_Lo_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 2 Lower Timer Trigger.

Parameters
cntLower Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 2 Lower Timer Trigger to 2 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch2_Lo_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 2 Lower Timer Trigger.
Definition: adc1.h:6837

◆ ADC1_PP_Ch2_Lo_Hyst_Set()

INLINE void ADC1_PP_Ch2_Lo_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 2 Lower Hysteresis.

Parameters
hystLower Hysteresis

Example

This example sets ADC1 Post-Processing Channel 2 Lower Hysteresis to 8.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch2_Lo_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 2 Lower Hysteresis.
Definition: adc1.h:6747

◆ ADC1_PP_Ch2_LO_Int_Clr()

INLINE void ADC1_PP_Ch2_LO_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 2 Lower Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 2 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH2_LO_IS == 1u)
{
ADC1_PP_CH2_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch2_LO_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 2 Lower Threshold Interrupt flag.
Definition: adc1.h:7182
INLINE void ADC1_PP_Ch2_LO_Int_En(void)
Enables ADC1 Post-Processing-Channel 2 Lower Threshold Interrupt.
Definition: adc1.h:7287

◆ ADC1_PP_Ch2_LO_Int_Dis()

INLINE void ADC1_PP_Ch2_LO_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 2 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 2 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH2_LO_IS == 1u)
{
ADC1_PP_CH2_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch2_LO_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 2 Lower Threshold Interrupt.
Definition: adc1.h:7292

◆ ADC1_PP_Ch2_LO_Int_En()

INLINE void ADC1_PP_Ch2_LO_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 2 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 2 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH2_LO_IS == 1u)
{
ADC1_PP_CH2_LO_CALLBACK();
}
}

◆ ADC1_PP_Ch2_Lo_Th_Set()

INLINE void ADC1_PP_Ch2_Lo_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 2 Lower Trigger Level.

Parameters
trig_valLower Trigger Level

Example

This example sets ADC1 Post-Processing Channel 2 Lower Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch2_Lo_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 2 Lower Trigger Level.
Definition: adc1.h:6657

◆ ADC1_PP_Ch2_Mode_Meas_Sel()

INLINE void ADC1_PP_Ch2_Mode_Meas_Sel ( uint8  mmode)

Selects ADC1 Post-Processing Channel 2 Measurement Mode.

Parameters
mmodeMeasurement Mode

Example

This example sets ADC1 Post-Processing Channel 2 Measurement Mode to undervoltage limit measurement.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch2_Mode_Meas_Sel(uint8 mmode)
Selects ADC1 Post-Processing Channel 2 Measurement Mode.
Definition: adc1.h:6612

◆ ADC1_PP_Ch2_Up_Cnt_Set()

INLINE void ADC1_PP_Ch2_Up_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 2 Upper Timer Trigger.

Parameters
cntUpper Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 2 Upper Timer Trigger to 7 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch2_Up_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 2 Upper Timer Trigger.
Definition: adc1.h:6882

◆ ADC1_PP_Ch2_Up_Hyst_Set()

INLINE void ADC1_PP_Ch2_Up_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 2 Upper Hysteresis.

Parameters
hystUpper Hysteresis

Example

This example sets ADC1 Post-Processing Channel 2 Upper Hysteresis to 4.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch2_Up_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 2 Upper Hysteresis.
Definition: adc1.h:6792

◆ ADC1_PP_Ch2_UP_Int_Clr()

INLINE void ADC1_PP_Ch2_UP_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH2_UP_IS == 1u)
{
ADC1_PP_CH2_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch2_UP_Int_Dis()

INLINE void ADC1_PP_Ch2_UP_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH2_UP_IS == 1u)
{
ADC1_PP_CH2_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch2_UP_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt.
Definition: adc1.h:7282

◆ ADC1_PP_Ch2_UP_Int_En()

INLINE void ADC1_PP_Ch2_UP_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 2 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH2_UP_IS == 1u)
{
ADC1_PP_CH2_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch2_Up_Th_Set()

INLINE void ADC1_PP_Ch2_Up_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 2 Upper Trigger Level.

Parameters
trig_valUpper Trigger Level

Example

This example sets ADC1 Post-Processing Channel 2 Upper Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch2_Up_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 2 Upper Trigger Level.
Definition: adc1.h:6702

◆ ADC1_PP_Ch3_Filt_UpLo_Dis()

INLINE void ADC1_PP_Ch3_Filt_UpLo_Dis ( void  )

Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 3.

Example

This example treats the ADC1 Post-Processing-Channel 3 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH3_UP_IS == 1u)
{
ADC1_PP_CH3_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch3_Filt_UpLo_En(void)
Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 3.
Definition: adc1.h:6512
INLINE void ADC1_PP_Ch3_UP_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 3 Upper Threshold Interrupt flag.
Definition: adc1.h:7187
INLINE void ADC1_PP_Ch3_Filt_UpLo_Dis(void)
Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 3.
Definition: adc1.h:6552
INLINE void ADC1_PP_Ch3_UP_Int_En(void)
Enables ADC1 Post-Processing-Channel 3 Upper Threshold Interrupt.
Definition: adc1.h:7297

◆ ADC1_PP_Ch3_Filt_UpLo_En()

INLINE void ADC1_PP_Ch3_Filt_UpLo_En ( void  )

Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 3.

Example

This example treats the ADC1 Post-Processing-Channel 3 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH3_UP_IS == 1u)
{
ADC1_PP_CH3_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch3_Lo_Cnt_Set()

INLINE void ADC1_PP_Ch3_Lo_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 3 Lower Timer Trigger.

Parameters
cntLower Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 3 Lower Timer Trigger to 2 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch3_Lo_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 3 Lower Timer Trigger.
Definition: adc1.h:6842

◆ ADC1_PP_Ch3_Lo_Hyst_Set()

INLINE void ADC1_PP_Ch3_Lo_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 3 Lower Hysteresis.

Parameters
hystLower Hysteresis

Example

This example sets ADC1 Post-Processing Channel 3 Lower Hysteresis to 8.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch3_Lo_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 3 Lower Hysteresis.
Definition: adc1.h:6752

◆ ADC1_PP_Ch3_LO_Int_Clr()

INLINE void ADC1_PP_Ch3_LO_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 3 Lower Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 3 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH3_LO_IS == 1u)
{
ADC1_PP_CH3_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch3_LO_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 3 Lower Threshold Interrupt flag.
Definition: adc1.h:7192
INLINE void ADC1_PP_Ch3_LO_Int_En(void)
Enables ADC1 Post-Processing-Channel 3 Lower Threshold Interrupt.
Definition: adc1.h:7307

◆ ADC1_PP_Ch3_LO_Int_Dis()

INLINE void ADC1_PP_Ch3_LO_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 3 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 3 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH3_LO_IS == 1u)
{
ADC1_PP_CH3_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch3_LO_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 3 Lower Threshold Interrupt.
Definition: adc1.h:7312

◆ ADC1_PP_Ch3_LO_Int_En()

INLINE void ADC1_PP_Ch3_LO_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 3 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 3 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH3_LO_IS == 1u)
{
ADC1_PP_CH3_LO_CALLBACK();
}
}

◆ ADC1_PP_Ch3_Lo_Th_Set()

INLINE void ADC1_PP_Ch3_Lo_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 3 Lower Trigger Level.

Parameters
trig_valLower Trigger Level

Example

This example sets ADC1 Post-Processing Channel 3 Lower Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch3_Lo_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 3 Lower Trigger Level.
Definition: adc1.h:6662

◆ ADC1_PP_Ch3_Mode_Meas_Sel()

INLINE void ADC1_PP_Ch3_Mode_Meas_Sel ( uint8  mmode)

Selects ADC1 Post-Processing Channel 3 Measurement Mode.

Parameters
mmodeMeasurement Mode

Example

This example sets ADC1 Post-Processing Channel 3 Measurement Mode to undervoltage limit measurement.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch3_Mode_Meas_Sel(uint8 mmode)
Selects ADC1 Post-Processing Channel 3 Measurement Mode.
Definition: adc1.h:6617

◆ ADC1_PP_Ch3_Up_Cnt_Set()

INLINE void ADC1_PP_Ch3_Up_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 3 Upper Timer Trigger.

Parameters
cntUpper Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 3 Upper Timer Trigger to 7 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch3_Up_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 3 Upper Timer Trigger.
Definition: adc1.h:6887

◆ ADC1_PP_Ch3_Up_Hyst_Set()

INLINE void ADC1_PP_Ch3_Up_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 3 Upper Hysteresis.

Parameters
hystUpper Hysteresis

Example

This example sets ADC1 Post-Processing Channel 3 Upper Hysteresis to 4.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch3_Up_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 3 Upper Hysteresis.
Definition: adc1.h:6797

◆ ADC1_PP_Ch3_UP_Int_Clr()

INLINE void ADC1_PP_Ch3_UP_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 3 Upper Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 3 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH3_UP_IS == 1u)
{
ADC1_PP_CH3_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch3_UP_Int_Dis()

INLINE void ADC1_PP_Ch3_UP_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 3 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 3 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH3_UP_IS == 1u)
{
ADC1_PP_CH3_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch3_UP_Int_En()

INLINE void ADC1_PP_Ch3_UP_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 3 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 3 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH3_UP_IS == 1u)
{
ADC1_PP_CH3_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch3_Up_Th_Set()

INLINE void ADC1_PP_Ch3_Up_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 3 Upper Trigger Level.

Parameters
trig_valUpper Trigger Level

Example

This example sets ADC1 Post-Processing Channel 3 Upper Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch3_Up_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 3 Upper Trigger Level.
Definition: adc1.h:6707

◆ ADC1_PP_Ch4_Filt_UpLo_Dis()

INLINE void ADC1_PP_Ch4_Filt_UpLo_Dis ( void  )

Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 4.

Example

This example treats the ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH4_UP_IS == 1u)
{
ADC1_PP_CH4_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch4_Filt_UpLo_En(void)
Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 4.
Definition: adc1.h:6517
INLINE void ADC1_PP_Ch4_UP_Int_En(void)
Enables ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt.
Definition: adc1.h:7317
INLINE void ADC1_PP_Ch4_Filt_UpLo_Dis(void)
Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 4.
Definition: adc1.h:6557
INLINE void ADC1_PP_Ch4_UP_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt flag.
Definition: adc1.h:7197

◆ ADC1_PP_Ch4_Filt_UpLo_En()

INLINE void ADC1_PP_Ch4_Filt_UpLo_En ( void  )

Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 4.

Example

This example treats the ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH4_UP_IS == 1u)
{
ADC1_PP_CH4_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch4_Lo_Cnt_Set()

INLINE void ADC1_PP_Ch4_Lo_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 4 Lower Timer Trigger.

Parameters
cntLower Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 4 Lower Timer Trigger to 2 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch4_Lo_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 4 Lower Timer Trigger.
Definition: adc1.h:6847

◆ ADC1_PP_Ch4_Lo_Hyst_Set()

INLINE void ADC1_PP_Ch4_Lo_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 4 Lower Hysteresis.

Parameters
hystLower Hysteresis

Example

This example sets ADC1 Post-Processing Channel 4 Lower Hysteresis to 8.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch4_Lo_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 4 Lower Hysteresis.
Definition: adc1.h:6757

◆ ADC1_PP_Ch4_LO_Int_Clr()

INLINE void ADC1_PP_Ch4_LO_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 4 Lower Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 4 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH4_LO_IS == 1u)
{
ADC1_PP_CH4_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch4_LO_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 4 Lower Threshold Interrupt flag.
Definition: adc1.h:7202
INLINE void ADC1_PP_Ch4_LO_Int_En(void)
Enables ADC1 Post-Processing-Channel 4 Lower Threshold Interrupt.
Definition: adc1.h:7327

◆ ADC1_PP_Ch4_LO_Int_Dis()

INLINE void ADC1_PP_Ch4_LO_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 4 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 4 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH4_LO_IS == 1u)
{
ADC1_PP_CH4_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch4_LO_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 4 Lower Threshold Interrupt.
Definition: adc1.h:7332

◆ ADC1_PP_Ch4_LO_Int_En()

INLINE void ADC1_PP_Ch4_LO_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 4 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 4 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH4_LO_IS == 1u)
{
ADC1_PP_CH4_LO_CALLBACK();
}
}

◆ ADC1_PP_Ch4_Lo_Th_Set()

INLINE void ADC1_PP_Ch4_Lo_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 4 Lower Trigger Level.

Parameters
trig_valLower Trigger Level

Example

This example sets ADC1 Post-Processing Channel 4 Lower Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch4_Lo_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 4 Lower Trigger Level.
Definition: adc1.h:6667

◆ ADC1_PP_Ch4_Mode_Meas_Sel()

INLINE void ADC1_PP_Ch4_Mode_Meas_Sel ( uint8  mmode)

Selects ADC1 Post-Processing Channel 4 Measurement Mode.

Parameters
mmodeMeasurement Mode

Example

This example sets ADC1 Post-Processing Channel 4 Measurement Mode to undervoltage limit measurement.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch4_Mode_Meas_Sel(uint8 mmode)
Selects ADC1 Post-Processing Channel 4 Measurement Mode.
Definition: adc1.h:6622

◆ ADC1_PP_Ch4_Up_Cnt_Set()

INLINE void ADC1_PP_Ch4_Up_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 4 Upper Timer Trigger.

Parameters
cntUpper Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 4 Upper Timer Trigger to 7 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch4_Up_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 4 Upper Timer Trigger.
Definition: adc1.h:6892

◆ ADC1_PP_Ch4_Up_Hyst_Set()

INLINE void ADC1_PP_Ch4_Up_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 4 Upper Hysteresis.

Parameters
hystUpper Hysteresis

Example

This example sets ADC1 Post-Processing Channel 4 Upper Hysteresis to 4.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch4_Up_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 4 Upper Hysteresis.
Definition: adc1.h:6802

◆ ADC1_PP_Ch4_UP_Int_Clr()

INLINE void ADC1_PP_Ch4_UP_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH4_UP_IS == 1u)
{
ADC1_PP_CH4_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch4_UP_Int_Dis()

INLINE void ADC1_PP_Ch4_UP_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH4_UP_IS == 1u)
{
ADC1_PP_CH4_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch4_UP_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt.
Definition: adc1.h:7322

◆ ADC1_PP_Ch4_UP_Int_En()

INLINE void ADC1_PP_Ch4_UP_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 4 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH4_UP_IS == 1u)
{
ADC1_PP_CH4_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch4_Up_Th_Set()

INLINE void ADC1_PP_Ch4_Up_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 4 Upper Trigger Level.

Parameters
trig_valUpper Trigger Level

Example

This example sets ADC1 Post-Processing Channel 4 Upper Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch4_Up_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 4 Upper Trigger Level.
Definition: adc1.h:6712

◆ ADC1_PP_Ch5_Filt_UpLo_Dis()

INLINE void ADC1_PP_Ch5_Filt_UpLo_Dis ( void  )

Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 5.

Example

This example treats the ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH5_UP_IS == 1u)
{
ADC1_PP_CH5_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch5_Filt_UpLo_Dis(void)
Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 5.
Definition: adc1.h:6562
INLINE void ADC1_PP_Ch5_UP_Int_En(void)
Enables ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt.
Definition: adc1.h:7337
INLINE void ADC1_PP_Ch5_Filt_UpLo_En(void)
Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 5.
Definition: adc1.h:6522
INLINE void ADC1_PP_Ch5_UP_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt flag.
Definition: adc1.h:7207

◆ ADC1_PP_Ch5_Filt_UpLo_En()

INLINE void ADC1_PP_Ch5_Filt_UpLo_En ( void  )

Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 5.

Example

This example treats the ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH5_UP_IS == 1u)
{
ADC1_PP_CH5_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch5_Lo_Cnt_Set()

INLINE void ADC1_PP_Ch5_Lo_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 5 Lower Timer Trigger.

Parameters
cntLower Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 5 Lower Timer Trigger to 2 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch5_Lo_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 5 Lower Timer Trigger.
Definition: adc1.h:6852

◆ ADC1_PP_Ch5_Lo_Hyst_Set()

INLINE void ADC1_PP_Ch5_Lo_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 5 Lower Hysteresis.

Parameters
hystLower Hysteresis

Example

This example sets ADC1 Post-Processing Channel 5 Lower Hysteresis to 8.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch5_Lo_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 5 Lower Hysteresis.
Definition: adc1.h:6762

◆ ADC1_PP_Ch5_LO_Int_Clr()

INLINE void ADC1_PP_Ch5_LO_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 5 Lower Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 5 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH5_LO_IS == 1u)
{
ADC1_PP_CH5_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch5_LO_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 5 Lower Threshold Interrupt flag.
Definition: adc1.h:7212
INLINE void ADC1_PP_Ch5_LO_Int_En(void)
Enables ADC1 Post-Processing-Channel 5 Lower Threshold Interrupt.
Definition: adc1.h:7347

◆ ADC1_PP_Ch5_LO_Int_Dis()

INLINE void ADC1_PP_Ch5_LO_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 5 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 5 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH5_LO_IS == 1u)
{
ADC1_PP_CH5_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch5_LO_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 5 Lower Threshold Interrupt.
Definition: adc1.h:7352

◆ ADC1_PP_Ch5_LO_Int_En()

INLINE void ADC1_PP_Ch5_LO_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 5 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 5 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH5_LO_IS == 1u)
{
ADC1_PP_CH5_LO_CALLBACK();
}
}

◆ ADC1_PP_Ch5_Lo_Th_Set()

INLINE void ADC1_PP_Ch5_Lo_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 5 Lower Trigger Level.

Parameters
trig_valLower Trigger Level

Example

This example sets ADC1 Post-Processing Channel 5 Lower Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch5_Lo_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 5 Lower Trigger Level.
Definition: adc1.h:6672

◆ ADC1_PP_Ch5_Mode_Meas_Sel()

INLINE void ADC1_PP_Ch5_Mode_Meas_Sel ( uint8  mmode)

Selects ADC1 Post-Processing Channel 5 Measurement Mode.

Parameters
mmodeMeasurement Mode

Example

This example sets ADC1 Post-Processing Channel 5 Measurement Mode to undervoltage limit measurement.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch5_Mode_Meas_Sel(uint8 mmode)
Selects ADC1 Post-Processing Channel 5 Measurement Mode.
Definition: adc1.h:6627

◆ ADC1_PP_Ch5_Up_Cnt_Set()

INLINE void ADC1_PP_Ch5_Up_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 5 Upper Timer Trigger.

Parameters
cntUpper Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 5 Upper Timer Trigger to 7 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch5_Up_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 5 Upper Timer Trigger.
Definition: adc1.h:6897

◆ ADC1_PP_Ch5_Up_Hyst_Set()

INLINE void ADC1_PP_Ch5_Up_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 5 Upper Hysteresis.

Parameters
hystUpper Hysteresis

Example

This example sets ADC1 Post-Processing Channel 5 Upper Hysteresis to 4.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch5_Up_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 5 Upper Hysteresis.
Definition: adc1.h:6807

◆ ADC1_PP_Ch5_UP_Int_Clr()

INLINE void ADC1_PP_Ch5_UP_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH5_UP_IS == 1u)
{
ADC1_PP_CH5_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch5_UP_Int_Dis()

INLINE void ADC1_PP_Ch5_UP_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH5_UP_IS == 1u)
{
ADC1_PP_CH5_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch5_UP_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt.
Definition: adc1.h:7342

◆ ADC1_PP_Ch5_UP_Int_En()

INLINE void ADC1_PP_Ch5_UP_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 5 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH5_UP_IS == 1u)
{
ADC1_PP_CH5_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch5_Up_Th_Set()

INLINE void ADC1_PP_Ch5_Up_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 5 Upper Trigger Level.

Parameters
trig_valUpper Trigger Level

Example

This example sets ADC1 Post-Processing Channel 5 Upper Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch5_Up_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 5 Upper Trigger Level.
Definition: adc1.h:6717

◆ ADC1_PP_Ch6_Filt_UpLo_Dis()

INLINE void ADC1_PP_Ch6_Filt_UpLo_Dis ( void  )

Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 6.

Example

This example treats the ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH6_UP_IS == 1u)
{
ADC1_PP_CH6_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch6_UP_Int_En(void)
Enables ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt.
Definition: adc1.h:7357
INLINE void ADC1_PP_Ch6_Filt_UpLo_Dis(void)
Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 6.
Definition: adc1.h:6567
INLINE void ADC1_PP_Ch6_Filt_UpLo_En(void)
Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 6.
Definition: adc1.h:6527
INLINE void ADC1_PP_Ch6_UP_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt flag.
Definition: adc1.h:7217

◆ ADC1_PP_Ch6_Filt_UpLo_En()

INLINE void ADC1_PP_Ch6_Filt_UpLo_En ( void  )

Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 6.

Example

This example treats the ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH6_UP_IS == 1u)
{
ADC1_PP_CH6_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch6_Lo_Cnt_Set()

INLINE void ADC1_PP_Ch6_Lo_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 6 Lower Timer Trigger.

Parameters
cntLower Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 6 Lower Timer Trigger to 2 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch6_Lo_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 6 Lower Timer Trigger.
Definition: adc1.h:6857

◆ ADC1_PP_Ch6_Lo_Hyst_Set()

INLINE void ADC1_PP_Ch6_Lo_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 6 Lower Hysteresis.

Parameters
hystLower Hysteresis

Example

This example sets ADC1 Post-Processing Channel 6 Lower Hysteresis to 8.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch6_Lo_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 6 Lower Hysteresis.
Definition: adc1.h:6767

◆ ADC1_PP_Ch6_LO_Int_Clr()

INLINE void ADC1_PP_Ch6_LO_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 6 Lower Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 6 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH6_LO_IS == 1u)
{
ADC1_PP_CH6_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch6_LO_Int_En(void)
Enables ADC1 Post-Processing-Channel 6 Lower Threshold Interrupt.
Definition: adc1.h:7367
INLINE void ADC1_PP_Ch6_LO_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 6 Lower Threshold Interrupt flag.
Definition: adc1.h:7222

◆ ADC1_PP_Ch6_LO_Int_Dis()

INLINE void ADC1_PP_Ch6_LO_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 6 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 6 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH6_LO_IS == 1u)
{
ADC1_PP_CH6_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch6_LO_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 6 Lower Threshold Interrupt.
Definition: adc1.h:7372

◆ ADC1_PP_Ch6_LO_Int_En()

INLINE void ADC1_PP_Ch6_LO_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 6 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 6 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH6_LO_IS == 1u)
{
ADC1_PP_CH6_LO_CALLBACK();
}
}

◆ ADC1_PP_Ch6_Lo_Th_Set()

INLINE void ADC1_PP_Ch6_Lo_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 6 Lower Trigger Level.

Parameters
trig_valLower Trigger Level

Example

This example sets ADC1 Post-Processing Channel 6 Lower Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch6_Lo_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 6 Lower Trigger Level.
Definition: adc1.h:6677

◆ ADC1_PP_Ch6_Mode_Meas_Sel()

INLINE void ADC1_PP_Ch6_Mode_Meas_Sel ( uint8  mmode)

Selects ADC1 Post-Processing Channel 6 Measurement Mode.

Parameters
mmodeMeasurement Mode

Example

This example sets ADC1 Post-Processing Channel 6 Measurement Mode to undervoltage limit measurement.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch6_Mode_Meas_Sel(uint8 mmode)
Selects ADC1 Post-Processing Channel 6 Measurement Mode.
Definition: adc1.h:6632

◆ ADC1_PP_Ch6_Up_Cnt_Set()

INLINE void ADC1_PP_Ch6_Up_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 6 Upper Timer Trigger.

Parameters
cntUpper Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 6 Upper Timer Trigger to 7 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch6_Up_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 6 Upper Timer Trigger.
Definition: adc1.h:6902

◆ ADC1_PP_Ch6_Up_Hyst_Set()

INLINE void ADC1_PP_Ch6_Up_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 6 Upper Hysteresis.

Parameters
hystUpper Hysteresis

Example

This example sets ADC1 Post-Processing Channel 6 Upper Hysteresis to 4.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch6_Up_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 6 Upper Hysteresis.
Definition: adc1.h:6812

◆ ADC1_PP_Ch6_UP_Int_Clr()

INLINE void ADC1_PP_Ch6_UP_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH6_UP_IS == 1u)
{
ADC1_PP_CH6_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch6_UP_Int_Dis()

INLINE void ADC1_PP_Ch6_UP_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH6_UP_IS == 1u)
{
ADC1_PP_CH6_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch6_UP_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt.
Definition: adc1.h:7362

◆ ADC1_PP_Ch6_UP_Int_En()

INLINE void ADC1_PP_Ch6_UP_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 6 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH6_UP_IS == 1u)
{
ADC1_PP_CH6_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch6_Up_Th_Set()

INLINE void ADC1_PP_Ch6_Up_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 6 Upper Trigger Level.

Parameters
trig_valUpper Trigger Level

Example

This example sets ADC1 Post-Processing Channel 6 Upper Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch6_Up_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 6 Upper Trigger Level.
Definition: adc1.h:6722

◆ ADC1_PP_Ch7_Filt_UpLo_Dis()

INLINE void ADC1_PP_Ch7_Filt_UpLo_Dis ( void  )

Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 7.

Example

This example treats the ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH7_UP_IS == 1u)
{
ADC1_PP_CH7_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch7_Filt_UpLo_Dis(void)
Disables Upper and Lower Threshold IIR Filter Post-Processing Channel 7.
Definition: adc1.h:6572
INLINE void ADC1_PP_Ch7_UP_Int_En(void)
Enables ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt.
Definition: adc1.h:7377
INLINE void ADC1_PP_Ch7_UP_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt flag.
Definition: adc1.h:7227
INLINE void ADC1_PP_Ch7_Filt_UpLo_En(void)
Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 7.
Definition: adc1.h:6532

◆ ADC1_PP_Ch7_Filt_UpLo_En()

INLINE void ADC1_PP_Ch7_Filt_UpLo_En ( void  )

Enables Upper and Lower Threshold IIR Filter Post-Processing Channel 7.

Example

This example treats the ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH7_UP_IS == 1u)
{
ADC1_PP_CH7_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch7_Lo_Cnt_Set()

INLINE void ADC1_PP_Ch7_Lo_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 7 Lower Timer Trigger.

Parameters
cntLower Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 7 Lower Timer Trigger to 2 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch7_Lo_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 7 Lower Timer Trigger.
Definition: adc1.h:6862

◆ ADC1_PP_Ch7_Lo_Hyst_Set()

INLINE void ADC1_PP_Ch7_Lo_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 7 Lower Hysteresis.

Parameters
hystLower Hysteresis

Example

This example sets ADC1 Post-Processing Channel 7 Lower Hysteresis to 8.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch7_Lo_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 7 Lower Hysteresis.
Definition: adc1.h:6772

◆ ADC1_PP_Ch7_LO_Int_Clr()

INLINE void ADC1_PP_Ch7_LO_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 7 Lower Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 7 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH7_LO_IS == 1u)
{
ADC1_PP_CH7_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch7_LO_Int_Clr(void)
Clears ADC1 Post-Processing-Channel 7 Lower Threshold Interrupt flag.
Definition: adc1.h:7232
INLINE void ADC1_PP_Ch7_LO_Int_En(void)
Enables ADC1 Post-Processing-Channel 7 Lower Threshold Interrupt.
Definition: adc1.h:7387

◆ ADC1_PP_Ch7_LO_Int_Dis()

INLINE void ADC1_PP_Ch7_LO_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 7 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 7 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH7_LO_IS == 1u)
{
ADC1_PP_CH7_LO_CALLBACK();
}
}
INLINE void ADC1_PP_Ch7_LO_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 7 Lower Threshold Interrupt.
Definition: adc1.h:7392

◆ ADC1_PP_Ch7_LO_Int_En()

INLINE void ADC1_PP_Ch7_LO_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 7 Lower Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 7 Lower Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH7_LO_IS == 1u)
{
ADC1_PP_CH7_LO_CALLBACK();
}
}

◆ ADC1_PP_Ch7_Lo_Th_Set()

INLINE void ADC1_PP_Ch7_Lo_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 7 Lower Trigger Level.

Parameters
trig_valLower Trigger Level

Example

This example sets ADC1 Post-Processing Channel 7 Lower Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch7_Lo_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 7 Lower Trigger Level.
Definition: adc1.h:6682

◆ ADC1_PP_Ch7_Mode_Meas_Sel()

INLINE void ADC1_PP_Ch7_Mode_Meas_Sel ( uint8  mmode)

Selects ADC1 Post-Processing Channel 7 Measurement Mode.

Parameters
mmodeMeasurement Mode

Example

This example sets ADC1 Post-Processing Channel 7 Measurement Mode to undervoltage limit measurement.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch7_Mode_Meas_Sel(uint8 mmode)
Selects ADC1 Post-Processing Channel 7 Measurement Mode.
Definition: adc1.h:6637

◆ ADC1_PP_Ch7_Up_Cnt_Set()

INLINE void ADC1_PP_Ch7_Up_Cnt_Set ( uint8  cnt)

Sets ADC1 Post-Processing Channel 7 Upper Timer Trigger.

Parameters
cntUpper Timer Trigger

Example

This example sets ADC1 Post-Processing Channel 7 Upper Timer Trigger to 7 measurements.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch7_Up_Cnt_Set(uint8 cnt)
Sets ADC1 Post-Processing Channel 7 Upper Timer Trigger.
Definition: adc1.h:6907

◆ ADC1_PP_Ch7_Up_Hyst_Set()

INLINE void ADC1_PP_Ch7_Up_Hyst_Set ( uint8  hyst)

Sets ADC1 Post-Processing Channel 7 Upper Hysteresis.

Parameters
hystUpper Hysteresis

Example

This example sets ADC1 Post-Processing Channel 7 Upper Hysteresis to 4.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch7_Up_Hyst_Set(uint8 hyst)
Sets ADC1 Post-Processing Channel 7 Upper Hysteresis.
Definition: adc1.h:6817

◆ ADC1_PP_Ch7_UP_Int_Clr()

INLINE void ADC1_PP_Ch7_UP_Int_Clr ( void  )

Clears ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt flag.

Example

This example treats the ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH7_UP_IS == 1u)
{
ADC1_PP_CH7_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch7_UP_Int_Dis()

INLINE void ADC1_PP_Ch7_UP_Int_Dis ( void  )

Disables ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH7_UP_IS == 1u)
{
ADC1_PP_CH7_UP_CALLBACK();
}
}
INLINE void ADC1_PP_Ch7_UP_Int_Dis(void)
Disables ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt.
Definition: adc1.h:7382

◆ ADC1_PP_Ch7_UP_Int_En()

INLINE void ADC1_PP_Ch7_UP_Int_En ( void  )

Enables ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt.

Example

This example treats the ADC1 Post-Processing-Channel 7 Upper Threshold Interrupt.

void Example_Function(void)
{
if (ADC1->IRQS_2.bit.PP_CH7_UP_IS == 1u)
{
ADC1_PP_CH7_UP_CALLBACK();
}
}

◆ ADC1_PP_Ch7_Up_Th_Set()

INLINE void ADC1_PP_Ch7_Up_Th_Set ( uint8  trig_val)

Sets ADC1 Post-Processing Channel 7 Upper Trigger Level.

Parameters
trig_valUpper Trigger Level

Example

This example sets ADC1 Post-Processing Channel 7 Upper Trigger Level to Maximum value.

void Example_Function(void)
{
}
INLINE void ADC1_PP_Ch7_Up_Th_Set(uint8 trig_val)
Sets ADC1 Post-Processing Channel 7 Upper Trigger Level.
Definition: adc1.h:6727

◆ ADC1_Sequence0_Set()

INLINE void ADC1_Sequence0_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 0, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

◆ ADC1_Sequence10_Set()

INLINE void ADC1_Sequence10_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 10, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

void Example_Function(void)
{
}
INLINE void ADC1_Sequence10_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 10, only valid in Sequencer Mode, see ADC1_Sequencer_...
Definition: adc1.h:6182

◆ ADC1_Sequence11_Set()

INLINE void ADC1_Sequence11_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 11, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

void Example_Function(void)
{
}
INLINE void ADC1_Sequence11_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 11, only valid in Sequencer Mode, see ADC1_Sequencer_...
Definition: adc1.h:6187

◆ ADC1_Sequence12_Set()

INLINE void ADC1_Sequence12_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 12, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

void Example_Function(void)
{
}
INLINE void ADC1_Sequence12_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 12, only valid in Sequencer Mode, see ADC1_Sequencer_...
Definition: adc1.h:6192

◆ ADC1_Sequence13_Set()

INLINE void ADC1_Sequence13_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 13, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

void Example_Function(void)
{
}
INLINE void ADC1_Sequence13_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 13, only valid in Sequencer Mode, see ADC1_Sequencer_...
Definition: adc1.h:6197

◆ ADC1_Sequence1_Set()

INLINE void ADC1_Sequence1_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 1, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

void Example_Function(void)
{
}
INLINE void ADC1_Sequence1_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 1, only valid in Sequencer Mode, see ADC1_Sequencer_M...
Definition: adc1.h:6137

◆ ADC1_Sequence2_Set()

INLINE void ADC1_Sequence2_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 2, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

void Example_Function(void)
{
}
INLINE void ADC1_Sequence2_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 2, only valid in Sequencer Mode, see ADC1_Sequencer_M...
Definition: adc1.h:6142

◆ ADC1_Sequence3_Set()

INLINE void ADC1_Sequence3_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 3, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

void Example_Function(void)
{
}
INLINE void ADC1_Sequence3_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 3, only valid in Sequencer Mode, see ADC1_Sequencer_M...
Definition: adc1.h:6147

◆ ADC1_Sequence4_Set()

INLINE void ADC1_Sequence4_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 4, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

void Example_Function(void)
{
}
INLINE void ADC1_Sequence4_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 4, only valid in Sequencer Mode, see ADC1_Sequencer_M...
Definition: adc1.h:6152

◆ ADC1_Sequence5_Set()

INLINE void ADC1_Sequence5_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 5, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

void Example_Function(void)
{
}
INLINE void ADC1_Sequence5_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 5, only valid in Sequencer Mode, see ADC1_Sequencer_M...
Definition: adc1.h:6157

◆ ADC1_Sequence6_Set()

INLINE void ADC1_Sequence6_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 6, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

void Example_Function(void)
{
}
INLINE void ADC1_Sequence6_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 6, only valid in Sequencer Mode, see ADC1_Sequencer_M...
Definition: adc1.h:6162

◆ ADC1_Sequence7_Set()

INLINE void ADC1_Sequence7_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 7, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

void Example_Function(void)
{
}
INLINE void ADC1_Sequence7_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 7, only valid in Sequencer Mode, see ADC1_Sequencer_M...
Definition: adc1.h:6167

◆ ADC1_Sequence8_Set()

INLINE void ADC1_Sequence8_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 8, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

void Example_Function(void)
{
}
INLINE void ADC1_Sequence8_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 8, only valid in Sequencer Mode, see ADC1_Sequencer_M...
Definition: adc1.h:6172

◆ ADC1_Sequence9_Set()

INLINE void ADC1_Sequence9_Set ( uint16  mask_ch)

Defines the channels to be measured in Sequence 9, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.

Parameters
mask_cha bit mask of channels to be set for this sequence

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and channel 9 (P2.3).

void Example_Function(void)
{
}
INLINE void ADC1_Sequence9_Set(uint16 mask_ch)
Defines the channels to be measured in Sequence 9, only valid in Sequencer Mode, see ADC1_Sequencer_M...
Definition: adc1.h:6177

◆ ADC1_Sequence_Feedback_Sts()

INLINE uint8 ADC1_Sequence_Feedback_Sts ( void  )

Reads the Current Sequence that caused software mode.

Returns
Current Sequence that caused software mode

Example

This example reads the current sequence that caused software mode.

void Example_Function(void)
{
uint8 sts;
}
INLINE uint8 ADC1_Sequence_Feedback_Sts(void)
Reads the Current Sequence that caused software mode.
Definition: adc1.h:6122

◆ ADC1_Sequencer_Mode_Sel()

INLINE void ADC1_Sequencer_Mode_Sel ( void  )

Selects ADC1 Sequencer Mode.

Example

This example enables ADC1 and switches to Sequencer Mode.

void Example_Function(void)
{
}

◆ ADC1_Sequencer_Stop_Signal_Sts()

INLINE uint8 ADC1_Sequencer_Stop_Signal_Sts ( void  )

Reads the ADC1 Sequencer Stop Signal for DPP Status.

Return values
0if DPP is Running.
1if DPP is Stopped.

Example

This example enables ADC1 and switches to Sequencer Mode and reads the DPP Stop Signal Status in Sequencer Mode.

void Example_Function(void)
{
{
}
}
INLINE uint8 ADC1_Sequencer_Stop_Signal_Sts(void)
Reads the ADC1 Sequencer Stop Signal for DPP Status.
Definition: adc1.h:6117

◆ ADC1_SetEIMChannel()

INLINE void ADC1_SetEIMChannel ( uint8  channel)

Sets ADC1 EIM channel.

Parameters
channelchannel number to be converted

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
while (ADC1->FILT_OUTEIM.bit.VF_EIM == 0u)
{
}
adc_result = ADC1_EIM_Result_Get();
return(adc_result);
}

◆ ADC1_SetSosSwMode()

INLINE void ADC1_SetSosSwMode ( uint8  channel)

Starts ADC1 Software Mode conversion.

Parameters
channelADC1 channel number

This example enables ADC and starts Software Mode conversion for channel 6.

void Example_Function(void)
{
}
INLINE void ADC1_SetSosSwMode(uint8 channel)
Starts ADC1 Software Mode conversion.
Definition: adc1.h:7427

◆ ADC1_SetSwMode_Channel()

INLINE void ADC1_SetSwMode_Channel ( uint8  channel)

Selects a channel for the software conversion.

Parameters
channelchannel which should be measured

Example

This example starts an ADC1 conversion on channel 6 - P2.0.

void Example_Function(void)
{
}
INLINE void ADC1_SetSwMode_Channel(uint8 channel)
Selects a channel for the software conversion.
Definition: adc1.h:7422

◆ ADC1_Sig_Del_feed_Loop_En()

INLINE void ADC1_Sig_Del_feed_Loop_En ( void  )

Enables Sigma Delta Feedback Loop.

Example

This example enables Sigma Delta Feedback Loop.

void Example_Function(void)
{
}
INLINE void ADC1_Sig_Del_feed_Loop_En(void)
Enables Sigma Delta Feedback Loop.
Definition: adc1.h:7407

◆ ADC1_Soc_Clk_Jitter_Set()

INLINE void ADC1_Soc_Clk_Jitter_Set ( uint8  clk)

Sets Soc Clock Jitter.

Parameters
clkSoc Clock Jitter

Example

This example sets Soc Clock Jitter to 8n.

void Example_Function(void)
{
}
INLINE void ADC1_Soc_Clk_Jitter_Set(uint8 clk)
Sets Soc Clock Jitter.
Definition: adc1.h:7412
#define ADC1_Soc_Clk_Jitter_8
ADC1 Soc Clock Jitter Status macro, 8n.
Definition: adc1.h:231

◆ ADC1_Software_Mode_Sel()

INLINE void ADC1_Software_Mode_Sel ( void  )

Selects ADC1 Software Mode, measurements are performed on user request.

Example

This example enables ADC1, switches to Software Mode and starts an ADC1 conversion on channel 6 - P2.0

void Example_Function(void)
{
}

◆ ADC1_SOOC_Set()

INLINE void ADC1_SOOC_Set ( void  )

Starts an ADC1 Offset Calibration, for Software mode only.

Example

This example starts an ADC1 Offset Calibration.

void Example_Function(void)
{
}
INLINE void ADC1_SOOC_Set(void)
Starts an ADC1 Offset Calibration, for Software mode only.
Definition: adc1.h:6052

◆ ADC1_SOS_Set()

INLINE void ADC1_SOS_Set ( void  )

Starts an ADC1 Conversion, for Software mode only.

Example

This example starts an ADC1 conversion on channel 6 - P2.0.

◆ ADC1_STRTUP_Dis()

INLINE void ADC1_STRTUP_Dis ( void  )

Disables DPP1 Startup.

Example

This example disables DPP1 Startup.

void Example_Function(void)
{
}
INLINE void ADC1_STRTUP_Dis(void)
Disables DPP1 Startup.
Definition: adc1.h:6077

◆ ADC1_STRTUP_En()

INLINE void ADC1_STRTUP_En ( void  )

Enables DPP1 Startup.

Example

This example enables DPP1 Startup.

void Example_Function(void)
{
}
INLINE void ADC1_STRTUP_En(void)
Enables DPP1 Startup.
Definition: adc1.h:6072

◆ ADC1_SW_Channel_Read()

INLINE uint8 ADC1_SW_Channel_Read ( void  )

Reads the enabled channels for the software conversion.

Returns
Channels Enabled for the software conversion

Example

This example returns the ADC1 enabled Channel.

void Example_Function(void)
{
uint16 var;
bool value_valid;
value_valid = ADC1_GetChResult(&var, ADC1_SW_Channel_Read());
}
INLINE uint8 ADC1_SW_Channel_Read(void)
Reads the enabled channels for the software conversion.
Definition: adc1.h:6067

◆ ADC1_SW_Channel_Sel()

INLINE void ADC1_SW_Channel_Sel ( uint8  a)

Selects a channel for the software conversion.

Parameters
achannel which should be measured

Example

This example starts an ADC1 conversion on channel 6 - P2.0.

◆ ADC1_SW_Max_Time_Set()

INLINE void ADC1_SW_Max_Time_Set ( uint8  time)

Sets Maximum Time in Software Mode.

Parameters
timeMaximum Time

Example

This example starts an ADC1 conversion on channel 6 - P2.0 after setting Maximum Time to 12.75us.

void Example_Function(void)
{
}
INLINE void ADC1_SW_Max_Time_Set(uint8 time)
Sets Maximum Time in Software Mode.
Definition: adc1.h:6127

◆ ADC1_VBAT_SENSE_Result_Get()

INLINE uint16 ADC1_VBAT_SENSE_Result_Get ( void  )

Reads the converted value from the channel 0 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 0 (VBAT_SENSE) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(0) == 1u)
{
}
}

◆ ADC1_VS_Result_Get()

INLINE uint16 ADC1_VS_Result_Get ( void  )

Reads the converted value from the channel 1 result register.

Returns
12-bit value, with left aligned 10-bit result

Example

This example enables ADC1 and switches to Sequencer Mode, and programs channel 1 (VS) and reads the result.

void Example_Function(void)
{
uint16 adc_result;
if (ADC1_GetChResValid(1) == 1u)
{
adc_result = ADC1_VS_Result_Get();
}
}