sentry_chassis_hzz/modules/master_machine/master_process.h

24 lines
532 B
C
Raw Normal View History

2022-10-20 17:13:02 +08:00
#ifndef MASTER_PROCESS_H
#define MASTER_PROCESS_H
#include "bsp_usart.h"
2022-11-03 20:38:55 +08:00
#include "seasky_protocol.h"
2022-10-20 17:13:02 +08:00
2022-11-03 20:38:55 +08:00
#define VISION_RECV_SIZE 36u
#define VISION_SEND_SIZE 36u
/**
* @brief
2022-11-09 20:24:22 +08:00
*
2022-11-03 20:38:55 +08:00
* @param handle handle(C板上一般为USART1,USART2,4pin)
*/
Vision_Recv_s *VisionInit(UART_HandleTypeDef *_handle);
2022-11-03 20:38:55 +08:00
/**
* @brief
2022-11-09 20:24:22 +08:00
*
2022-11-03 20:38:55 +08:00
* @param send
*/
void VisionSend(Vision_Send_s *send);
2022-10-20 17:13:02 +08:00
#endif // !MASTER_PROCESS_H