21.5.9 Event Control
| Name: | EVCTRL |
| Offset: | 0x09 |
| Reset: | 0x00 |
| Property: | - |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| EVACT[1:0] | CNTEI | ||||||||
| Access | R/W | R/W | R/W | ||||||
| Reset | 0 | 0 | 0 | ||||||
Bits 2:1 – EVACT[1:0] Event Action
These bits define what type of event action the counter will increment or decrement.
| Value | Name | Description |
|---|---|---|
| 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. The Event controls the count direction. Up-counting when the event line is 0, down-counting when the event line is 1. |
Bit 0 – CNTEI Enable Count on Event Input
| Value | Description |
|---|---|
| 0 | Counting on Event input is disabled |
| 1 | Counting on Event input is enabled according to EVACT bit field |
