1.9.1.9 ADC_CoreInterruptsEnable Function

C

void ADC_CoreInterruptsEnable(ADC_CORE_NUM core, ADC_CORE_INT interruptMask)

Summary

Enables the specified ADC core's interrupt

Description

This function enables the interrupt(s) on the specified ADC core

Precondition

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

Parameters

Param Description
core ADC core n
interruptMask Mask of interrupt sources to enable. Bitwise OR of the following macros: ADC_CORE_INT_CHRDY_0 ADC_CORE_INT_CHRDY_1 ADC_CORE_INT_CHRDY_2 ADC_CORE_INT_CHRDY_3 ADC_CORE_INT_CHRDY_4 ADC_CORE_INT_CHRDY_5 ADC_CORE_INT_CHRDY_6 ADC_CORE_INT_CHRDY_7 ADC_CORE_INT_EOSRDY ADC_CORE_INT_CHNERRC ADC_CORE_INT_FLTRDY ADC_CORE_INT_CHRDYC ADC_CORE_INT_SOVFL ADC_CORE_INT_CMPHIT

Returns

None

Example

ADC_CoreInterruptsEnable(ADC_CORE_NUM1, (ADC_CORE_INT_CHRDY_0|ADC_CORE_INT_CHNERRC));

Remarks

None