Home
last modified time | relevance | path

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

/Zephyr-latest/samples/sensor/sgp40_sht4x/src/
Dmain.c31 const struct device *const sgp = DEVICE_DT_GET_ANY(sensirion_sgp40); in main() local
39 if (!device_is_ready(sgp)) { in main()
40 printf("Device %s is not ready.\n", sgp->name); in main()
91 sensor_attr_set(sgp, in main()
95 sensor_attr_set(sgp, in main()
100 if (sensor_sample_fetch(sgp)) { in main()
105 sensor_channel_get(sgp, SENSOR_CHAN_GAS_RES, &gas); in main()