Searched refs:sgp (Results 1 – 1 of 1) sorted by relevance
31 const struct device *const sgp = DEVICE_DT_GET_ANY(sensirion_sgp40); in main() local39 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()