|
PebbleOS
|
Coarse ambient light level, classified against the backlight dark threshold. More...
Macros | |
| #define | AMBIENT_LIGHT_LEVEL_ENUM_COUNT (AmbientLightLevelVeryLight + 1) |
| Number of AmbientLightLevel values. | |
Enumerations | |
| enum | AmbientLightLevel { AmbientLightLevelUnknown = 0 , AmbientLightLevelVeryDark , AmbientLightLevelDark , AmbientLightLevelLight , AmbientLightLevelVeryLight } |
| Light level enum. More... | |
Functions | |
| AmbientLightLevel | light_level_to_enum (uint32_t lux) |
| Classify a light level against the dark threshold. | |
Coarse ambient light level, classified against the backlight dark threshold.
| #define AMBIENT_LIGHT_LEVEL_ENUM_COUNT (AmbientLightLevelVeryLight + 1) |
Number of AmbientLightLevel values.
| enum AmbientLightLevel |
Light level enum.
| AmbientLightLevel light_level_to_enum | ( | uint32_t | lux | ) |
Classify a light level against the dark threshold.
| lux | Light level, in the units of the dark threshold. |