Function tcc_enable_events()

Enables the TCC module event input or output.

enum status_code tcc_enable_events(
		struct tcc_module *const module_inst,
		struct tcc_events *const events)

Enables one or more input or output events to or from the TCC module. See tcc_events for a list of events this module supports.

Note: Events cannot be altered while the module is enabled.
Table 1. Parameters
Data direction Parameter name Description

[in]

module_inst

Pointer to the software module instance struct

[in]

events

Struct containing flags of events to enable or configure

Returns

Status of the events setup procedure.

Table 2. Return Values
Return value Description

STATUS_OK

The module was initialized successfully

STATUS_INVALID_ARG

An invalid configuration option or argument was supplied