38.7.12 Event Control

Table 38-19. 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: 0x03C
Reset: 0x00000000
Property: RW

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
   CMPEORESRDYEOSTARTINV  STARTEI 
Access R/WR/WR/WR/W 
Reset 0000 

Bit 5 – CMPEO Comparator Window Event Out

This bit indicates whether the Digital Comparator Window event output is enabled or not and whether an output event will be generated when the Digital Comparator Window is met.

Note: This event corresponds to EVSYS Event Generator 77.
Note:
  1. This bit is Enabled Protected. (Writes are ignored when CTRLA.ENABLE = 1. Returns a bus error).
ValueDescription
0Window event output is disabled, and an event will not be generated.
1Window event output is enabled, and an event will be generated.

Bit 4 – RESRDYEO Result Ready Event Out

This bit indicates whether the Result Ready event output is enabled or not and an output event will be generated when the conversion result is available.

Note: This event correspond to EVSYS Event Generator 76.
Note:
  1. This bit is Enabled Protected. (Writes are ignored when CTRLA.ENABLE = 1. Returns a bus error).
ValueDescription
0Result Ready event output is disabled, and an event will not be generated.
1Result Ready event output is enabled, and an event will be generated.

Bit 3 – STARTINV Start Conversion Invert

Note:
  1. Only rising edge EVSYS ADC Trigger events are acknowledged.
  2. This bit is Enabled Protected. (Writes are ignored when CTRLA.ENABLE = 1. Returns a bus error).
ValueDescription
0Start event input source is not inverted.
1Start event input source is inverted.

Bit 0 – STARTEI Start Event conversion input enable

Note:
  1. This bit is Enabled Protected. (Writes are ignored when CTRLA.ENABLE = 1. Returns a bus error.)
ValueDescription
0Not enabled. ADC Event System events cannot trigger start of conversions.
1Enabled. ADC Event System events can trigger start of conversions.