1.11.1.3 ADCHS_ModulesDisable Function

C

void ADCHS_ModulesDisable (ADCHS_MODULE_MASK modulesMask)

Summary

Disables the ADC modules

Description

This function disables ADC modules specified in modulesMask

Precondition

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

Parameters

Param Description
modulesMask set of ADC modules

Returns

None.

Example

ADCHS_Initialize();
ADCHS_ModulesDisable(ADCHS_MODULE0_MASK | ADCHS_MODULE3_MASK);

Remarks

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