Struct tcc_events

Event flags for the tcc_enable_events() and tcc_disable_events().

Table 1. Members
Type Name Description
bool generate_event_on_channel[]

Generate an output event on a channel capture/match. Specify which channels will generate events.

bool generate_event_on_counter_event

Generate an output event on counter boundary. See tcc_event_output_action.

bool generate_event_on_counter_overflow

Generate an output event on counter overflow/underflow.

bool generate_event_on_counter_retrigger

Generate an output event on counter retrigger.

struct tcc_input_event_config input_config[]

Input events configuration.

bool on_event_perform_channel_action[]

Perform the configured event action when an incoming channel event is signalled.

bool on_input_event_perform_action[]

Perform the configured event action when an incoming event is signalled.

struct tcc_output_event_config output_config

Output event configuration.