1.2.2.19 ADC_SoftwareControlledConversionEnable Function

C

void ADC_SoftwareControlledConversionEnable(ADC_CORE_NUM core, ADC_CHANNEL_NUM channel)

Summary

Enables software controlled conversion on the specified ADC core's channel

Description

Enabling software controlled conversion disables all the hardware triggers and GSWTRG and LSWTRG for all ADC SAR Coren specified by ADCORSEL[1:0] and the channelk specified by ADCHSEL[3:0]. It will place channel k’s conversions under the exclusive control of the SAMP and RQCNVRT bits.

Precondition

ADCx_Initialize() function must have been called first for the associated instance.

Parameters

Param Description
core ADC core n
channel ADC channel k

Returns

None

Example

ADC_SoftwareControlledConversionEnable(ADC_CORE_NUM1, ADC_CH0);

Remarks

None