43.7.4 Comparator Event Control (AC)

Table 43-5. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: EVCTRL
Offset: 0x02
Reset: 0x0000
Property: PAC Write-Protection, Enable-Protected

Bit 3130292827262524 
       INVEI1INVEI0 
Access R/WR/W 
Reset 00 
Bit 2322212019181716 
       COMPEI1COMPEI0 
Access R/WR/W 
Reset 00 
Bit 15141312111098 
        WINEO0 
Access R/W 
Reset 0 
Bit 76543210 
       COMPEO1COMPEO0 
Access R/WR/W 
Reset 00 

Bits 24, 25 – INVEIx Inverted Event Input Enable x

ValueDescription
0Incoming event is not inverted for comparator x.
1Incoming event is inverted for comparator x.

Bits 16, 17 – 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 8 – WINEO0 Window 0 Event Output Enable

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

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

Bits 0, 1 – 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.