36.6.11 Comparator n Comparator Control B

Name: COMP[n].COMPCTRLB
Offset: 0x44 + n*0x10 [n=0..1]
Reset: 0x00000000
Property: Local Write-Protection

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
       REFSEL[1:0] 
Access R/WR/W 
Reset 00 

Bits 1:0 – REFSEL[1:0] Reference Selection

This bit field controls the reference voltage for the reference scaler.

The internal reference can only be used if the reference is below VDD - 0.5V.

ValueNameDescription
0x0 VDD VDD
0x1 INTVREF Internal reference voltage, as defined by the Internal Reference Selection bit field in the Control B register (CTRLB.INTREF)
0x2 EXTVREF External reference pin
Other Reserved