Home
last modified time | relevance | path

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

/Zephyr-latest/samples/shields/x_nucleo_iks01a2/standard/src/
Dmain.c34 const struct device *const lsm303agr_m = DEVICE_DT_GET_ONE(st_lis2mdl); in main() local
55 if (!device_is_ready(lsm303agr_m)) { in main()
56 printk("%s: device not ready.\n", lsm303agr_m->name); in main()
110 if (sensor_sample_fetch(lsm303agr_m) < 0) { in main()
124 sensor_channel_get(lsm303agr_m, SENSOR_CHAN_MAGN_XYZ, magn); in main()