Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/
Dmain.c38 char out_str[64]; in lsm6dsl_trigger_handler() local
57 sprintf(out_str, "accel (%f %f %f) m/s2", (double)out_ev(&accel_x), in lsm6dsl_trigger_handler()
60 printk("TRIG %s\n", out_str); in lsm6dsl_trigger_handler()
69 sprintf(out_str, "gyro (%f %f %f) dps", (double)out_ev(&gyro_x), in lsm6dsl_trigger_handler()
72 printk("TRIG %s\n", out_str); in lsm6dsl_trigger_handler()
82 sprintf(out_str, "magn (%f %f %f) gauss", (double)out_ev(&magn_x), in lsm6dsl_trigger_handler()
85 printk("TRIG %s\n", out_str); in lsm6dsl_trigger_handler()
98 sprintf(out_str, "press (%f) kPa - temp (%f) deg", (double)out_ev(&press), in lsm6dsl_trigger_handler()
100 printk("%s\n", out_str); in lsm6dsl_trigger_handler()
113 char out_str[64]; in main() local
[all …]
/Zephyr-latest/samples/sensor/lsm6dsl/src/
Dmain.c96 char out_str[64]; in main() local
144 sprintf(out_str, "accel x:%f ms/2 y:%f ms/2 z:%f ms/2", in main()
148 printk("%s\n", out_str); in main()
151 sprintf(out_str, "gyro x:%f dps y:%f dps z:%f dps", in main()
155 printk("%s\n", out_str); in main()
159 sprintf(out_str, "magn x:%f gauss y:%f gauss z:%f gauss", in main()
163 printk("%s\n", out_str); in main()
168 sprintf(out_str, "press: %f kPa - temp: %f deg", in main()
170 printk("%s\n", out_str); in main()
/Zephyr-latest/tests/unit/cbprintf/
Dmain.c1264 char out_str[256]; in ZTEST() local
1305 pout = out_str; in ZTEST()
1309 zassert_str_equal(out_str, exp_str1); in ZTEST()
1313 pout = out_str; in ZTEST()
1316 zassert_str_equal(out_str, exp_str0); in ZTEST()
/Zephyr-latest/tests/lib/cbprintf_package/src/
Dmain.c301 char out_str[128]; in check_package() local
306 .buf = out_str, in check_package()
308 .size = sizeof(out_str) in check_package()