Event Control

Name:
EVCTRL
Offset:
0x09
Reset:
0x00
Access:
-
Bit76543210
EVACT[2:0]CNTEI
AccessR/WR/WR/WR/W
Reset0000

Bits 3:1 – EVACT[2:0]: Event Action

Event Action

This bit field defines what action the counter will take upon certain event conditions.

ValueNameDescription
0x0 EVACT_POSEDGE Count on positive event edge
0x1 EVACT_ANYEDGE Count on any event edge
0x2 EVACT_HIGHLVL Count prescaled clock cycles while the event signal is high
0x3 EVACT_UPDOWN Count prescaled clock cycles. The event signal controls the count direction, up when low and down when high. The direction is latched when the counter counts.
Other   Reserved

Bit 0 – CNTEI: Enable Count on Event Input

Enable Count on Event Input

ValueDescription
0 Count on Event input is disabled
1 Count on Event input is enabled according to EVACT bit field