Ambient and Infrared Proximity Sensor
Register Description (continued)
REGISTER
B7
B6
B5 B4 B3
B2
Threshold Persist Timer
PROX Threshold
Indicator
PROX Threshold
Digital Gain Trim of
Green Channel
Digital Gain Trim of
Infrared Channel
ABOVE
PRXPST[1:0]
PRXTHR[7:0]
TRIM_GAIN_GREEN[6:0]
TRIM_GAIN_IR[8:1]
B1
B0
ALSPST[1:0]
REGISTER
ADDRESS
POWER-ON
RESET
STATE
R/W
0x0A
0x00
R/W
0x0B
0x00
R/W
TRIM_
GREEN_
IR[0]
0x0C
0x0F
0x00
R/W
0x80
R/W
0x10
0x80
R/W
The individual register bits are explained below. Default power-up bit states are highlighted in bold.
REGISTER
Interrupt Status
Interrupt Status Register (0x00)
B7 B6 B5 B4 B3
B2
B1
B0
REGISTER
ADDRESS
POWER-ON
RESET
STATE
R/W
PWRON PRXINTS ALSINTS 0x00
0x04
R
The PWRON bit in the Interrupt Status register 0x00, if set, indicates that a power-on-reset (POR) condition has
occurred, and any user-programmed thresholds cannot be valid anymore. The ALSINTS bit in the Interrupt Status reg-
ister 0x00 indicates that an ambient light interrupt condition has occurred. The PRXINTS bit in the Interrupt Status reg-
ister 0x00 indicates that a proximity receive interrupt condition has occurred. If any of these bits is set to 1, the INT pin
is pulled low and asserted. Note: On Rev-1 of the device, the PWRON bit does not pull the INT pin low, even if set to 1.
Reading the Interrupt Status register clears the PWRON, ALSINTS, and PRXINTS bits, if set, and deasserts the INT
pin. INT is pulled high by the off-chip pullup resistor. The ALSINTS and PRXINTS bits are disabled and set to 0 if the
respective interrupt enable bits in Main Configuration register 0x01 are set to 0.
BIT 0
0
1
Ambient Interrupt Status (ALSINTS)
No interrupt trigger event has occurred.
OPERATION
The ambient light intensity has traversed outside the designated window limits defined by
Threshold registers for greater than persist timer count ALSPST[1:0], or an overflow condition in the ambient light
readings has occurred. This bit also causes the INT pin to be pulled low. Once set, the only way to clear this bit is
to read this register or to set the ALSINTE bit in register 0x01 to 0.
10 �������������������������������������������������������������������������������������