1.8.2.2 1.25.1.2 1.26.1.2 1.27.2.2 1.28.2.2 1.35.1.2 1.36.1.2 1.41.1.2 ADC_ChannelsEnable Function

C

void ADC_ChannelsEnable (ADC_CHANNEL_MASK channelsMask)

Summary

Enables the ADC channels

Description

This function enables channels specified in channelsMask

Precondition

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

Parameters

Param Description
channelsMask set of channel numbers

Returns

None.

Example

ADC_Initialize();
ADC_ChannelsEnable(ADC_CH0_MASK | ADC_CH3_MASK);

Remarks

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