Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
 4.2.99
bmp581_user.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Badgerd Technologies B.V.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 *
6 * Driver is developed to be used with Zephyr. And it only supports i2c interface.
7 *
8 * Author: Talha Can Havadar <havadartalha@gmail.com>
9 *
10 */
11
12#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_BMP581_USER_H_
13#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_BMP581_USER_H_
14
17
18/* Custom ATTR values */
19
20/* This is used to enable IIR config,
21 * keep in mind that disabling IIR back in runtime is not
22 * supported yet
23 */
24#define BMP5_ATTR_IIR_CONFIG (SENSOR_ATTR_PRIV_START + 1u)
25#define BMP5_ATTR_POWER_MODE (SENSOR_ATTR_PRIV_START + 2u)
26
39
40#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_BMP581_USER_H_ */
bmp5_powermode
Definition bmp581_user.h:27
@ BMP5_POWERMODE_CONTINUOUS
Continuous powermode.
Definition bmp581_user.h:35
@ BMP5_POWERMODE_DEEP_STANDBY
Deep standby powermode.
Definition bmp581_user.h:37
@ BMP5_POWERMODE_STANDBY
Standby powermode.
Definition bmp581_user.h:29
@ BMP5_POWERMODE_NORMAL
Normal powermode.
Definition bmp581_user.h:31
@ BMP5_POWERMODE_FORCED
Forced powermode.
Definition bmp581_user.h:33
Public APIs for the sensor driver.