Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/bbc/microbit/pong/src/
Dpong.h7 void pong_ball_received(int8_t x_pos, int8_t y_pos, int8_t x_vel, int8_t y_vel);
12 void ble_send_ball(int8_t x_pos, int8_t y_pos, int8_t x_vel, int8_t y_vel);
Dble.c76 int8_t x_pos; member
91 void ble_send_ball(int8_t x_pos, int8_t y_pos, int8_t x_vel, int8_t y_vel) in ble_send_ball() argument
95 .ball.x_pos = x_pos, in ble_send_ball()
107 printk("ble_send_ball(%d, %d, %d, %d)\n", x_pos, y_pos, x_vel, y_vel); in ble_send_ball()
156 pong_ball_received(data->ball.x_pos, data->ball.y_pos, in notify_func()
Dmain.c391 void pong_ball_received(int8_t x_pos, int8_t y_pos, int8_t x_vel, int8_t y_vel) in pong_ball_received() argument
393 printk("ball_received(%d, %d, %d, %d)\n", x_pos, y_pos, x_vel, y_vel); in pong_ball_received()
395 ball_pos.x = x_pos; in pong_ball_received()