1.2.10.3 1.3.11.3 1.4.9.3 1.5.10.3 1.6.11.3 1.7.12.3 1.9.8.3 1.29.11.3 1.30.8.3 1.31.8.3 1.32.12.3 1.33.8.3 1.37.8.3 1.38.9.3 1.39.8.3 1.40.9.3 EVSYS_InterruptEnable Function
C
void EVSYS_InterruptEnable( EVSYS_CHANNEL channel, EVSYS_INT_MASK interruptMask )
Summary
Enables EVSYS interrupt
Description
This function enables 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 enabled |
interrupt | Interrupt to be enabled |
Returns
None
Example
// Enable Event System channel 2 Event Detection interrupt EVSYS_InterruptEnable(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.