1.8.2.3 1.25.1.3 1.26.1.3 1.27.2.3 1.28.2.3 1.35.1.3 1.36.1.3 1.41.1.3 ADC_ChannelsDisable Function

C

void ADC_ChannelsDisable (ADC_CHANNEL_MASK channelsMask)

Summary

Disables the ADC channels

Description

This function disables channels specified in channelsMask

Precondition

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

Parameters

Param Description
channelsMask set of channel numbers

Returns

None.

Example

ADC_Initialize();
ADC_ChannelsDisable(ADC_CH0_MASK | ADC_CH3_MASK);

Remarks

This function does not enable channels which are not included in the channel mask.