Event Control
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EVACT[2:0] | CNTEI | ||||||
Access | R/W | R/W | R/W | R/W | |||
Reset | 0 | 0 | 0 | 0 |
Event Action
This bit field defines what action the counter will take upon certain event conditions.
Value | Name | Description |
---|---|---|
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. |
Other | Reserved |
Enable Count on Event Input
Value | Description |
---|---|
0 | Count on Event input is disabled |
1 | Count on Event input is enabled according to EVACT bit field |