20.5.9 Event Control
Name: | EVCTRL |
Offset: | 0x09 |
Reset: | 0x00 |
Property: | - |
Bit | 7 | 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 |
Bits 3:1 – EVACT[2:0] Event Action
These bits define 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 |
Bit 0 – CNTEI 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 |