1.6.2.3 1.7.2.3 1.10.1.3 1.11.1.3 1.12.1.3 1.13.1.3 1.22.1.3 1.23.1.3 1.24.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.