25.6.4.2.1 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.
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.
Return value | Description |
---|---|
STATUS_OK |
The module was initialized successfully |
STATUS_INVALID_ARG |
An invalid configuration option or argument was supplied |