1.6.2.2 1.7.2.2 1.10.1.2 1.11.1.2 1.12.1.2 1.13.1.2 1.22.1.2 1.23.1.2 1.24.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.