Microchip® Advanced Software Framework

TCC software device instance structure.

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.

#include <tcc.h>

Data Fields

tcc_callback_t callback [TCC_CALLBACK_N]
 Array of callbacks. More...
 
bool double_buffering_enabled
 Set to true to write to buffered registers. More...
 
uint32_t enable_callback_mask
 Bit mask for callbacks enabled. More...
 
Tcc * hw
 Hardware module pointer of the associated Timer/Counter peripheral. More...
 
uint32_t register_callback_mask
 Bit mask for callbacks registered. More...
 

tcc_callback_t tcc_module::callback[TCC_CALLBACK_N]
bool tcc_module::double_buffering_enabled
uint32_t tcc_module::enable_callback_mask

Bit mask for callbacks enabled.

Referenced by _tcc_interrupt_handler(), tcc_disable_callback(), tcc_enable_callback(), and tcc_init().

uint32_t tcc_module::register_callback_mask

Bit mask for callbacks registered.

Referenced by _tcc_interrupt_handler(), tcc_init(), tcc_register_callback(), and tcc_unregister_callback().