Home
last modified time | relevance | path

Searched refs:alsDebounceSamples (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c245 uint8_t alsDebounceSamples; member
411 …mTask.alsDebounceSamples = (mTask.nextAlsGain == ALS_GAIN_64X) ? (mTask.alsDebounceSamples + 1) : … in checkForAlsAutoGain()
414 …mTask.alsDebounceSamples = (mTask.nextAlsGain == ALS_GAIN_16X) ? (mTask.alsDebounceSamples + 1) : … in checkForAlsAutoGain()
417 …mTask.alsDebounceSamples = (mTask.nextAlsGain == ALS_GAIN_4X) ? (mTask.alsDebounceSamples + 1) : 1; in checkForAlsAutoGain()
420 …mTask.alsDebounceSamples = (mTask.nextAlsGain == ALS_GAIN_1X) ? (mTask.alsDebounceSamples + 1) : 1; in checkForAlsAutoGain()
424 return (mTask.alsDebounceSamples >= AMS_TMD4903_ALS_DEBOUNCE_SAMPLES); in checkForAlsAutoGain()
494 mTask.alsDebounceSamples = 0; in sensorPowerAls()
942 mTask.alsDebounceSamples = 0; in handle_i2c_event()