Files
Simba-ELCT-FrameWork/bsp/boards/bsp_usart.h
2026-04-12 20:34:47 +08:00

12 lines
345 B
C

#ifndef BSP_USART_H
#define BSP_USART_H
#include "struct_typedef.h"
extern void usart6_init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
extern void usart1_init(uint8_t *rx1_buf, uint8_t *rx2_buf, uint16_t dma_buf_num);
extern void usart1_tx_dma_init(void);
extern void usart1_tx_dma_enable(uint8_t *data, uint16_t len);
#endif