SBOSAC8 December 2024 OPT4041
PRODUCTION DATA
OPT4041 features a threshold detection logic which can be programmed to indicate and update register flags if measured light levels cross thresholds set by the user. The threshold condition can be programmed to use one of the two channels as a trigger, as determined by the THRESHOLD_CH_SEL register. There are independent low and high threshold target registers with independent flag registers to indicate the status of measured light level. Measured light levels reaching below the low threshold and above the high threshold are called faults. Users can program a fault count register, which counts consecutive number of faults before the flag registers are set. This is particularly useful in cases where the controller can read the flag register alone to get an indication of the measured light level without needing to perform lux calculations. Calculations for setting up the threshold are available in the Section 6.4.6 section.