Home
last modified time | relevance | path

Searched refs:powermode (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/sensor/bosch/bmp581/
Dbmp581.c37 static int get_power_mode(enum bmp5_powermode *powermode, const struct device *dev);
38 static int set_power_mode(enum bmp5_powermode powermode, const struct device *dev);
40 static int set_power_mode(enum bmp5_powermode powermode, const struct device *dev) in set_power_mode() argument
80 switch (powermode) { in set_power_mode()
94 odr = BMP5_SET_BITS_POS_0(odr, BMP5_POWERMODE, powermode); in set_power_mode()
106 static int get_power_mode(enum bmp5_powermode *powermode, const struct device *dev) in get_power_mode() argument
111 CHECKIF(powermode == NULL || dev == NULL) { in get_power_mode()
138 *powermode = BMP5_POWERMODE_DEEP_STANDBY; in get_power_mode()
140 *powermode = BMP5_POWERMODE_STANDBY; in get_power_mode()
146 *powermode = BMP5_POWERMODE_NORMAL; in get_power_mode()
[all …]