mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
串口6DMA发送
This commit is contained in:
@@ -12,9 +12,10 @@
|
||||
#ifndef REFEREE_H
|
||||
#define REFEREE_H
|
||||
|
||||
#include "bsp_usart.h"
|
||||
#include "usart.h"
|
||||
#include "referee_def.h"
|
||||
#include "bsp_usart.h"
|
||||
|
||||
|
||||
#define FALSE 0
|
||||
#define TRUE 1
|
||||
@@ -184,5 +185,13 @@ typedef struct
|
||||
*/
|
||||
referee_info_t* RefereeInit(UART_HandleTypeDef *referee_usart_handle);
|
||||
|
||||
/**
|
||||
* @brief 发送函数
|
||||
* @todo
|
||||
* @param send 待发送数据
|
||||
*/
|
||||
void RefereeSend(uint8_t *send,uint16_t tx_len);
|
||||
|
||||
extern USARTInstance *referee_usart_instance;
|
||||
|
||||
#endif // !REFEREE_H
|
||||
|
||||
Reference in New Issue
Block a user