Zephyr Project API
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
max30009.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2026 Analog Devices Inc.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
12
13
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_MAX30009_H_
14
#define ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_MAX30009_H_
15
22
30
#define MAX30009_DT_DHPF_BYPASS 0
32
#define MAX30009_DT_DHPF_0_00025_SR 1
34
#define MAX30009_DT_DHPF_0_002_SR 2
36
44
#define MAX30009_DT_DLPF_BYPASS 0
46
#define MAX30009_DT_DLPF_0_005_SR 1
48
#define MAX30009_DT_DLPF_0_02_SR 2
50
#define MAX30009_DT_DLPF_0_08_SR 3
52
#define MAX30009_DT_DLPF_0_25_SR 4
54
62
#define MAX30009_DT_CMP_I 0
64
#define MAX30009_DT_CMP_Q 1
66
#define MAX30009_DT_CMP_Z 2
68
76
#define MAX30009_DT_DRV_MODE_CURRENT 0
78
#define MAX30009_DT_DRV_MODE_VOLTAGE 1
80
#define MAX30009_DT_DRV_MODE_HBRIDGE 2
82
#define MAX30009_DT_DRV_MODE_STANDBY 3
84
92
#define MAX30009_DT_IDRV_RGE_552_5K 0
94
#define MAX30009_DT_IDRV_RGE_110_5K 1
96
#define MAX30009_DT_IDRV_RGE_5_525K 2
98
#define MAX30009_DT_IDRV_RGE_276_25R 3
100
108
#define MAX30009_DT_VDRV_MAG_50MV 0
110
#define MAX30009_DT_VDRV_MAG_100MV 1
112
#define MAX30009_DT_VDRV_MAG_250MV 2
114
#define MAX30009_DT_VDRV_MAG_500MV 3
116
124
#define MAX30009_DT_AHPF_100HZ 0
126
#define MAX30009_DT_AHPF_200HZ 1
128
#define MAX30009_DT_AHPF_500HZ 2
130
#define MAX30009_DT_AHPF_1KHZ 3
132
#define MAX30009_DT_AHPF_2KHZ 4
134
#define MAX30009_DT_AHPF_5KHZ 5
136
#define MAX30009_DT_AHPF_10KHZ 6
138
#define MAX30009_DT_AHPF_BYPASS 7
140
#define MAX30009_DT_AHPF_42_4M 8
142
#define MAX30009_DT_AHPF_21_2M 9
144
#define MAX30009_DT_AHPF_8_4M 10
146
#define MAX30009_DT_AHPF_4_2M 11
148
#define MAX30009_DT_AHPF_2_2M 12
150
#define MAX30009_DT_AHPF_848K 13
152
#define MAX30009_DT_AHPF_848K_ALT 14
154
#define MAX30009_DT_AHPF_BYPASS_ALT 15
156
164
#define MAX30009_DT_INA_MODE_HIGH_POWER 0
166
#define MAX30009_DT_INA_MODE_LOW_POWER 1
168
176
#define MAX30009_DT_GAIN_1X 0
178
#define MAX30009_DT_GAIN_2X 1
180
#define MAX30009_DT_GAIN_5X 2
182
#define MAX30009_DT_GAIN_10X 3
184
192
#define MAX30009_DT_DC_RESTORE_OPEN 0
194
#define MAX30009_DT_DC_RESTORE_CLOSED 1
196
204
#define MAX30009_DT_AMP_RGE_LOW 0
206
#define MAX30009_DT_AMP_RGE_MEDIUM_LOW 1
208
#define MAX30009_DT_AMP_RGE_MEDIUM_HIGH 2
210
#define MAX30009_DT_AMP_RGE_HIGH 3
212
220
#define MAX30009_DT_AMP_BW_LOW 0
222
#define MAX30009_DT_AMP_BW_MEDIUM_LOW 1
224
#define MAX30009_DT_AMP_BW_MEDIUM_HIGH 2
226
#define MAX30009_DT_AMP_BW_HIGH 3
228
236
#define MAX30009_DT_Q_CLK_PHASE_NORMAL 0
238
#define MAX30009_DT_Q_CLK_PHASE_I 1
240
248
#define MAX30009_DT_I_CLK_PHASE_NORMAL 0
250
#define MAX30009_DT_I_CLK_PHASE_Q 1
252
260
#define MAX30009_DT_BMUX_RSEL_5100R 0
262
#define MAX30009_DT_BMUX_RSEL_900R 1
264
#define MAX30009_DT_BMUX_RSEL_600R 2
266
#define MAX30009_DT_BMUX_RSEL_280R 3
268
276
#define MAX30009_DT_BMUX_GSR_RSEL_25_7K 0
278
#define MAX30009_DT_BMUX_GSR_RSEL_101K 1
280
#define MAX30009_DT_BMUX_GSR_RSEL_505K 2
282
#define MAX30009_DT_BMUX_GSR_RSEL_1000K 3
284
292
#define MAX30009_DT_BIP_ASSIGN_EL1 0
294
#define MAX30009_DT_BIP_ASSIGN_EL2A 1
296
#define MAX30009_DT_BIP_ASSIGN_EL2B 2
298
306
#define MAX30009_DT_BIN_ASSIGN_EL4 0
308
#define MAX30009_DT_BIN_ASSIGN_EL3A 1
310
#define MAX30009_DT_BIN_ASSIGN_EL3B 2
312
320
#define MAX30009_DT_DRVP_ASSIGN_EL1 0
322
#define MAX30009_DT_DRVP_ASSIGN_EL2A 1
324
#define MAX30009_DT_DRVP_ASSIGN_EL2B 2
326
334
#define MAX30009_DT_DRVN_ASSIGN_EL4 0
336
#define MAX30009_DT_DRVN_ASSIGN_EL3A 1
338
#define MAX30009_DT_DRVN_ASSIGN_EL3B 2
340
348
#define MAX30009_DT_LOFF_IPOL_NON_INVERTED 0
350
#define MAX30009_DT_LOFF_IPOL_INVERTED 1
352
360
#define MAX30009_DT_LOFF_IMAG_0NA 0
362
#define MAX30009_DT_LOFF_IMAG_5NA 1
364
#define MAX30009_DT_LOFF_IMAG_10NA 2
366
#define MAX30009_DT_LOFF_IMAG_20NA 3
368
#define MAX30009_DT_LOFF_IMAG_50NA 4
370
#define MAX30009_DT_LOFF_IMAG_100NA 5
372
380
#define MAX30009_DT_RBIAS_50M 0
382
#define MAX30009_DT_RBIAS_100M 1
384
#define MAX30009_DT_RBIAS_200M 2
386
390
391
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_MAX30009_H_ */
include
zephyr
dt-bindings
sensor
max30009.h
Generated on
for Zephyr Project API by
1.16.1