AMS TCS3400 EVM Руководство пользователя - Страница 11
Просмотреть онлайн или скачать pdf Руководство пользователя для Аксессуары AMS TCS3400 EVM. AMS TCS3400 EVM 13 страниц. Light-to-digital sensor evaluation kit
"ALS Interrupt" Sub Tab
This tab contains the settings for controlling the generation of ALS interrupts to a control processor.
The AILTH (0x85) and AIHTH (0x87) values are 16 bit thresholds for the upper and lower trigger
points. Each is set using two 8-bit registers.
Another control APERS (0x8C) establishes the required persistence, 0 through F, of the interrupt
signal.
Also on this screen is a button that will automatically generate the register values to provide
threshold settings 25% higher and lower than the currently measured amount of ambient light.
•
ALS Interrupt Low Threshold (0x84, 0x85) – Low light threshold for ALS interrupt.
1.
AILTL (0x84) – The lower 8 bits of the 16 bit low threshold value.
2.
AILTH (0x85) – The upper 8 bits of the 16 bit low threshold value.
•
ALS Interrupt High Threshold (0x86, 0x87) – High light threshold for ALS interrupt.
1.
AIHTL (0x86) – The lower 8 bits of the 16 bit high threshold value.
2.
AIHTH (0x87) – The upper 8 bits of the 16 bit high threshold value.
•
PERS (0x8C) – The APERS field (bits 3:0) controls the number of times the ALS interrupt
threshold (AILTH, AIHTH) is exceeded before the interrupt is generated. Setting a zero
means an interrupt is generated on every ALS reading. The meaning of the other settings is
shown in this table. The table is shown in decimal, however the value set in the GUI
window is in hex, 0...F.
•
The +/-25% button takes the current ambient light reading and automatically computes new
values for the AILTH and AIHTH registers, each with a 25% wider latitude. The values
calculated by this button are placed into the threshold registers and displayed (in decimal)
immediately above and below the button.
page 11/13