Searched full:temp_sensor (Results 1 – 12 of 12) sorted by relevance
/Zephyr-latest/samples/sensor/tmp108/src/ |
D | main.c | 133 const struct device *temp_sensor; in main() local 138 temp_sensor = DEVICE_DT_GET_ANY(ti_tmp108); in main() 140 if (!temp_sensor) { in main() 143 temp_sensor = DEVICE_DT_GET_ANY(ams_as6212); in main() 145 if (!temp_sensor) { in main() 151 if (!device_is_ready(temp_sensor)) { in main() 156 sensor_attr_set(temp_sensor, in main() 162 enable_one_shot(temp_sensor); in main() 166 enable_temp_alerts(temp_sensor); in main() 171 result = sensor_sample_fetch(temp_sensor); in main() [all …]
|
/Zephyr-latest/drivers/sensor/espressif/esp32_temp/ |
D | esp32_temp.c | 9 #include <driver/temp_sensor.h> 25 temp_sensor_config_t temp_sensor; member 75 temp_sensor_get_config(&data->temp_sensor); in esp32_temp_init() 76 data->temp_sensor.dac_offset = conf->range; in esp32_temp_init() 77 temp_sensor_set_config(data->temp_sensor); in esp32_temp_init() 80 data->temp_sensor.dac_offset, data->temp_sensor.clk_div); in esp32_temp_init() 87 .temp_sensor = TSENS_CONFIG_DEFAULT(), \
|
/Zephyr-latest/tests/drivers/sensor/temp_sensor/ |
D | testcase.yaml | 2 drivers.sensor.temp_sensor: 6 filter: dt_nodelabel_enabled("temp_sensor")
|
D | CMakeLists.txt | 6 project(temp_sensor) project
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | ipso_temp_sensor.c | 56 static struct lwm2m_engine_obj temp_sensor; variable 211 temp_sensor.obj_id = IPSO_OBJECT_TEMP_SENSOR_ID; in ipso_temp_sensor_init() 212 temp_sensor.version_major = TEMP_VERSION_MAJOR; in ipso_temp_sensor_init() 213 temp_sensor.version_minor = TEMP_VERSION_MINOR; in ipso_temp_sensor_init() 214 temp_sensor.is_core = false; in ipso_temp_sensor_init() 215 temp_sensor.fields = fields; in ipso_temp_sensor_init() 216 temp_sensor.field_count = ARRAY_SIZE(fields); in ipso_temp_sensor_init() 217 temp_sensor.max_instance_count = MAX_INSTANCE_COUNT; in ipso_temp_sensor_init() 218 temp_sensor.create_cb = temp_sensor_create; in ipso_temp_sensor_init() 219 lwm2m_register_obj(&temp_sensor); in ipso_temp_sensor_init()
|
/Zephyr-latest/samples/sensor/thermometer/boards/ |
D | frdm_k22f.overlay | 9 ambient-temp0 = &temp_sensor; 18 temp_sensor: tcn75a@48 {
|
/Zephyr-latest/tests/drivers/sensor/temp_sensor/src/ |
D | main.c | 11 static const struct device *temp_dev = DEVICE_DT_GET(DT_NODELABEL(temp_sensor)); 16 ZTEST(temp_sensor, test_polling) in ZTEST() argument 58 ZTEST(temp_sensor, test_trigger) in ZTEST() argument 153 ZTEST_SUITE(temp_sensor, NULL, NULL, before, NULL, NULL);
|
/Zephyr-latest/tests/drivers/sensor/temp_sensor/boards/ |
D | nrf52840dk_nrf52840.overlay | 1 temp_sensor: &temp {
|
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 1 temp_sensor: &temp_nrfs {
|
D | nrf54l15dk_nrf54l15_cpuapp.overlay | 1 temp_sensor: &temp {
|
/Zephyr-latest/drivers/clock_control/ |
D | nrf_clock_calibration.c | 59 static const struct device *const temp_sensor = variable 169 if (!device_is_ready(temp_sensor)) { in cal_hf_callback() 190 int rc = sensor_sample_fetch(temp_sensor); in get_temperature() 193 rc = sensor_channel_get(temp_sensor, SENSOR_CHAN_DIE_TEMP, in get_temperature()
|
/Zephyr-latest/boards/tdk/robokit1/ |
D | robokit1-common.dtsi | 15 ambient-temp0 = &temp_sensor; 46 temp_sensor: ambient_temp_sensor { label
|