20.5.9 Event Control

Name: EVCTRL
Offset: 0x09
Reset: 0x00
Property: -

Bit 76543210 
     EVACT[2:0]CNTEI 
Access R/WR/WR/WR/W 
Reset 0000 

Bits 3:1 – EVACT[2:0] 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

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