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 | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| Access | |||||||||
| Reset |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| Access | |||||||||
| Reset |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| Access | |||||||||
| Reset |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| REFSEL[1:0] | |||||||||
| Access | R/W | R/W | |||||||
| Reset | 0 | 0 | |||||||
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.
| Value | Name | Description |
|---|---|---|
| 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 |
