43.7.6 ADC Channel Configuration Registers 1

Table 43-11. Register Bit Attribute Legend
Symbol Description Symbol Description Symbol Description
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: CONFIG[0].CHNCFG1
Offset: 0x24
Reset: 0x00000000
Property: PAC Write-Protected, Enable-Protected

Bit 3130292827262524 
   LVL13LVL12LVL11LVL10LVL9LVL8 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 2322212019181716 
 LVL7LVL6LVL5LVL4LVL3LVL2LVL1LVL0 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
   CHNCMPE13CHNCMPE12CHNCMPE11CHNCMPE10CHNCMPE9CHNCMPE8 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 76543210 
 CHNCMPE7CHNCMPE6CHNCMPE5CHNCMPE4CHNCMPE3CHNCMPE2CHNCMPE1CHNCMPE0 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 – LVLk Trigger Level for Input k

Bit 29 :LVL13 Scan Level Trigger mode select for ADC Module 0, analog input for the 1.2v IVREF

Bit 28 :LVL12 Scan Level Trigger mode select for ADC Module 0, analog input from Temperature Sensor

Bit 27 :LVL11 Scan Level Trigger mode select for ADC Module 0, analog input AIN11 (3)

Bit 26 :LVL10 Scan Level Trigger mode select for ADC Module 0, analog input AIN10 (3)

Bit 25 :LVL9 Scan Level Trigger mode select for ADC Module 0, analog input AIN9

Bit 24 :LVL8 Scan Level Trigger mode select for ADC Module 0, analog input AIN8

Bit 23 :LVL7 Scan Level Trigger mode select for ADC Module 0, analog input AIN7

Bit 22 :LVL6 Scan Level Trigger mode select for ADC Module 0, analog input AIN6

Bit 21 :LVL5 Scan Level Trigger mode select for ADC Module 0, analog input AIN5

Bit 20 :LVL4 Scan Level Trigger mode select for ADC Module 0, analog input AIN4

Bit 19 :LVL3 Scan Level Trigger mode select for ADC Module 0, analog input AIN3

Bit 18 :LVL2 Scan Level Trigger mode select for ADC Module 0, analog input AIN2

Bit 17 :LVL1 Scan Level Trigger mode select for ADC Module 0, analog input AIN1

Bit 16 :LVL0 Scan Level Trigger mode select for ADC Module 0, analog input AIN0

Note:
  1. These bits are ignored if CTRLB.SWCNVEN = 1.
  2. These bits are Enabled Protected (Writes are ignored when CTRLA.ENABLE = 1 returns a bus error).
  3. These bits not available in 64-pin package.
ValueDescription
0 Rising edge scan trigger mode select. A rising edge trigger event will initiate a single but complete scan of all included scan channels defined in CHNCFG21.CSSy (default).
1 Level scan trigger mode select. As long as the trigger event stays a logic high when The corresponding CHNCFG40/ CHNCFG50 TRGSRCx = 0b0011, (SCANTRG - Scan Trigger Select), the entire scan will re-trigger continuously.

Bits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 – CHNCMPEk Channel k Compare Enable

Bit 13 :CHNCMPE13 Enable digital comparator for processing ADC conversion results for the 1.2v IVREF

Bit 12 :CHNCMPE12 Enable digital comparator for processing ADC conversion results for the Temperature Sensor

Bit 11 :CHNCMPE11 Enable digital comparator for processing ADC conversion results for AIN11 (3)

Bit 10 :CHNCMPE10 Enable digital comparator for processing ADC conversion results for AIN10 (3)

Bit 9 :CHNCMPE9 Enable digital comparator for processing ADC conversion results for AIN9

Bit 8 :CHNCMPE8 Enable digital comparator for processing ADC conversion results for AIN8

Bit 7 :CHNCMPE7 Enable digital comparator for processing ADC conversion results for AIN7

Bit 6 :CHNCMPE6 Enable digital comparator for processing ADC conversion results for AIN6

Bit 5 :CHNCMPE5 Enable digital comparator for processing ADC conversion results for AIN5

Bit 4 :CHNCMPE4 Enable digital comparator for processing ADC conversion results for AIN4

Bit 3 :CHNCMPE3 Enable digital comparator for processing ADC conversion results for AIN3

Bit 2 :CHNCMPE2 Enable digital comparator for processing ADC conversion results for AIN2

Bit 1 :CHNCMPE1 Enable digital comparator for processing ADC conversion results for AIN1

Bit 0 :CHNCMPE0 Enable digital comparator for processing ADC conversion results for AIN0

Note:
  1. In addition to setting the CHNCMPENn bit in this register, the associated ADC Digital Comparator must be also properly configured in its Digital Comparator Control Register, CMPCTRL0 as well as EVCTRL0.CMPEO.
  2. These bits are ignored if CTRLB.SWCNVEN = 1 and are Enabled Protected (Writes are ignored when CTRLA.ENABLE = 1. Returns a bus error.)
  3. These bits not available in 64-pin package.
ValueDescription
0 ADC analog channel is not monitored by ADC internal digital comparator
1 ADC analog channel conversion result is monitored by ADC internal digital comparator