2.3.74 ADCx_IndividualChannelInterruptPrioritySet Function
C
// x is instance of the peripheral and it is applicable only for devices having multiple instances of the peripheral.
inline static void ADCx_IndividualChannelInterruptPrioritySet(ADCx_CHANNEL channel, INTERRUPT_PRIORITY priorityValue);
Summary
Allows selection of priority for individual channel interrupt.
Description
This function allows selection of priority for individual channel interrupt.
Precondition
None.
Parameters
Param | Description |
---|---|
channel | Selected channel |
priorityValue | The numerical value of interrupt priority |
Returns
None.
Example
ADC1_Initialize();
ADC1_IndividualChannelInterruptPrioritySet(ADC1_CHANNEL0, INTERRUPT_PRIORITY_5);
Remarks
None.