engineering/modules/referee/referee_VT.h

17 lines
509 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// Created by SJQ on 2024/4/28.
//
#ifndef BASIC_FRAMEWORK_REFEREE_VT_H
#define BASIC_FRAMEWORK_REFEREE_VT_H
#include "rm_referee.h"
/**
* @brief 图传链路通信初始化,该函数会初始化裁判系统串口,开启中断
*
* @param referee_usart_handle 串口handle,C板一般用串口1丝印为uart2
* @return VT_info_t* 返回图传链路发来的数据,包括键鼠、自定义控制器
*/
VT_info_t *VTInit(UART_HandleTypeDef *VT_usart_handle);
#endif //BASIC_FRAMEWORK_REFEREE_VT_H