motion_interface.h 423 B

123456789101112131415
  1. #ifndef __motion_interface_h__
  2. #define __motion_interface_h__
  3. #include "main.h"
  4. void integrate_left_right(uint8_t* left_buff, uint8_t left_len, uint8_t* right_buff, uint8_t right_len);
  5. void get_game_package(uint8_t* buff_address, uint8_t * buff_len);
  6. void process_motion(int16_t* _acc, int16_t* _gry, int16_t* front_mag, int16_t* back_mag, uint8_t _rssi);
  7. void get_foot_data(uint8_t *buf, uint8_t *buff_len);
  8. #endif