42.7.12 ADCn Event Control (ADC)

Table 42-18. 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[n]
Offset: 0x3C + n*0x20 [n=0..3]
Reset: 0x00000000
Property: PAC Write-Protected, Enable-Protected

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 Window Event Out Enable

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: These events correspond to EVSYS Event Generators 127-130 for Modules 0-3.
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 Enable

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: These events correspond to EVSYS Event Generators 123-126 for Modules 0-3.
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 Sample/Conversion Event/Trigger Invert Enable

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 Conversion Event/Trigger 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.