Stair56E UART project

This commit is contained in:
2026-08-05 19:07:52 +08:00
parent 7ca1af130d
commit f5654b70cc
2500 changed files with 619007 additions and 282610 deletions
+14
View File
@@ -0,0 +1,14 @@
#ifndef __BSP_UART_H_
#define __BSP_UART_H_
//#define BAUD_115200 0x0C002711
//#define BAUD_57600 0x06002711
#define BAUD_115200 0x04802711
extern void Init_uart(uint32_t ch , uint32_t baud);
extern void Uart_Send_Char(uint32_t ch, uint8_t c);
extern void Uart_Send_String(uint32_t ch, uint8_t *s);
extern void Uart_Send_Buf(uint32_t ch, uint8_t *s,uint32_t length);
#endif