1.37.8.4 EVSYS_InterruptDisable Function

C

void EVSYS_InterruptDisable( EVSYS_CHANNEL channel, EVSYS_INT_MASK interruptMask )

Summary

Disables EVSYS interrupt

Description

This function disables the specified EVSYS interrupt.

Precondition

EVSYS module should be initialized with the required configuration parameters from the MHC GUI in the EVSYS_Initialize() function

Parameters

Param Description
channel Channel for which the interrupt needs to be disabled
interrupt Interrupt to be Disabled

Returns

None

Example

// Disable Event System channel 2 Event Detection interrupt
EVSYS_InterruptDisable(EVSYS_CHANNEL_2, EVSYS_INT_EVENT_DETECT);

Remarks

Interrupts configuration will be generated in EVSYS_Initialize() function as per user settings in MHC. The EVSYS_InterruptEnable and EVSYS_InterruptDisable API should be used to enable and disable interrupt at run time.