40.8.3 Event Control
Name: | EVCTRL |
Offset: | 0x02 |
Reset: | 0x0000 |
Property: | PAC Write-Protection, Enable-Protected |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
INVEI3 | INVEI2 | INVEI1 | INVEI0 | COMPEI3 | COMPEI2 | COMPEI1 | COMPEI0 | ||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
WINEO1 | WINEO0 | COMPEO3 | COMPEO2 | COMPEO1 | COMPEO0 | ||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | |||
Reset | 0 | 0 | 0 | 0 | 0 | 0 |
Bits 12, 13, 14, 15 – INVEIx Inverted Event Input Enable x
Value | Description |
---|---|
0 | Incoming event is not inverted for comparator x. |
1 | Incoming event is inverted for comparator x. |
Bits 8, 9, 10, 11 – COMPEIx Comparator x Event Input
Note that several actions can be enabled for incoming events. If several events are connected to the peripheral, the enabled action will be taken for any of the incoming events. There is no way to tell which of the incoming events caused the action.
These bits indicate whether a comparison will start or not on any incoming event.
Value | Description |
---|---|
0 | Comparison will not start on any incoming event. |
1 | Comparison will start on any incoming event. |
Bits 4, 5 – WINEOx Window x Event Output Enable
These bits indicate whether the window x function can generate a peripheral event or not.
Value | Description |
---|---|
0 | Window x Event is disabled. |
1 | Window x Event is enabled. |
Bits 0, 1, 2, 3 – COMPEOx Comparator x Event Output Enable
These bits indicate whether the comparator x output can generate a peripheral event or not.
Value | Description |
---|---|
0 | COMPx event generation is disabled. |
1 | COMPx event generation is enabled. |