加入大疆C板例程bsp
This commit is contained in:
11
bsp/boards/bsp_usart.h
Normal file
11
bsp/boards/bsp_usart.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user