![]() |
Infineon MOTIX™ MCU TLE985x Device Family SDK
|
Go to the source code of this file.
ADC1 low level access library.
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... | |
#define ADC1_CH0 (0) |
ADC1 channel selection macro, channel 0 - VBAT_SENSE.
#define ADC1_CH1 (1) |
ADC1 channel selection macro, channel 1 - VS.
#define ADC1_CH12 (12) |
ADC1 channel selection macro, channel 12 - P2.7.
#define ADC1_CH13 (13) |
ADC1 channel selection macro, channel 13 - CSA.
#define ADC1_CH2 (2) |
ADC1 channel selection macro, channel 2 - MON1.
#define ADC1_CH3 (3) |
ADC1 channel selection macro, channel 3 - MON2.
#define ADC1_CH4 (4) |
ADC1 channel selection macro, channel 4 - MON3.
#define ADC1_CH5 (5) |
ADC1 channel selection macro, channel 5 - MON4.
#define ADC1_CH6 (6) |
ADC1 channel selection macro, channel 6 - P2.0.
#define ADC1_CH7 (7) |
ADC1 channel selection macro, channel 7 - P2.1.
#define ADC1_CH8 (8) |
ADC1 channel selection macro, channel 8 - P2.2.
#define ADC1_CH9 (9) |
ADC1 channel selection macro, channel 9 - P2.3.
#define ADC1_CNT_1 (0u) |
ADC1 Lower Counter Trigger Level macro, 1 Measurement.
#define ADC1_CNT_2 (1u) |
ADC1 Lower Counter Trigger Level macro, 2 Measurements.
#define ADC1_CNT_4 (2u) |
ADC1 Lower Counter Trigger Level macro, 4 Measurements.
#define ADC1_CNT_7 (3u) |
ADC1 Lower Counter Trigger Level macro, 7 Measurements.
#define ADC1_HYST_16 (3u) |
ADC1 Lower Hysteresis Trigger Level macro, HYST 16.
#define ADC1_HYST_4 (1u) |
ADC1 Lower Hysteresis Trigger Level macro, HYST 4.
#define ADC1_HYST_8 (2u) |
ADC1 Lower Hysteresis Trigger Level macro, HYST 8.
#define ADC1_HYST_OFF (0u) |
ADC1 Lower Hysteresis Trigger Level macro, HYST OFF.
#define ADC1_MASK_CH0 (1u << 0u) |
ADC1 Sequencer/ESM channel selection macro, channel 0 - VBAT_SENSE.
#define ADC1_MASK_CH1 (1u << 1u) |
ADC1 Sequencer/ESM channel selection macro, channel 1 - VS.
#define ADC1_MASK_CH12 (1u << 12u) |
ADC1 Sequencer/ESM channel selection macro, channel 12 - P2.7.
#define ADC1_MASK_CH13 (1u << 13u) |
ADC1 Sequencer/ESM channel selection macro, channel 13 - CSA.
#define ADC1_MASK_CH2 (1u << 2u) |
ADC1 Sequencer/ESM channel selection macro, channel 2 - MON1.
#define ADC1_MASK_CH3 (1u << 3u) |
ADC1 Sequencer/ESM channel selection macro, channel 3 - MON2.
#define ADC1_MASK_CH4 (1u << 4u) |
ADC1 Sequencer/ESM channel selection macro, channel 4 - MON3.
#define ADC1_MASK_CH5 (1u << 5u) |
ADC1 Sequencer/ESM channel selection macro, channel 5 - MON4.
#define ADC1_MASK_CH6 (1u << 6u) |
ADC1 Sequencer/ESM channel selection macro, channel 6 - P2.0.
#define ADC1_MASK_CH7 (1u << 7u) |
ADC1 Sequencer/ESM channel selection macro, channel 7 - P2.1.
#define ADC1_MASK_CH8 (1u << 8u) |
ADC1 Sequencer/ESM channel selection macro, channel 8 - P2.2.
#define ADC1_MASK_CH9 (1u << 9u) |
ADC1 Sequencer/ESM channel selection macro, channel 9 - P2.3.
#define ADC1_MASK_MON1 (ADC1_MASK_CH2) |
ADC1 Sequencer/ESM channel selection macro, channel 2 - MON1.
#define ADC1_MASK_MON2 (ADC1_MASK_CH3) |
ADC1 Sequencer/ESM channel selection macro, channel 3 - MON2.
#define ADC1_MASK_MON3 (ADC1_MASK_CH4) |
ADC1 Sequencer/ESM channel selection macro, channel 4 - MON3.
#define ADC1_MASK_MON4 (ADC1_MASK_CH5) |
ADC1 Sequencer/ESM channel selection macro, channel 5 - MON4.
#define ADC1_MASK_OPA (ADC1_MASK_CH13) |
ADC1 Sequencer/ESM channel selection macro, channel 13 - CSA.
#define ADC1_MASK_P20 (ADC1_MASK_CH6) |
ADC1 Sequencer/ESM channel selection macro, channel 6 - P2.0.
#define ADC1_MASK_P21 (ADC1_MASK_CH7) |
ADC1 Sequencer/ESM channel selection macro, channel 7 - P2.1.
#define ADC1_MASK_P22 (ADC1_MASK_CH8) |
ADC1 Sequencer/ESM channel selection macro, channel 8 - P2.2.
#define ADC1_MASK_P23 (ADC1_MASK_CH9) |
ADC1 Sequencer/ESM channel selection macro, channel 9 - P2.3.
#define ADC1_MASK_P27 (ADC1_MASK_CH12) |
ADC1 Sequencer/ESM channel selection macro, channel 12 - P2.7.
#define ADC1_MASK_VBAT_SENSE (ADC1_MASK_CH0) |
ADC1 Sequencer/ESM channel selection macro, channel 0 - VBAT_SENSE.
#define ADC1_MASK_VS (ADC1_MASK_CH1) |
ADC1 Sequencer/ESM channel selection macro, channel 1 - VS.
#define ADC1_MMODE_0 0u |
ADC1 Overvoltage Measurement Mode macro, upper and lower voltage limit measurement.
#define ADC1_MMODE_OV 2u |
ADC1 Overvoltage Measurement Mode macro, overvoltage limit measurement.
#define ADC1_MMODE_UV 1u |
ADC1 Overvoltage Measurement Mode macro, undervoltage limit measurement.
#define ADC1_MON1 ADC1_CH2 |
ADC1 channel selection macro, channel 2 - MON1.
#define ADC1_MON2 ADC1_CH3 |
ADC1 channel selection macro, channel 3 - MON2.
#define ADC1_MON3 ADC1_CH4 |
ADC1 channel selection macro, channel 4 - MON3.
#define ADC1_MON4 ADC1_CH5 |
ADC1 channel selection macro, channel 5 - MON4.
#define ADC1_OPA ADC1_CH13 |
ADC1 channel selection macro, channel 13 - CSA.
#define ADC1_P20 ADC1_CH6 |
ADC1 channel selection macro, channel 6 - P2.0.
#define ADC1_P21 ADC1_CH7 |
ADC1 channel selection macro, channel 7 - P2.1.
#define ADC1_P22 ADC1_CH8 |
ADC1 channel selection macro, channel 8 - P2.2.
#define ADC1_P23 ADC1_CH9 |
ADC1 channel selection macro, channel 9 - P2.3.
#define ADC1_P27 ADC1_CH12 |
ADC1 channel selection macro, channel 12 - P2.7.
#define ADC1_Soc_Clk_Jitter_0 (0u) |
ADC1 Soc Clock Jitter Status macro, 0n.
#define ADC1_Soc_Clk_Jitter_3_5 (1u) |
ADC1 Soc Clock Jitter Status macro, 3.5n.
#define ADC1_Soc_Clk_Jitter_5_5 (2u) |
ADC1 Soc Clock Jitter Status macro, 5.5n.
#define ADC1_Soc_Clk_Jitter_8 (3u) |
ADC1 Soc Clock Jitter Status macro, 8n.
#define ADC1_VBAT_SENSE ADC1_CH0 |
ADC1 channel selection macro, channel 0 - VBAT_SENSE.
#define ADC1_VREF 1.21 |
ADC1 reference voltage 1.21V.
#define ADC1_VS ADC1_CH1 |
ADC1 channel selection macro, channel 1 - VS.
#define OVERWRITE 0u |
ADC1 Result Register macro, Overwrite Mode.
#define SEQ_Mode 0u |
Mode Selection macro, Sequencer Mode.
#define SW_Mode 1u |
ADC1 Mode Selection macro, Software Mode.
#define WFR 1u |
ADC1 Result Register macro, Wait For Read Mode.
enum 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.
enum TADC1_TRIGG_SEL |
This enum lists the trigger select options for EIM and ESM.
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.
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.
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.
INLINE void ADC1_Ch0_Overwrite_Set | ( | void | ) |
Sets the result register channel 0 to "overwrite".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 0 (VBAT_SENSE) and reads the result.
Reads the converted value from the channel 0 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 0 (VBAT_SENSE) and reads the result.
INLINE void ADC1_Ch0_WaitForRead_Set | ( | void | ) |
Sets the result register channel 0 to "wait for read".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 0 (VBAT_SENSE) and reads the result.
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.
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.
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.
INLINE void ADC1_Ch12_Overwrite_Set | ( | void | ) |
Sets the result register channel 12 to "overwrite".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 12 (P2.7) and reads the result.
Reads the converted value from the channel 12 (P2.7) result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 12 (P2.7) and reads the result.
INLINE void ADC1_Ch12_WaitForRead_Set | ( | void | ) |
Sets the result register channel 12 to "wait for read".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 12 (P2.7) and reads the result.
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.
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.
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.
INLINE void ADC1_Ch13_Overwrite_Set | ( | void | ) |
Sets the result register channel 13 to "overwrite".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 13 (CSA) and reads the result.
Reads the converted value from the channel 13 (CSA) result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 13 (CSA) and reads the result.
INLINE void ADC1_Ch13_WaitForRead_Set | ( | void | ) |
Sets the result register channel 13 to "wait for read".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 13 (CSA) and reads the result.
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.
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.
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.
INLINE void ADC1_Ch1_Overwrite_Set | ( | void | ) |
Sets the result register channel 1 to "overwrite".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 1 (VS) and reads the result.
Reads the converted value from the channel 1 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 1 (VS) and reads the result.
INLINE void ADC1_Ch1_WaitForRead_Set | ( | void | ) |
Sets the result register channel 1 to "wait for read".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 1 (VS) and reads the result.
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.
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.
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.
INLINE void ADC1_Ch2_Overwrite_Set | ( | void | ) |
Sets the result register channel 2 to "overwrite".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.
Reads the converted value from the channel 2 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.
INLINE void ADC1_Ch2_WaitForRead_Set | ( | void | ) |
Sets the result register channel 2 to "wait for read".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.
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.
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.
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.
INLINE void ADC1_Ch3_Overwrite_Set | ( | void | ) |
Sets the result register channel 3 to "overwrite".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and reads the result.
Reads the converted value from the channel 3 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and reads the result.
INLINE void ADC1_Ch3_WaitForRead_Set | ( | void | ) |
Sets the result register channel 3 to "wait for read".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and reads the result.
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.
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.
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.
INLINE void ADC1_Ch4_Overwrite_Set | ( | void | ) |
Sets the result register channel 4 to "overwrite".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 4 (MON3) and reads the result.
Reads the converted value from the channel 4 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 4 (MON3) and reads the result.
INLINE void ADC1_Ch4_WaitForRead_Set | ( | void | ) |
Sets the result register channel 4 to "wait for read".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 4 (MON3) and reads the result.
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.
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.
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.
INLINE void ADC1_Ch5_Overwrite_Set | ( | void | ) |
Sets the result register channel 5 to "overwrite".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 5 (MON4) and reads the result.
Reads the converted value from the channel 5 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 5 (MON4) and reads the result.
INLINE void ADC1_Ch5_WaitForRead_Set | ( | void | ) |
Sets the result register channel 5 to "wait for read".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 5 (MON4) and reads the result.
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.
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.
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.
INLINE void ADC1_Ch6_Overwrite_Set | ( | void | ) |
Sets the result register channel 6 to "overwrite".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 6 (P2.0) and reads the result.
Reads the converted value from the channel 6 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 6 (P2.0) and reads the result.
INLINE void ADC1_Ch6_WaitForRead_Set | ( | void | ) |
Sets the result register channel 6 to "wait for read".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 6 (P2.0) and reads the result.
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.
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.
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.
INLINE void ADC1_Ch7_Overwrite_Set | ( | void | ) |
Sets the result register channel 7 to "overwrite".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 7 (P2.1) and reads the result.
Reads the converted value from the channel 7 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 7 (P2.1) and reads the result.
INLINE void ADC1_Ch7_WaitForRead_Set | ( | void | ) |
Sets the result register channel 7 to "wait for read".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 7 (P2.1) and reads the result.
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.
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.
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.
INLINE void ADC1_Ch8_Overwrite_Set | ( | void | ) |
Sets the result register channel 8 to "overwrite".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 8 (P2.2) and reads the result.
Reads the converted value from the channel 8 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 8 (P2.2) and reads the result.
INLINE void ADC1_Ch8_WaitForRead_Set | ( | void | ) |
Sets the result register channel 8 to "wait for read".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 8 (P2.2) and reads the result.
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.
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.
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.
INLINE void ADC1_Ch9_Overwrite_Set | ( | void | ) |
Sets the result register channel 9 to "overwrite".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 9 (P2.3) and reads the result.
Reads the converted value from the channel 9 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 9 (P2.3) and reads the result.
INLINE void ADC1_Ch9_WaitForRead_Set | ( | void | ) |
Sets the result register channel 9 to "wait for read".
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 9 (P2.3) and reads the result.
Reads the currently active channel status.
Example
This example enables ADC1 and switches to Software Mode and reads the currently active channel 6.
Reads the currently active channel status in Sequencer Mode.
Example
This example enables ADC1 and switches to Sequencer Mode and reads the currently active channel 6 in Sequencer Mode.
INLINE void ADC1_DU1_Dis | ( | void | ) |
Disables ADC1 Differential Unit 1.
Example
This example enables ADC1 and DU1 and reads the result.
INLINE void ADC1_DU1_En | ( | void | ) |
Enables ADC1 Differential Unit 1.
Example
This example enables ADC1 and DU1 and reads the result.
Sets ADC1 Differential Unit 1 Lower Timer Trigger.
cnt | Lower Timer Trigger |
Example
This example sets ADC1 Differential Unit 1 Lower Timer Trigger to 2 measurements.
Sets ADC1 Differential Unit 1 Lower Hysteresis.
hyst | Lower Hysteresis |
Example
This example sets ADC1 Differential Unit 1 Lower Hysteresis to 8.
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.
Sets ADC1 Differential Unit 1 Lower Trigger Level.
trig_val | Lower Trigger Level |
Example
This example sets ADC1 Differential Unit 1 Lower Trigger Level to Maximum value.
Selects ADC1 Differential Unit 1 Measurement Mode.
mmode | Measurement Mode |
Example
This example sets ADC1 Differential Unit 1 Measurement Mode to undervoltage limit measurement.
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.
Reads ADC differential 1 output value.
Example
This example enables ADC1 and DU1 and reads the result.
Reads the Differential Unit 1 Negative Result Status.
Example
This example reads DU1 Result status.
Sets ADC1 Differential Unit 1 Upper Timer Trigger.
cnt | Upper Timer Trigger |
Example
This example sets ADC1 Differential Unit 1 Upper Timer Trigger to 7 measurements.
Sets ADC1 Differential Unit 1 Upper Hysteresis.
hyst | Upper Hysteresis |
Example
This example sets ADC1 Differential Unit 1 Upper Hysteresis to 4.
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.
Sets ADC1 Differential Unit 1 Upper Trigger Level.
trig_val | Upper Trigger Level |
Example
This example sets ADC1 Differential Unit 1 Upper Trigger Level to Maximum value.
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.
INLINE void ADC1_DU1LO_Int_Clr | ( | void | ) |
Clears Differential Unit 1 lower Interrupt flag.
Example
This example treats the Differential Unit 1 lower Interrupt.
INLINE void ADC1_DU1LO_Int_Dis | ( | void | ) |
Disables Differential Unit 1 lower Interrupt.
Example
This example treats the Differential Unit 1 lower Interrupt.
INLINE void ADC1_DU1LO_Int_En | ( | void | ) |
Enables Differential Unit 1 lower Interrupt.
Example
This example treats the Differential Unit 1 lower Interrupt.
INLINE void ADC1_DU1UP_Int_Clr | ( | void | ) |
Clears Differential Unit 1 upper Interrupt flag.
Example
This example treats the Differential Unit 1 upper Interrupt.
INLINE void ADC1_DU1UP_Int_Dis | ( | void | ) |
Disables Differential Unit 1 upper Interrupt.
Example
This example treats the Differential Unit 1 upper Interrupt.
INLINE void ADC1_DU1UP_Int_En | ( | void | ) |
Enables Differential Unit 1 upper Interrupt.
Example
This example treats the Differential Unit 1 upper Interrupt.
Reads the active status of the Exceptional Interrupt Measurement (EIM).
1 | EIM ongoing |
0 | no 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).
Reads EIM channel for measurement.
Example
This example enables ADC1 and switches to Sequencer Mode, reads the corresponding Attenuator Factor of the EIM channel.
Sets EIM channel for measurement.
ch | channel to be measured |
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.
INLINE void ADC1_EIM_Dis | ( | void | ) |
Disables Exceptional interrupt measurement (EIM) Trigger Event.
Example
This example treats the Exceptional Interrupt Measurement (EIM).
INLINE void ADC1_EIM_En | ( | void | ) |
Enables Exceptional interrupt measurement (EIM) Trigger Event.
Example
This example treats the Exceptional Interrupt Measurement (EIM).
INLINE void ADC1_EIM_Int_Clr | ( | void | ) |
Clears Exceptional Interrupt Measurement (EIM) flag.
Example
This example treats the Exceptional Interrupt Measurement (EIM).
INLINE void ADC1_EIM_Int_Dis | ( | void | ) |
Disables Exceptional Interrupt Measurement (EIM).
Example
This example treats the Exceptional Interrupt Measurement (EIM).
INLINE void ADC1_EIM_Int_En | ( | void | ) |
Enables Exceptional Interrupt Measurement (EIM).
Example
This example treats the Exceptional Interrupt Measurement (EIM).
INLINE void ADC1_EIM_Repeat_Counter_Set | ( | TADC1_EIM_REP_CNT | repcnt | ) |
Sets ADC1 EIM Repeat Counter.
repcnt | repeat counter for EIM measurement, see TADC1_EIM_REP_CNT |
Example
This example enables ADC1 and sets EIM Repeat Counter to 4 Measures.
Reads the converted value from the EIM result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.
INLINE void ADC1_EIM_Trigger_Select | ( | TADC1_TRIGG_SEL | trigsel | ) |
Selects ADC1 EIM Trigger.
trigsel | Trigger select, see TADC1_TRIGG_SEL |
Example
This example enables ADC1 and sets EIM Trigger to Timer2.
Reads the End-of-Conversion status.
1 | if conversion has ended |
0 | if conversion still ongoing |
Example
This example enables ADC1 and switches to Software Mode, starts a measurement and waits for it to be finished.
Reads the active status of the Exceptional Sequencer Measurement (ESM).
1 | ESM ongoing |
0 | no 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).
Sets channels in ESM sequence.
mask_ch | bit mask of channels to be measured |
Example
This example enables ADC1, switches to Sequencer Mode, programs channel 6 (P2.0), and reads the result.
INLINE void ADC1_ESM_Dis | ( | void | ) |
Disables Exceptional Sequence measurement (ESM) Trigger Event.
Example
This example treats the Exceptional Sequence Measurement (ESM).
INLINE void ADC1_ESM_En | ( | void | ) |
Enables Exceptional Sequence measurement (ESM) Trigger Event.
Example
This example treats the Exceptional Sequence Measurement (ESM).
INLINE void ADC1_ESM_Int_Clr | ( | void | ) |
Clears Exceptional Sequence Measurement (ESM) flag.
Example
This example treats the Exceptional Sequence Measurement (ESM).
INLINE void ADC1_ESM_Int_Dis | ( | void | ) |
Disables Exceptional Sequence Measurement (ESM).
Example
This example treats the Exceptional Sequence Measurement (ESM).
INLINE void ADC1_ESM_Int_En | ( | void | ) |
Enables Exceptional Sequence Measurement (ESM).
Example
This example treats the Exceptional Sequence Measurement (ESM).
INLINE void ADC1_ESM_Trigger_Select | ( | TADC1_TRIGG_SEL | trigsel | ) |
Sets ADC1 ESM Trigger Selection.
trigsel | Trigger select, see TADC1_TRIGG_SEL |
Example
This example enables ADC1 and sets ESM Trigger Selection to Timer2.
Gets ADC1 Channel Attenuator Factor multiplied by 1024.
channel | ADC1 channel number |
Example
This example returns the ADC1 Channel 12 Attenuator Factor.
Gets the 10-bit value of the ADC1 Result Register of the selected ADC1 channel and returns the validity info.
channel | channel number (defined in adc1.h) | |
[out] | *pVar | 10-bit ADC1 Result Value of the selected "channel number" |
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).
Gets the 10-bit value of the ADC1 Result Register of the selected ADC1 channel in Millivolt (mV) and returns the validity info.
channel | channel number (defined in adc1.h) | |
[out] | pVar_mV | 10-bit ADC1 Result Value of the selected channel number converted to Millivolt (mV) |
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).
Gets the 10-bit value of the ADC1 Result Register of the selected ADC1 channel and returns the validity info.
channel | channel number (defined in adc1.h) |
value | of the valid flag of the selected channel |
Example
This example reads ADC1 Ch0 result in case it is valid.
Gets the 10-bit value of the ADC1 EIM Result Register and returns the validity info.
[out] | *pVar | = ADC value (10bit right aligned in 16 bit return value) |
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.
Gets the value of the ADC1 EIM Result Register in Millivolt (mV) and returns the validity info.
[out] | *pVar_mV | ADC1 EIM Result Register value converted to Millivolt (mV) |
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.
Gets ADC1 Software Mode End Of Conversion Status.
true | conversion done |
false | conversion ongoing |
Example
This example enables ADC1 and switches to Software Mode, starts a measurement and waits for it to be finished.
void ADC1_Init | ( | void | ) |
Initializes the ADC1 based on the Config Wizard configuration.
Checks Exceptional Interrupt Mode active.
true | EIM mode is active |
false | EIM mode is not active |
Example
This example enables ADC1 and switches to Sequencer Mode and checks if the Exceptional Interrupt Measurement (EIM) is active.
Checks EndOfConversion ready (Software Mode)
true | conversion done |
false | conversion ongoing |
Example
This example enables ADC1 and switches to Software Mode and checks if EndOfConversion is ready.
Checks Exceptional Sequencer Mode active.
true | ESM mode is active |
false | ESM mode is not active |
Example
This example enables ADC1 and switches to Sequencer Mode and checks if Exceptional Sequencer Measurement (ESM) is ready.
Reads the converted value from the channel 2 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.
Reads the converted value from the channel 3 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 3 (MON2) and reads the result.
Reads the converted value from the channel 4 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 4 (MON3) and reads the result.
Reads the converted value from the channel 5 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 5 (MON4) and reads the result.
Sets the Value of the Offset Calibration.
value | Offset Calibration Value |
Example
This example sets the Value of the Offset Calibration to Maximum Value.
Sets the Value of the Offset Shift.
value | Offset Shift Value |
Example
This example sets the Value of the Offset Shift to Maximum Value.
Reads the converted value from the channel 13 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 13 (CSA) and reads the result.
Reads the converted value from the channel 6 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 6 (P2.0) and reads the result.
Reads the converted value from the channel 7 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 7 (P2.1) and reads the result.
Reads the converted value from the channel 8 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 8 (P2.2) and reads the result.
Reads the converted value from the channel 9 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 9 (P2.3) and reads the result.
Reads the converted value from the channel 12 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 12 (P2.7) and reads the result.
INLINE void ADC1_Power_Off | ( | void | ) |
Disables the ADC1 module.
Example
This example disables the ADC1 module.
INLINE void ADC1_Power_On | ( | void | ) |
Enables the ADC1 module.
Example
This example enables the ADC1 module.
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.
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.
Sets ADC1 Post-Processing Channel 0 Lower Timer Trigger.
cnt | Lower Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 0 Lower Timer Trigger to 2 measurements.
Sets ADC1 Post-Processing Channel 0 Lower Hysteresis.
hyst | Lower Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 0 Lower Hysteresis to 8.
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.
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.
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.
Sets ADC1 Post-Processing Channel 0 Lower Trigger Level.
trig_val | Lower Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 0 Lower Trigger Level to Maximum value.
Selects ADC1 Post-Processing Channel 0 Measurement Mode.
mmode | Measurement Mode |
Example
This example sets ADC1 Post-Processing Channel 0 Measurement Mode to undervoltage limit measurement.
Sets ADC1 Post-Processing Channel 0 Upper Timer Trigger.
cnt | Upper Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 0 Upper Timer Trigger to 7 measurements.
Sets ADC1 Post-Processing Channel 0 Upper Hysteresis.
hyst | Upper Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 0 Upper Hysteresis to 4.
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.
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.
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.
Sets ADC1 Post-Processing Channel 0 Upper Trigger Level.
trig_val | Upper Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 0 Upper Trigger Level to Maximum value.
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.
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.
Sets ADC1 Post-Processing Channel 1 Lower Timer Trigger.
cnt | Lower Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 1 Lower Timer Trigger to 2 measurements.
Sets ADC1 Post-Processing Channel 1 Lower Hysteresis.
hyst | Lower Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 1 Lower Hysteresis to 8.
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.
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.
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.
Sets ADC1 Post-Processing Channel 1 Lower Trigger Level.
trig_val | Lower Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 1 Lower Trigger Level to Maximum value.
Selects ADC1 Post-Processing Channel 1 Measurement Mode.
mmode | Measurement Mode |
Example
This example sets ADC1 Post-Processing Channel 1 Measurement Mode to undervoltage limit measurement.
Sets ADC1 Post-Processing Channel 1 Upper Timer Trigger.
cnt | Upper Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 1 Upper Timer Trigger to 7 measurements.
Sets ADC1 Post-Processing Channel 1 Upper Hysteresis.
hyst | Upper Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 1 Upper Hysteresis to 4.
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.
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.
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.
Sets ADC1 Post-Processing Channel 1 Upper Trigger Level.
trig_val | Upper Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 1 Upper Trigger Level to Maximum value.
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.
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.
Sets ADC1 Post-Processing Channel 2 Lower Timer Trigger.
cnt | Lower Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 2 Lower Timer Trigger to 2 measurements.
Sets ADC1 Post-Processing Channel 2 Lower Hysteresis.
hyst | Lower Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 2 Lower Hysteresis to 8.
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.
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.
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.
Sets ADC1 Post-Processing Channel 2 Lower Trigger Level.
trig_val | Lower Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 2 Lower Trigger Level to Maximum value.
Selects ADC1 Post-Processing Channel 2 Measurement Mode.
mmode | Measurement Mode |
Example
This example sets ADC1 Post-Processing Channel 2 Measurement Mode to undervoltage limit measurement.
Sets ADC1 Post-Processing Channel 2 Upper Timer Trigger.
cnt | Upper Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 2 Upper Timer Trigger to 7 measurements.
Sets ADC1 Post-Processing Channel 2 Upper Hysteresis.
hyst | Upper Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 2 Upper Hysteresis to 4.
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.
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.
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.
Sets ADC1 Post-Processing Channel 2 Upper Trigger Level.
trig_val | Upper Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 2 Upper Trigger Level to Maximum value.
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.
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.
Sets ADC1 Post-Processing Channel 3 Lower Timer Trigger.
cnt | Lower Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 3 Lower Timer Trigger to 2 measurements.
Sets ADC1 Post-Processing Channel 3 Lower Hysteresis.
hyst | Lower Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 3 Lower Hysteresis to 8.
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.
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.
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.
Sets ADC1 Post-Processing Channel 3 Lower Trigger Level.
trig_val | Lower Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 3 Lower Trigger Level to Maximum value.
Selects ADC1 Post-Processing Channel 3 Measurement Mode.
mmode | Measurement Mode |
Example
This example sets ADC1 Post-Processing Channel 3 Measurement Mode to undervoltage limit measurement.
Sets ADC1 Post-Processing Channel 3 Upper Timer Trigger.
cnt | Upper Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 3 Upper Timer Trigger to 7 measurements.
Sets ADC1 Post-Processing Channel 3 Upper Hysteresis.
hyst | Upper Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 3 Upper Hysteresis to 4.
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.
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.
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.
Sets ADC1 Post-Processing Channel 3 Upper Trigger Level.
trig_val | Upper Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 3 Upper Trigger Level to Maximum value.
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.
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.
Sets ADC1 Post-Processing Channel 4 Lower Timer Trigger.
cnt | Lower Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 4 Lower Timer Trigger to 2 measurements.
Sets ADC1 Post-Processing Channel 4 Lower Hysteresis.
hyst | Lower Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 4 Lower Hysteresis to 8.
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.
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.
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.
Sets ADC1 Post-Processing Channel 4 Lower Trigger Level.
trig_val | Lower Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 4 Lower Trigger Level to Maximum value.
Selects ADC1 Post-Processing Channel 4 Measurement Mode.
mmode | Measurement Mode |
Example
This example sets ADC1 Post-Processing Channel 4 Measurement Mode to undervoltage limit measurement.
Sets ADC1 Post-Processing Channel 4 Upper Timer Trigger.
cnt | Upper Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 4 Upper Timer Trigger to 7 measurements.
Sets ADC1 Post-Processing Channel 4 Upper Hysteresis.
hyst | Upper Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 4 Upper Hysteresis to 4.
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.
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.
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.
Sets ADC1 Post-Processing Channel 4 Upper Trigger Level.
trig_val | Upper Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 4 Upper Trigger Level to Maximum value.
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.
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.
Sets ADC1 Post-Processing Channel 5 Lower Timer Trigger.
cnt | Lower Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 5 Lower Timer Trigger to 2 measurements.
Sets ADC1 Post-Processing Channel 5 Lower Hysteresis.
hyst | Lower Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 5 Lower Hysteresis to 8.
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.
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.
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.
Sets ADC1 Post-Processing Channel 5 Lower Trigger Level.
trig_val | Lower Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 5 Lower Trigger Level to Maximum value.
Selects ADC1 Post-Processing Channel 5 Measurement Mode.
mmode | Measurement Mode |
Example
This example sets ADC1 Post-Processing Channel 5 Measurement Mode to undervoltage limit measurement.
Sets ADC1 Post-Processing Channel 5 Upper Timer Trigger.
cnt | Upper Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 5 Upper Timer Trigger to 7 measurements.
Sets ADC1 Post-Processing Channel 5 Upper Hysteresis.
hyst | Upper Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 5 Upper Hysteresis to 4.
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.
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.
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.
Sets ADC1 Post-Processing Channel 5 Upper Trigger Level.
trig_val | Upper Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 5 Upper Trigger Level to Maximum value.
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.
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.
Sets ADC1 Post-Processing Channel 6 Lower Timer Trigger.
cnt | Lower Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 6 Lower Timer Trigger to 2 measurements.
Sets ADC1 Post-Processing Channel 6 Lower Hysteresis.
hyst | Lower Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 6 Lower Hysteresis to 8.
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.
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.
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.
Sets ADC1 Post-Processing Channel 6 Lower Trigger Level.
trig_val | Lower Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 6 Lower Trigger Level to Maximum value.
Selects ADC1 Post-Processing Channel 6 Measurement Mode.
mmode | Measurement Mode |
Example
This example sets ADC1 Post-Processing Channel 6 Measurement Mode to undervoltage limit measurement.
Sets ADC1 Post-Processing Channel 6 Upper Timer Trigger.
cnt | Upper Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 6 Upper Timer Trigger to 7 measurements.
Sets ADC1 Post-Processing Channel 6 Upper Hysteresis.
hyst | Upper Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 6 Upper Hysteresis to 4.
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.
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.
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.
Sets ADC1 Post-Processing Channel 6 Upper Trigger Level.
trig_val | Upper Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 6 Upper Trigger Level to Maximum value.
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.
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.
Sets ADC1 Post-Processing Channel 7 Lower Timer Trigger.
cnt | Lower Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 7 Lower Timer Trigger to 2 measurements.
Sets ADC1 Post-Processing Channel 7 Lower Hysteresis.
hyst | Lower Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 7 Lower Hysteresis to 8.
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.
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.
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.
Sets ADC1 Post-Processing Channel 7 Lower Trigger Level.
trig_val | Lower Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 7 Lower Trigger Level to Maximum value.
Selects ADC1 Post-Processing Channel 7 Measurement Mode.
mmode | Measurement Mode |
Example
This example sets ADC1 Post-Processing Channel 7 Measurement Mode to undervoltage limit measurement.
Sets ADC1 Post-Processing Channel 7 Upper Timer Trigger.
cnt | Upper Timer Trigger |
Example
This example sets ADC1 Post-Processing Channel 7 Upper Timer Trigger to 7 measurements.
Sets ADC1 Post-Processing Channel 7 Upper Hysteresis.
hyst | Upper Hysteresis |
Example
This example sets ADC1 Post-Processing Channel 7 Upper Hysteresis to 4.
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.
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.
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.
Sets ADC1 Post-Processing Channel 7 Upper Trigger Level.
trig_val | Upper Trigger Level |
Example
This example sets ADC1 Post-Processing Channel 7 Upper Trigger Level to Maximum value.
Defines the channels to be measured in Sequence 0, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Defines the channels to be measured in Sequence 10, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Defines the channels to be measured in Sequence 11, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Defines the channels to be measured in Sequence 12, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Defines the channels to be measured in Sequence 13, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Defines the channels to be measured in Sequence 1, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Defines the channels to be measured in Sequence 2, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Defines the channels to be measured in Sequence 3, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Defines the channels to be measured in Sequence 4, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Defines the channels to be measured in Sequence 5, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Defines the channels to be measured in Sequence 6, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Defines the channels to be measured in Sequence 7, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Defines the channels to be measured in Sequence 8, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Defines the channels to be measured in Sequence 9, only valid in Sequencer Mode, see ADC1_Sequencer_Mode_Sel.
mask_ch | a 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).
Reads the Current Sequence that caused software mode.
Example
This example reads the current sequence that caused software mode.
INLINE void ADC1_Sequencer_Mode_Sel | ( | void | ) |
Selects ADC1 Sequencer Mode.
Example
This example enables ADC1 and switches to Sequencer Mode.
Reads the ADC1 Sequencer Stop Signal for DPP Status.
0 | if DPP is Running. |
1 | if DPP is Stopped. |
Example
This example enables ADC1 and switches to Sequencer Mode and reads the DPP Stop Signal Status in Sequencer Mode.
Sets ADC1 EIM channel.
channel | channel number to be converted |
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 2 (MON1) and reads the result.
Starts ADC1 Software Mode conversion.
channel | ADC1 channel number |
This example enables ADC and starts Software Mode conversion for channel 6.
Selects a channel for the software conversion.
channel | channel which should be measured |
Example
This example starts an ADC1 conversion on channel 6 - P2.0.
INLINE void ADC1_Sig_Del_feed_Loop_En | ( | void | ) |
Enables Sigma Delta Feedback Loop.
Example
This example enables Sigma Delta Feedback Loop.
Sets Soc Clock Jitter.
clk | Soc Clock Jitter |
Example
This example sets Soc Clock Jitter to 8n.
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
INLINE void ADC1_SOOC_Set | ( | void | ) |
Starts an ADC1 Offset Calibration, for Software mode only.
Example
This example starts an ADC1 Offset Calibration.
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.
INLINE void ADC1_STRTUP_Dis | ( | void | ) |
Disables DPP1 Startup.
Example
This example disables DPP1 Startup.
INLINE void ADC1_STRTUP_En | ( | void | ) |
Enables DPP1 Startup.
Example
This example enables DPP1 Startup.
Reads the enabled channels for the software conversion.
Example
This example returns the ADC1 enabled Channel.
Selects a channel for the software conversion.
a | channel which should be measured |
Example
This example starts an ADC1 conversion on channel 6 - P2.0.
Sets Maximum Time in Software Mode.
time | Maximum Time |
Example
This example starts an ADC1 conversion on channel 6 - P2.0 after setting Maximum Time to 12.75us.
Reads the converted value from the channel 0 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 0 (VBAT_SENSE) and reads the result.
Reads the converted value from the channel 1 result register.
Example
This example enables ADC1 and switches to Sequencer Mode, and programs channel 1 (VS) and reads the result.