25.6.5.7 Enum tcc_event1_action

Event action to perform when the module is triggered by event1.

Table 25-76. Members
Enum valueDescription

TCC_EVENT1_ACTION_OFF

No event action.

TCC_EVENT1_ACTION_RETRIGGER

Re-trigger Counter on event.

TCC_EVENT1_ACTION_DIR_CONTROL

The event source must be an asynchronous event, input value will override the direction settings. If TCEINVx is 0 and input event is LOW: counter will count up. If TCEINVx is 0 and input event is HIGH: counter will count down.

TCC_EVENT1_ACTION_STOP

Stop counter on event.

TCC_EVENT1_ACTION_DECREMENT

Decrement on event.

TCC_EVENT1_ACTION_PERIOD_PULSE_WIDTH_CAPTURE

Store period in capture register 0, pulse width in capture register 1.

TCC_EVENT1_ACTION_PULSE_WIDTH_PERIOD_CAPTURE

Store pulse width in capture register 0, period in capture register 1.

TCC_EVENT1_ACTION_NON_RECOVERABLE_FAULT

Generate Non-Recoverable Fault on event.