![]() |
BLE5.2 1.0
开发文档说明
|
Target xinchip uart dma driver implementation 更多...
函数 | |
| void | uart0_tx_callback (uint8_t eCode) |
| void | uart1_tx_callback (uint8_t eCode) |
| void | uartx_dma_tx_err (uint8_t eCode) |
| uint8_t | xc_uart_dma_tx_config (uint8_t uart_idx, eDMA_Ch_Num ch_num, uint16_t blockSize, uint8_t *tx_buff) |
| void | xc_uart_dma_tx_init (uint8_t uart_idx, uint16_t tx_size, uint8_t *tx_buff) |
| void | xc_uart_dma_send (uint8_t uart_idx) |
变量 | |
| volatile bool | uart0_tx_tfr_flag = true |
| volatile bool | uart1_tx_tfr_flag = true |
| static volatile bool | err_flag = false |
Target xinchip uart dma driver implementation
在文件 xc_drv_uart_dma.c 中定义.
| void uart0_tx_callback | ( | uint8_t | eCode | ) |
| void uart1_tx_callback | ( | uint8_t | eCode | ) |
| void uartx_dma_tx_err | ( | uint8_t | eCode | ) |
| void xc_uart_dma_send | ( | uint8_t | uart_idx | ) |
| uint8_t xc_uart_dma_tx_config | ( | uint8_t | uart_idx, |
| eDMA_Ch_Num | ch_num, | ||
| uint16_t | blockSize, | ||
| uint8_t * | tx_buff | ||
| ) |
| void xc_uart_dma_tx_init | ( | uint8_t | uart_idx, |
| uint16_t | tx_size, | ||
| uint8_t * | tx_buff | ||
| ) |
|
static |
在文件 xc_drv_uart_dma.c 第 35 行定义.
| volatile bool uart0_tx_tfr_flag = true |
在文件 xc_drv_uart_dma.c 第 33 行定义.
| volatile bool uart1_tx_tfr_flag = true |
在文件 xc_drv_uart_dma.c 第 34 行定义.