Zephyr API Documentation
4.2.0-rc3
A Scalable Open Source RTOS
4.2.0-rc3
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
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
modules
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
adxl345.h
adxl362.h
adxl367.h
adxl372.h
afbr_s50.h
apds9253.h
bq274xx.h
icm42688.h
icm45686.h
iis2dlpc.h
iis2iclx.h
ina226.h
ina230.h
ina237.h
ism330dhcx.h
it51xxx_tach.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
rm3100.h
sensor_axis_align.h
stts22h.h
tmag5273.h
tmp114.h
tmp11x.h
sent
spi
timer
usb
usb-c
video
dt-util.h
fs
input
internal
ipc
kernel
linker
llext
logging
lorawan
math
mem_mgmt
mgmt
misc
modbus
modem
multi_heap
net
platform
pm
pmci
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
service.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
lis2dw12.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 STMicroelectronics
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DW12_H_
7
#define ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DW12_H_
8
9
/* power-modes */
10
#define LIS2DW12_DT_LP_M1 0
11
#define LIS2DW12_DT_LP_M2 1
12
#define LIS2DW12_DT_LP_M3 2
13
#define LIS2DW12_DT_LP_M4 3
14
#define LIS2DW12_DT_HP_MODE 4
15
16
/* Filter bandwidth */
17
#define LIS2DW12_DT_FILTER_BW_ODR_DIV_2 0
18
#define LIS2DW12_DT_FILTER_BW_ODR_DIV_4 1
19
#define LIS2DW12_DT_FILTER_BW_ODR_DIV_10 2
20
#define LIS2DW12_DT_FILTER_BW_ODR_DIV_20 3
21
22
/* Tap mode */
23
#define LIS2DW12_DT_SINGLE_TAP 0
24
#define LIS2DW12_DT_SINGLE_DOUBLE_TAP 1
25
26
/* Free-Fall threshold */
27
#define LIS2DW12_DT_FF_THRESHOLD_156_mg 0
28
#define LIS2DW12_DT_FF_THRESHOLD_219_mg 1
29
#define LIS2DW12_DT_FF_THRESHOLD_250_mg 2
30
#define LIS2DW12_DT_FF_THRESHOLD_312_mg 3
31
#define LIS2DW12_DT_FF_THRESHOLD_344_mg 4
32
#define LIS2DW12_DT_FF_THRESHOLD_406_mg 5
33
#define LIS2DW12_DT_FF_THRESHOLD_469_mg 6
34
#define LIS2DW12_DT_FF_THRESHOLD_500_mg 7
35
36
/* wakeup duration */
37
#define LIS2DW12_DT_WAKEUP_1_ODR 0
38
#define LIS2DW12_DT_WAKEUP_2_ODR 1
39
#define LIS2DW12_DT_WAKEUP_3_ODR 2
40
#define LIS2DW12_DT_WAKEUP_4_ODR 3
41
42
/* sleep duration */
43
#define LIS2DW12_DT_SLEEP_0_ODR 0
44
#define LIS2DW12_DT_SLEEP_1_ODR 1
45
#define LIS2DW12_DT_SLEEP_2_ODR 2
46
#define LIS2DW12_DT_SLEEP_3_ODR 3
47
#define LIS2DW12_DT_SLEEP_4_ODR 4
48
#define LIS2DW12_DT_SLEEP_5_ODR 5
49
#define LIS2DW12_DT_SLEEP_6_ODR 6
50
#define LIS2DW12_DT_SLEEP_7_ODR 7
51
#define LIS2DW12_DT_SLEEP_8_ODR 8
52
#define LIS2DW12_DT_SLEEP_9_ODR 9
53
#define LIS2DW12_DT_SLEEP_10_ODR 10
54
#define LIS2DW12_DT_SLEEP_11_ODR 11
55
#define LIS2DW12_DT_SLEEP_12_ODR 12
56
#define LIS2DW12_DT_SLEEP_13_ODR 13
57
#define LIS2DW12_DT_SLEEP_14_ODR 14
58
#define LIS2DW12_DT_SLEEP_15_ODR 15
59
60
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DW12_H_ */
zephyr
dt-bindings
sensor
lis2dw12.h
Generated on
for Zephyr API Documentation by
1.14.0