1.13.1.2 ADCHS_ModulesEnable Function

C

void ADCHS_ModulesEnable (ADCHS_MODULE_MASK modulesMask);

Summary

Enables the ADC modules

Description

This function enables ADC modules specified in modulessMask

Precondition

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

Parameters

Param Description
modulesMask set of ADC modules

Returns

None.

Example

ADCHS_Initialize();
ADCHS_ModulesEnable(ADCHS_MODULE0_MASK | ADCHS_MODULE3_MASK);

Remarks

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