基质喷涂
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

27 lines
451 B

//
// Created by iflyt on 2025/2/27.
//
#ifndef UART_DBG_H
#define UART_DBG_H
// 可配置参数
#define DBG_UART_BAUDRATE 115200
#define DBG_UART USART1
#define DBG_UART_TX_PIN GPIO_PIN_9
#define DBG_UART_RX_PIN GPIO_PIN_10
#define DBG_UART_GPIO_PORT GPIOA
#define DBG_UART_GPIO_AF GPIO_AF7_USART1
#ifdef __cplusplus
extern "C" {
#endif
// 初始化调试串口
void DBG_UART_Init(void);
#ifdef __cplusplus
}
#endif
#endif //UART_DBG_H