Event Control

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

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

Event Action

These bits define on what type of event action the counter will increment or decrement.

ValueNameDescription
0x0 EVACT_POSEDGE Count on positive edge event
0x1 EVACT_ANYEDGE Count on any edge event
0x2 EVACT_HIGHLVL Count on prescaled clock while event line is 1.
0x3 EVACT_UPDOWN Count on prescaled clock. Event controls count direction. Up-count when event line is 0, down-count when event line is 1.

Bit 0 – CNTEI: Enable Count on Event Input

Enable Count on Event Input

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