Lines Matching full:tmp108
11 #include <zephyr/drivers/sensor/tmp108.h>
49 void enable_temp_alerts(const struct device *tmp108) in enable_temp_alerts() argument
70 sensor_attr_set(tmp108, in enable_temp_alerts()
75 sensor_attr_set(tmp108, in enable_temp_alerts()
80 sensor_attr_set(tmp108, in enable_temp_alerts()
85 sensor_attr_set(tmp108, in enable_temp_alerts()
90 sensor_trigger_set(tmp108, in enable_temp_alerts()
95 void enable_one_shot(const struct device *tmp108) in enable_one_shot() argument
103 sensor_attr_set(tmp108, in enable_one_shot()
108 sensor_trigger_set(tmp108, in enable_one_shot()
113 void get_temperature_continuous(const struct device *tmp108) in get_temperature_continuous() argument
119 result = sensor_channel_get(tmp108, in get_temperature_continuous()
136 printf("TI TMP108 Example, %s\n", CONFIG_ARCH); in main()
141 printf("warning: tmp108 device not found checking for compatible ams device\n"); in main()
146 printf("error: tmp108 compatible devices not found\n"); in main()
152 printf("error: tmp108 device not ready\n"); in main()