25.6.2.2 Struct tcc_config

Configuration struct for a TCC instance. This structure should be initialized by the tcc_get_config_defaults function before being modified by the user application.

Table 25-11. Members
TypeNameDescription
union tcc_config.@1@1

TCC match/capture configurations.

struct tcc_counter_configcounter

Structure for configuring TCC base timer/counter.

booldouble_buffering_enabled

Set to true to enable double buffering write. When enabled any write through tcc_set_top_value(), tcc_set_compare_value() and tcc_set_pattern() will direct to the buffer register as buffered value, and the buffered value will be committed to effective register on UPDATE condition, if update is not locked.

Note: The init values in tcc_config for tcc_init are always filled to effective registers, no matter double buffering enabled or not.
struct tcc_pins_configpins

Structure for configuring TCC output pins.

boolrun_in_standby

When true the module is enabled during standby.

struct tcc_wave_extension_configwave_ext

Structure for configuring TCC waveform extension.