TCC software device instance structure.
TCC software instance structure, used to retain software state information of an associated hardware module instance.
#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] |
Array of callbacks.
Referenced by _tcc_interrupt_handler(), tcc_init(), tcc_register_callback(), and tcc_unregister_callback().
bool tcc_module::double_buffering_enabled |
Set to true
to write to buffered registers.
Referenced by tcc_disable_double_buffering(), tcc_enable_double_buffering(), tcc_init(), tcc_set_compare_value(), tcc_set_pattern(), and tcc_set_top_value().
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().
Tcc* tcc_module::hw |
Hardware module pointer of the associated Timer/Counter peripheral.
Referenced by _tcc_interrupt_handler(), _tcc_set_compare_value(), _tcc_set_top_value(), run_reset_test(), tcc_clear_status(), tcc_disable(), tcc_disable_callback(), tcc_disable_circular_buffer_compare(), tcc_disable_circular_buffer_top(), tcc_disable_double_buffering(), tcc_disable_events(), tcc_dma_trigger_command(), tcc_enable(), tcc_enable_callback(), tcc_enable_circular_buffer_compare(), tcc_enable_circular_buffer_top(), tcc_enable_events(), tcc_force_double_buffer_update(), tcc_get_capture_value(), tcc_get_count_value(), tcc_get_status(), tcc_init(), tcc_is_running(), tcc_is_syncing(), tcc_lock_double_buffer_update(), tcc_reset(), tcc_restart_counter(), tcc_set_count_direction(), tcc_set_count_value(), tcc_set_pattern(), tcc_set_ramp_index(), tcc_stop_counter(), tcc_toggle_count_direction(), and tcc_unlock_double_buffer_update().
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().