Files
Simba-ELCT-FrameWork/bsp/boards/bsp_usart.h

10 lines
316 B
C

#ifndef BSP_USART_H
#define BSP_USART_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