Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/sensirion/scd4x/
Dscd4x.c31 static int scd4x_write_command(const struct device *dev, uint8_t cmd) in scd4x_write_command() function
104 ret = scd4x_write_command(dev, SCD4X_CMD_GET_DATA_READY_STATUS); in scd4x_data_ready()
131 ret = scd4x_write_command(dev, SCD4X_CMD_READ_MEASUREMENT); in scd4x_read_sample()
157 ret = scd4x_write_command(dev, SCD4X_CMD_START_PERIODIC_MEASUREMENT); in scd4x_setup_measurement()
164 ret = scd4x_write_command(dev, SCD4X_CMD_LOW_POWER_PERIODIC_MEASUREMENT); in scd4x_setup_measurement()
171 ret = scd4x_write_command(dev, SCD4X_CMD_POWER_DOWN); in scd4x_setup_measurement()
190 scd4x_write_command(dev, SCD4X_CMD_WAKE_UP); in scd4x_set_idle_mode()
191 ret = scd4x_write_command(dev, SCD4X_CMD_WAKE_UP); in scd4x_set_idle_mode()
197 ret = scd4x_write_command(dev, SCD4X_CMD_STOP_PERIODIC_MEASUREMENT); in scd4x_set_idle_mode()
302 ret = scd4x_write_command(dev, SCD4X_CMD_GET_TEMPERATURE_OFFSET); in scd4x_get_temperature_offset()
[all …]