1.2.10.4 1.3.11.4 1.4.9.4 1.5.10.4 1.6.11.4 1.7.12.4 1.9.8.4 1.29.11.4 1.30.8.4 1.31.8.4 1.32.12.4 1.33.8.4 1.37.8.4 1.38.9.4 1.39.8.4 1.40.9.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.