Datasheet

ADP8863
Rev. A | Page 44 of 52
COMPARATOR REGISTER DESCRIPTIONS
Comparator Configuration (CCFG)—Register 0x1B
Table 65. CCFG Bit Map
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
FILT FORCE_RD L3_OUT L2_OUT L3_EN L2_EN
Table 66. Bit Descriptions for the CCFG Register
Bit Name Bit No. Description
FILT [7:5] Filter setting for the CMP_IN light sensor.
000 = 80 ms
001 = 160 ms
010 = 320 ms
011 = 640 ms
100 = 1280 ms
101 = 2560 ms
110 = 5120 ms
111 = 10,240 ms
FORCE_RD 4
Force a read of the CMP_IN light sensor while independent sinks are running, but the backlight is not. Reset by
chip after the conversion is complete and L2_OUT and L3_OUT are valid. Ignored if the backlight is enabled.
L3_OUT 3 This bit is the output of the L3 comparator.
L2_OUT 2 This bit is the output of the L2 comparator.
L3_EN 1 1 = the L3 comparator is enabled for the CMP_IN comparator.
0 = the L3 comparator is disabled for the CMP_IN comparator.
L2_EN 0 Note that the L3 comparator has priority over the L2 comparator.
1 = the L2 comparator is enabled for the CMP_IN comparator.
0 = the L2 comparator is disabled for the CMP_IN comparator.
Second Comparator Configuration (CCFG2)—Register 0x1C
Table 67. CCFG2 Bit Map
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
FILT2 FORCE_RD2 L3_OUT2 L2_OUT2 L3_EN2 L2_EN2
Table 68. Bit Descriptions for the CCFG2 Register
Bit Name Bit No. Description
FILT2 [7:5] Filter setting for the CMP_IN2 light sensor.
000 = 80 ms
001 = 160 ms
010 = 320 ms
011 = 640 ms
100 = 1280 ms
101 = 2560 ms
110 = 5120 ms
111= 10,240 ms
FORCE_RD2 4
Force a read of the CMP_IN2 light sensor while independent sinks are running, but the backlight is not. Reset by
chip after the conversion is complete and L2_OUT and L3_OUT are valid. Ignored if backlight is enabled.
L3_OUT2 3 This bit is the output of the L3 comparator for the second light sensor.
L2_OUT2 2 This bit is the output of the L2 comparator for the second light sensor.
L3_EN2 1 1 = the L3 comparator is enabled for the CMP_IN2 comparator.
0 = the L3 comparator is disabled for the CMP_IN2 comparator.
L2_EN2 0 Note that the L3 comparator has priority over the L2 comparator.
1 = the L2 comparator is enabled for the CMP_IN2 comparator.
0 = the L2 comparator is disabled for the CMP_IN2 comparator.