28.5.16 Window Comparator High Threshold
Name:
WINHT
Offset:
0x14
Reset:
0x00
Property: -
This register is the 16-bit high threshold for the digital comparator monitoring the ADCn.RES register. The
ADC itself has a 10-bit output, RES[9:0], where the MSb is RES[9]. The data format in ADC and Digital
Accumulation is one's complement, where 0x0000 represents the zero and 0xFFFF represents the
largest number (full scale).
The ADCn.WINHTH and ADCn.WINHTL register pair represents the 16-bit value, ADCn.WINHT. The low
byte [7:0] (suffix L) is accessible at the original offset. The high byte [15:8] (suffix H) can be accessed at
offset + 0x01.
Bit
15
Access
R/W
Reset
0
Bit
7
Access
R/W
Reset
0
Bits 15:8 – WINHT[15:8] Window Comparator High Threshold High Byte
These bits hold the MSB of the 16-bit register.
Bits 7:0 – WINHT[7:0] Window Comparator High Threshold Low Byte
These bits hold the LSB of the 16-bit register.
©
2018 Microchip Technology Inc.
14
13
R/W
R/W
0
0
6
5
R/W
R/W
0
0
Analog-to-Digital Converter (ADC)
12
11
WINHT[15:8]
R/W
R/W
0
0
4
3
WINHT[7:0]
R/W
R/W
0
0
Datasheet Preliminary
®
megaAVR
0-Series
10
9
R/W
R/W
0
0
2
1
R/W
R/W
0
0
DS40002015A-page 437
8
R/W
0
0
R/W
0
Need help?
Do you have a question about the megaAVR 0 Series and is the answer not in the manual?