Struct tcc_module

TCC software instance structure, used to retain software state information of an associated hardware module instance.

Note: The fields of this structure should not be altered by the user application; they are reserved only for module-internal use.
Table 1. Members
Type Name Description
tcc_callback_t callback[]

Array of callbacks.

bool double_buffering_enabled

Set to true to write to buffered registers.

uint32_t enable_callback_mask

Bit mask for callbacks enabled.

Tcc * hw

Hardware module pointer of the associated Timer/Counter peripheral.

uint32_t register_callback_mask

Bit mask for callbacks registered.