Lines Matching refs:acc
56 const struct acc_msg *acc = zbus_chan_const_msg(chan); in listener_callback_example() local
58 LOG_INF("From listener foo_lis -> Acc x=%d, y=%d, z=%d", acc->x, acc->y, acc->z); in listener_callback_example()
87 struct acc_msg acc; in msg_subscriber_task() local
91 while (!zbus_sub_wait_msg(subscriber, &chan, &acc, K_FOREVER)) { in msg_subscriber_task()
98 acc.x, acc.y, acc.z); in msg_subscriber_task()
139 struct acc_msg acc; in subscriber_task() local
149 zbus_chan_read(chan, &acc, K_MSEC(250)); in subscriber_task()
152 acc.x, acc.y, acc.z); in subscriber_task()
170 static struct acc_msg acc = {.x = 1, .y = 10, .z = 100}; variable
202 zbus_chan_pub(&acc_data_chan, &acc, K_NO_WAIT); in main()
203 acc.x += 1; in main()
204 acc.y += 10; in main()
205 acc.z += 100; in main()