1.34.1.4 AFECx_ChannelsInterruptEnable Function
C
void AFECx_ChannelsInterruptEnable (AFEC_INTERRUPT_MASK channelsInterruptMask) // x - Instance of the AFEC peripheral
Summary
Enables the ADC interrupt sources
Description
This function enables interrupt sources specified in channelsInterruptMask.
Precondition
AFECx_Initialize() must have been called first for the associated instance.
Parameters
Param | Description |
---|---|
channelsInterruptMask | interrupt sources |
Returns
None.
Example
AFEC0_Initialize();
AFEC0_ChannelsInterruptEnable(AFEC_INTERRUPT_EOC_0_MASK);
Remarks
This function does not disable interrupts which are not included in the mask.