Struct tc_events

Event flags for the tc_enable_events() and tc_disable_events().

Table 1. Members
Type Name Description
enum tc_event_action event_action

Specifies which event to trigger if an event is triggered.

bool generate_event_on_compare_channel[]

Generate an output event on a compare channel match.

bool generate_event_on_overflow

Generate an output event on counter overflow.

bool invert_event_input

Specifies if the input event source is inverted, when used in PWP or PPW event action modes.

bool on_event_perform_action

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