vcnl36825t: allow "force"-mode only if low-power mode is inactive

Behavior of "force"-mode as described in datasheet cannot be achieved if
low-power mode is enabled. After triggering a sampling, the sensor will
not sample again for the period specified in measurement-time.

Signed-off-by: Juliane Schulze <juliane.schulze@deveritec.com>
This commit is contained in:
Juliane Schulze 2024-05-27 16:17:26 +02:00 committed by Carles Cufí
commit 90d8941b54
2 changed files with 5 additions and 0 deletions

View file

@ -21,6 +21,8 @@ properties:
Defaults to sensor reset value.
Note: "force"-mode only available if low-power mode inactive.
measurement-period:
type: int
default: 40