Jump to main content

##

# 2.44.4 EVSYS_UserEnable Function

## C

    void EVSYS_UserEnable(EVSYS_CHANNEL channel, uint8_t user)

## Summary

Enables EVSYS user

## Description

This function enables the specified EVSYS user.

## Precondition

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

## Parameters

Param | Description
--- | ---
channel | Channel for which the user needs to be enabled
user | User to be enabled

## Returns

None

## Example

    // Enable Event System user 1 for Event Channel 0
    EVSYS_UserEnable(EVSYS_CHANNEL_0, 1);

## Remarks

The EVSYS_UserEnable API should be used to enable user at run time.