Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
Zephyr API Documentation
►
Introduction
Deprecated List
►
Topics
►
Data Structures
▼
Files
▼
File List
►
doc
►
kernel
►
lib
►
subsys
▼
zephyr
►
acpi
►
app_memory
►
arch
►
audio
►
bluetooth
►
canbus
►
console
►
crypto
►
data
►
debug
►
devicetree
►
dfu
►
display
►
drivers
►
dsp
▼
dt-bindings
►
acpi
►
adc
►
battery
►
clock
►
comparator
►
dac
►
dai
►
display
►
dma
►
espi
►
ethernet
►
flash_controller
►
gnss
►
gpio
►
i2c
►
input
►
inputmux
►
interrupt-controller
►
ipc_service
►
led
►
lora
►
lvgl
►
memory-attr
►
memory-controller
►
mfd
►
mipi_dbi
►
mipi_dsi
►
misc
►
pcie
►
pinctrl
►
power
►
pwm
►
qspi
►
rdc
►
regulator
►
reserved-memory
►
reset
▼
sensor
►
apds9253.h
►
bq274xx.h
►
icm42688.h
►
icm45686.h
►
iis2dlpc.h
►
iis2iclx.h
►
ina226.h
►
ina230.h
►
ina237.h
►
ism330dhcx.h
►
it8xxx2_tach.h
►
it8xxx2_vcmp.h
►
lis2de12.h
►
lis2dh.h
►
lis2ds12.h
►
lis2du12.h
►
lis2dux12.h
►
lis2dw12.h
►
lps22hh.h
►
lps2xdf.h
►
lsm6dso.h
►
lsm6dso16is.h
►
lsm6dsv16x.h
►
lsm9ds1.h
►
mc3419.h
►
npcx_tach.h
►
qdec_nxp_s32.h
►
qdec_stm32.h
►
stts22h.h
►
tmag5273.h
►
tmp116.h
►
spi
►
timer
►
usb
►
usb-c
►
video
dt-util.h
►
fs
►
input
►
internal
►
ipc
►
kernel
►
linker
►
llext
►
logging
►
lorawan
►
math
►
mctp
►
mem_mgmt
►
mgmt
►
misc
►
modbus
►
modem
►
multi_heap
►
net
►
platform
►
pm
►
portability
►
posix
►
psa
►
random
►
retention
►
rtio
►
sd
►
sensing
►
settings
►
shell
►
sip_svc
►
stats
►
storage
►
sys
►
task_wdt
►
timing
►
toolchain
►
tracing
►
usb
►
usb_c
►
xen
►
zbus
►
zvfs
►
bindesc.h
►
cache.h
►
device.h
►
devicetree.h
►
fatal.h
►
fatal_types.h
►
init.h
►
irq.h
►
irq_multilevel.h
►
irq_nextlevel.h
►
irq_offload.h
►
kernel.h
kernel_includes.h
►
kernel_structs.h
►
kernel_version.h
►
net_buf.h
►
shared_irq.h
►
smf.h
►
spinlock.h
►
sw_isr_table.h
►
sys_clock.h
►
syscall.h
►
toolchain.h
types.h
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
apds9253.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2017 Intel Corporation
3
* Copyright (c) 2018 PHYTEC Messtechnik GmbH
4
*
5
* SPDX-License-Identifier: Apache-2.0
6
*/
7
8
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_APDS9253_H_
9
#define ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_APDS9253_H_
10
11
#include <
zephyr/dt-bindings/dt-util.h
>
12
18
#define APDS9253_RESOLUTION_20BIT_400MS 0
19
#define APDS9253_RESOLUTION_19BIT_200MS BIT(4)
20
#define APDS9253_RESOLUTION_18BIT_100MS BIT(5)
/* default */
21
#define APDS9253_RESOLUTION_17BIT_50MS (BIT(5) | BIT(4))
22
#define APDS9253_RESOLUTION_16BIT_25MS BIT(6)
23
#define APDS9253_RESOLUTION_13BIT_3MS (BIT(6) | BIT(4))
24
32
#define APDS9253_MEASUREMENT_RATE_2000MS (BIT(2) | BIT(1) | BIT(0))
33
#define APDS9253_MEASUREMENT_RATE_1000MS (BIT(2) | BIT(0))
34
#define APDS9253_MEASUREMENT_RATE_500MS BIT(2)
35
#define APDS9253_MEASUREMENT_RATE_200MS (BIT(1) | BIT(0))
36
#define APDS9253_MEASUREMENT_RATE_100MS BIT(1)
/* default */
37
#define APDS9253_MEASUREMENT_RATE_50MS BIT(0)
38
#define APDS9253_MEASUREMENT_RATE_25MS 0
39
47
#define APDS9253_GAIN_RANGE_18 BIT(2)
48
#define APDS9253_GAIN_RANGE_9 (BIT(1) | BIT(0))
49
#define APDS9253_GAIN_RANGE_6 BIT(1)
50
#define APDS9253_GAIN_RANGE_3 BIT(0)
/* default */
51
#define APDS9253_GAIN_RANGE_1 0
52
55
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_APDS9253_H_*/
dt-util.h
zephyr
dt-bindings
sensor
apds9253.h
Generated on Fri Mar 14 2025 12:05:19 for Zephyr API Documentation by
1.12.0