1.2.10.7 1.3.11.7 1.4.9.7 1.5.10.7 1.6.11.7 1.7.12.7 1.9.8.7 1.29.11.7 1.30.8.7 1.31.8.7 1.32.12.7 1.33.8.7 1.37.8.7 1.38.9.7 1.39.8.7 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.