1.40.9.7 EVSYS_GeneratorEnable Function
C
void EVSYS_GeneratorEnable(EVSYS_CHANNEL channel, uint8_t generator)
Summary
Enables EVSYS generator.
Description
This function enables the specified EVSYS generator.
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 generator needs to be enabled |
generator | Generator to be enabled |
Returns
None
Example
// Enable Event System generator 1 for Event Channel 0 EVSYS_GeneratorEnable(EVSYS_CHANNEL_0, 1);
Remarks
The EVSYS_GeneratorEnable API should be used to enable generator at run time.