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
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
lsm9ds1.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 Bootlin
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM9DS1_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM9DS1_H_
9
10
/* Accel range */
11
#define LSM9DS1_DT_FS_2G 0
12
#define LSM9DS1_DT_FS_16G 1
13
#define LSM9DS1_DT_FS_4G 2
14
#define LSM9DS1_DT_FS_8G 3
15
16
#define LSM9DS1_DT_FS_245DPS 0
17
#define LSM9DS1_DT_FS_500DPS 1
18
#define LSM9DS1_DT_FS_2000DPS 3
19
20
#define LSM9DS1_IMU_OFF 0x00
21
#define LSM9DS1_GY_OFF_XL_10Hz 0x10
22
#define LSM9DS1_GY_OFF_XL_50Hz 0x20
23
#define LSM9DS1_GY_OFF_XL_119Hz 0x30
24
#define LSM9DS1_GY_OFF_XL_238Hz 0x40
25
#define LSM9DS1_GY_OFF_XL_476Hz 0x50
26
#define LSM9DS1_GY_OFF_XL_952Hz 0x60
27
#define LSM9DS1_XL_OFF_GY_14Hz9 0x01
28
#define LSM9DS1_XL_OFF_GY_59Hz5 0x02
29
#define LSM9DS1_XL_OFF_GY_119Hz 0x03
30
#define LSM9DS1_XL_OFF_GY_238Hz 0x04
31
#define LSM9DS1_XL_OFF_GY_476Hz 0x05
32
#define LSM9DS1_XL_OFF_GY_952Hz 0x06
33
#define LSM9DS1_IMU_14Hz9 0x11
34
#define LSM9DS1_IMU_59Hz5 0x22
35
#define LSM9DS1_IMU_119Hz 0x33
36
#define LSM9DS1_IMU_238Hz 0x44
37
#define LSM9DS1_IMU_476Hz 0x55
38
#define LSM9DS1_IMU_952Hz 0x66
39
#define LSM9DS1_XL_OFF_GY_14Hz9_LP 0x81
40
#define LSM9DS1_XL_OFF_GY_59Hz5_LP 0x82
41
#define LSM9DS1_XL_OFF_GY_119Hz_LP 0x83
42
#define LSM9DS1_IMU_14Hz9_LP 0x91
43
#define LSM9DS1_IMU_59Hz5_LP 0xA2
44
#define LSM9DS1_IMU_119Hz_LP 0xB3
45
46
/* magnetometer */
47
48
#define LSM9DS1_DT_FS_4Ga 0
49
#define LSM9DS1_DT_FS_8Ga 1
50
#define LSM9DS1_DT_FS_12Ga 2
51
#define LSM9DS1_DT_FS_16Ga 3
52
53
#define LSM9DS1_MAG_POWER_DOWN 0xC0
54
#define LSM9DS1_MAG_LP_0Hz625 0x00
55
#define LSM9DS1_MAG_LP_1Hz25 0x01
56
#define LSM9DS1_MAG_LP_2Hz5 0x02
57
#define LSM9DS1_MAG_LP_5Hz 0x03
58
#define LSM9DS1_MAG_LP_10Hz 0x04
59
#define LSM9DS1_MAG_LP_20Hz 0x05
60
#define LSM9DS1_MAG_LP_40Hz 0x06
61
#define LSM9DS1_MAG_LP_80Hz 0x07
62
#define LSM9DS1_MAG_MP_0Hz625 0x10
63
#define LSM9DS1_MAG_MP_1Hz25 0x11
64
#define LSM9DS1_MAG_MP_2Hz5 0x12
65
#define LSM9DS1_MAG_MP_5Hz 0x13
66
#define LSM9DS1_MAG_MP_10Hz 0x14
67
#define LSM9DS1_MAG_MP_20Hz 0x15
68
#define LSM9DS1_MAG_MP_40Hz 0x16
69
#define LSM9DS1_MAG_MP_80Hz 0x17
70
#define LSM9DS1_MAG_HP_0Hz625 0x20
71
#define LSM9DS1_MAG_HP_1Hz25 0x21
72
#define LSM9DS1_MAG_HP_2Hz5 0x22
73
#define LSM9DS1_MAG_HP_5Hz 0x23
74
#define LSM9DS1_MAG_HP_10Hz 0x24
75
#define LSM9DS1_MAG_HP_20Hz 0x25
76
#define LSM9DS1_MAG_HP_40Hz 0x26
77
#define LSM9DS1_MAG_HP_80Hz 0x27
78
#define LSM9DS1_MAG_UHP_0Hz625 0x30
79
#define LSM9DS1_MAG_UHP_1Hz25 0x31
80
#define LSM9DS1_MAG_UHP_2Hz5 0x32
81
#define LSM9DS1_MAG_UHP_5Hz 0x33
82
#define LSM9DS1_MAG_UHP_10Hz 0x34
83
#define LSM9DS1_MAG_UHP_20Hz 0x35
84
#define LSM9DS1_MAG_UHP_40Hz 0x36
85
#define LSM9DS1_MAG_UHP_80Hz 0x37
86
#define LSM9DS1_MAG_UHP_155Hz 0x38
87
#define LSM9DS1_MAG_HP_300Hz 0x28
88
#define LSM9DS1_MAG_MP_560Hz 0x18
89
#define LSM9DS1_MAG_LP_1000Hz 0x08
90
#define LSM9DS1_MAG_ONE_SHOT 0x70
91
92
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM9DS1_H_ */
zephyr
dt-bindings
sensor
lsm9ds1.h
Generated on
for Zephyr API Documentation by
1.14.0