Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
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
18#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_BMP581_USER_H_
19#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_BMP581_USER_H_
20
30
31/* Custom ATTR values */
32
33/* This is used to enable IIR config,
34 * keep in mind that disabling IIR back in runtime is not
35 * supported yet
36 */
37
46#define BMP5_ATTR_IIR_CONFIG (SENSOR_ATTR_PRIV_START + 1u)
52#define BMP5_ATTR_POWER_MODE (SENSOR_ATTR_PRIV_START + 2u)
53
69
74#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_BMP581_USER_H_ */
Header file for BMP581 sensor Devicetree constants.
bmp5_powermode
BMP581 power modes.
Definition bmp581_user.h:57
@ BMP5_POWERMODE_CONTINUOUS
Continuous powermode.
Definition bmp581_user.h:65
@ BMP5_POWERMODE_DEEP_STANDBY
Deep standby powermode.
Definition bmp581_user.h:67
@ BMP5_POWERMODE_STANDBY
Standby powermode.
Definition bmp581_user.h:59
@ BMP5_POWERMODE_NORMAL
Normal powermode.
Definition bmp581_user.h:61
@ BMP5_POWERMODE_FORCED
Forced powermode.
Definition bmp581_user.h:63
Public APIs for the sensor driver.