Searched refs:uart_buffer (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/hardware/chip/haas1000/hal/ |
A D | uart.c | 29 uint8_t *uart_buffer; member 195 len = _uart_ringbuffer_push(uartid, uart_ctx[uartid].uart_buffer, xfer_size); in _uart_dma_rx_handler() 201 memset(uart_ctx[uartid].uart_buffer, 0, UART_DMA_RING_BUFFER_SIZE); in _uart_dma_rx_handler() 212 len = _uart_ringbuffer_push(uartid, uart_ctx[uartid].uart_buffer, xfer_size); in _uart1_dma_rx_handler() 218 memset(uart_ctx[uartid].uart_buffer, 0, UART_DMA_RING_BUFFER_SIZE); in _uart1_dma_rx_handler() 237 len = _uart_ringbuffer_push(uartid, uart_ctx[uartid].uart_buffer, xfer_size); in _uart2_dma_rx_handler() 243 memset(uart_ctx[uartid].uart_buffer, 0, UART_DMA_RING_BUFFER_SIZE); in _uart2_dma_rx_handler() 313 uart_ctx[uart_id].uart_buffer = _hal_uart_buf; in hal_uart_init() 318 uart_ctx[uart_id].uart_buffer = _hal_uart1_buf; in hal_uart_init() 323 uart_ctx[uart_id].uart_buffer = _hal_uart2_buf; in hal_uart_init() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/ |
A D | uart.c | 32 }uart_buffer; typedef 34 static uart_buffer uart_rxbuffer[5];
|
Completed in 4 milliseconds