Resets the TC module.
enum status_code tc_reset( const struct tc_module *const module_inst)
Resets the TC module, restoring all hardware module registers to their default values and disabling the module. The TC module will not be accessible while the reset is being performed.
| Data direction | Parameter name | Description |
|---|---|---|
|
[in] |
module_inst |
Pointer to the software module instance struct |
Status of the procedure.
| Return value | Description |
|---|---|
|
STATUS_OK |
The module was reset successfully |
|
STATUS_ERR_UNSUPPORTED_DEV |
A 32-bit slave TC module was passed to the function. Only use reset on master TC |