Struct tcc_match_wave_config

The structure, which helps to configure a TCC channel for compare operation and wave generation.

Table 1. Members
Type Name Description
enum tcc_channel_function channel_function[]

Channel functions selection (capture/match).

uint32_t match[]

Value to be used for compare match on each channel.

enum tcc_wave_generation wave_generation

Specifies which waveform generation mode to use.

enum tcc_wave_polarity wave_polarity[]

Specifies polarity for match output waveform generation.

enum tcc_ramp wave_ramp

Specifies Ramp mode for waveform generation.