Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/
Dmain.c240 const struct device *const tof_dev = DEVICE_DT_GET_ONE(st_vl53l0x); in main() local
242 if (!device_is_ready(tof_dev)) { in main()
243 printk("%s: device not ready.\n", tof_dev->name); in main()
282 sensor_sample_fetch(tof_dev); in main()
283 sensor_channel_get(tof_dev, SENSOR_CHAN_PROX, &prox); in main()
285 sensor_channel_get(tof_dev, SENSOR_CHAN_DISTANCE, &prox); in main()