1.28.2.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.