BLE5.2 1.0
开发文档说明
xc_drv_uart_dma.h
浏览该文件的文档.
1
25#ifndef __XC_DRV_UART_DMA_H__
26#define __XC_DRV_UART_DMA_H__
27
28/*-----------------------------------------------------------------------------------
29 INCLUDE HEADE FILES
30 ------------------------------------------------------------------------------------*/
31#include "xc_drv_dma.h"
32
33/*------------------------------------------------------------------------------------
34 Global Variables
35 -------------------------------------------------------------------------------------*/
36extern volatile bool uart0_tx_tfr_flag;
37extern volatile bool uart1_tx_tfr_flag;
38
39/*------------------------------------------------------------------------------------
40 Exported Functions
41 -------------------------------------------------------------------------------------*/
42void xc_uart_dma_tx_init(uint8_t uart_idx, uint16_t tx_size, uint8_t *tx_buff);
43void xc_uart_dma_send(uint8_t uart_idx);
44
45#endif /* __XC_DRV_UART_DMA_H__ */
The header of xc_drv_dma.c
void xc_uart_dma_send(uint8_t uart_idx)
volatile bool uart0_tx_tfr_flag
void xc_uart_dma_tx_init(uint8_t uart_idx, uint16_t tx_size, uint8_t *tx_buff)
volatile bool uart1_tx_tfr_flag