Datasheet
Section 24 A/D Converter
REJ09B0465-0300 Rev. 3.00 Page 831 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
CMPVALL and the lower 2 bits of CMPVALH specify the voltage to be compared.
CMPVALH and CMPVALL are assigned to the same addresses as ADDR2 (ADDR2_2) and
ADDR3 (ADDR3_2), respectively. CMPVALH and CMPVALL become valid in compare mode.
Table 24.4 shows the correspondence between VAL[9:0] setting and the voltage to be compared.
Table 24.4 VAL[9:0] Setting and Corresponding Voltage to be Compared
VAL[9:0] Setting Voltage to be Compared
B'0000000000 AVss
B'0000000001 AVcc × 1/1024
B'0000000010 AVcc × 2/1024
: :
B'111111100 AVcc × 1020/1024
B'111111101 AVcc × 1021/1024
B'111111110 AVcc × 1022/1024
B'111111111 AVcc × 1023/1024