1.34.1.2 AFECx_ChannelsEnable Function
C
void AFECx_ChannelsEnable (AFEC_CHANNEL_MASK channelsMask) // x - Instance of the AFEC peripheral
Summary
Enables the ADC channels
Description
This function enables channels specified in channelsMask
Precondition
AFECx_Initialize() function must have been called first for the associated instance.
Parameters
Param | Description |
---|---|
channelsMask | set of channel numbers |
Returns
None.
Example
AFEC0_Initialize(); AFEC0_ChannelsEnable(AFEC_CH0_MASK | AFEC_CH3_MASK);
Remarks
This function does not disable channels which are not included in the channel mask.