English
Language : 

TMD4903 Datasheet, PDF (28/86 Pages) ams AG – Color and Proximity Sensor Module with mobeam
Figure 32:
Interrupt Persistence Register
7
6
5
PPERS
TMD4903− RegisterDescription
Interrupt Persistence Register (PERS 0x8C)
4
3
2
1
0
APERS
Field
PPERS
APERS
Bits
Description
Proximity Interrupt Persistence. Defines a filter for the number of consecutive
occurrences that PDATA must remain outside the threshold range between PILT and
PIHT before an interrupt is generated. Any sample that is inside the threshold range
resets the counter to 0.
VALUE
CONSECUTIVE OCCURENCES OUT OF RANGE
7:4
0
Every proximity cycle generates an interrupt
1
Generate interrupt after every occurrence.
2
Generate interrupt after 2 occurrences.
...
Generate interrupt after PPERS occurrences.
15
Generate interrupt after 15 occurrences.
ALS Interrupt Persistence. Defines a filter for the number of consecutive occurrences
that CDATA must remain outside the threshold range between AILT and AIHT before an
interrupt is generated. Any sample that is inside the threshold range resets the counter
to 0.
VALUE
CONSECUTIVE OCCURENCES OUT OF RANGE
0
Every ALS cycle generates an interrupt
1
Generate interrupt after every occurrence.
3:0
2
Generate interrupt after 2 occurrences.
3
Generate interrupt after 3 occurrences.
4
Generate interrupt after 5 occurrences.
5
Generate interrupt after 10 occurrences.
…
Generate interrupt after 5 X (APERS -3) occurrences.
14
Generate interrupt after 55 occurrences.
15
Generate interrupt after 60 occurrences.
Page 28
Document Feedback
ams Datasheet
[v1-12] 2015-May-14