hal_protocol.h 513 B

123456789101112131415161718192021222324
  1. #ifndef __hal_protocol___h__
  2. #define __hal_protocol___h__
  3. #include <stdbool.h>
  4. #include <stdint.h>
  5. #include <string.h>
  6. #include "sdk_common.h"
  7. #include "SEGGER_RTT.h"
  8. #include "usr_config.h"
  9. #include "hal_imu.h"
  10. #include "app_slave.h"
  11. #include "app_host.h"
  12. void Send_IMU_Data(IMU_DAT_t* p);
  13. void send_protocol(uint8_t dex,uint8_t cmd,uint8_t* dat,uint8_t len);
  14. void Send_Slave_Data(slave_data_t* p);
  15. void Send_Host_Data(host_data_t* p);
  16. void Send_Host_enterGame(void);
  17. void Send_Host_exitGame(void);
  18. #endif