Lines Matching refs:scd4x_write_command

31 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()
329 ret = scd4x_write_command(dev, SCD4X_CMD_GET_SENSOR_ALTITUDE); in scd4x_get_sensor_altitude()
352 ret = scd4x_write_command(dev, SCD4X_CMD_GET_AMBIENT_PRESSURE); in scd4x_get_ambient_pressure()
375 ret = scd4x_write_command(dev, SCD4X_CMD_GET_AUTOMATIC_CALIB_ENABLE); in scd4x_get_automatic_calib_enable()
398 ret = scd4x_write_command(dev, SCD4X_CMD_GET_SELF_CALIB_INITIAL_PERIOD); in scd4x_get_self_calib_initial_period()
421 ret = scd4x_write_command(dev, SCD4X_CMD_GET_SELF_CALIB_STANDARD_PERIOD); in scd4x_get_self_calib_standard_period()
493 ret = scd4x_write_command(dev, SCD4X_CMD_SELF_TEST); in scd4x_self_test()
531 ret = scd4x_write_command(dev, SCD4X_CMD_PERSIST_SETTINGS); in scd4x_persist_settings()
556 ret = scd4x_write_command(dev, SCD4X_CMD_FACTORY_RESET); in scd4x_factory_reset()
590 ret = scd4x_write_command(dev, SCD4X_CMD_MEASURE_SINGLE_SHOT_RHT); in scd4x_sample_fetch()
596 ret = scd4x_write_command(dev, SCD4X_CMD_MEASURE_SINGLE_SHOT); in scd4x_sample_fetch()
859 ret = scd4x_write_command(dev, SCD4X_CMD_STOP_PERIODIC_MEASUREMENT); in scd4x_init()
862 scd4x_write_command(dev, SCD4X_CMD_WAKE_UP); in scd4x_init()
863 ret = scd4x_write_command(dev, SCD4X_CMD_WAKE_UP); in scd4x_init()
870 ret = scd4x_write_command(dev, SCD4X_CMD_REINIT); in scd4x_init()