添加很多设备
This commit is contained in:
+1
-2
@@ -11,7 +11,6 @@
|
||||
#include "ch32v20x.h"
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define RingBuffSize 128
|
||||
|
||||
@@ -98,7 +97,7 @@ extern UART_t uart3;
|
||||
|
||||
void usart_init(void);
|
||||
|
||||
void usart_config(UART_ptr ptr,USART_TypeDef *UART, GPIO_TypeDef *GPIO_Tx, uint32_t Pin_Tx, GPIO_TypeDef *GPIO_Rx, uint32_t Pin_Rx,
|
||||
void usart_config(UART_ptr ptr,USART_TypeDef *UART, GPIO_TypeDef *GPIO_Tx, uint32_t Pin_Tx, GPIO_TypeDef *GPIO_Rx, uint32_t Pin_Rx, uint32_t GPIO_Remap,
|
||||
uint32_t BaudRate, uint16_t WordLength, uint16_t StopBits, uint16_t Parity,
|
||||
uint32_t buff_tx_len,uint32_t buff_rx_len);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user