28.7.3 Event Control

Table 28-5. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
R Readable bit HC Cleared by Hardware(Grey cell)Unimplemented
W Writable bit HS Set by Hardware X Bit is unknown at Reset
K Write to clear S Software settable bit
Name: EVCTRL
Offset: 0x02
Reset: 0x0000
Property: PAC Write-Protection, Enable-Protected

Bit 15141312111098 
       COMPEIxCOMPEIx 
Access R/WR/W 
Reset 00 
Bit 76543210 
    WINEO0  COMPEOxCOMPEOx 
Access R/WR/WR/W 
Reset 000 

Bits 9,8 – 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.

ValueDescription
0Comparison will not start on any incoming event.
1Comparison will start on any incoming event.

Bit 4 – WINEO0 Window 0 Event Output Enable

These bits indicate whether the window 0 function can generate a peripheral event or not.

ValueDescription
0Window 0 Event is disabled.
1Window 0 Event is enabled.

Bits 1,0 – COMPEOx Comparator x Event Output Enable

These bits indicate whether the comparator x output can generate a peripheral event or not.

ValueDescription
0COMPx event generation is disabled.
1COMPx event generation is enabled.