Searched refs:rx_ring_buf (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.5.0/components/driver/ |
D | usb_serial_jtag.c | 35 RingbufHandle_t rx_ring_buf; /*!< RX ring buffer handler */ member 85 …xRingbufferSendFromISR(p_usb_serial_jtag_obj->rx_ring_buf, p_usb_serial_jtag_obj->rx_data_buf, rx_… in usb_serial_jtag_isr_handler_default() 109 …p_usb_serial_jtag_obj->rx_ring_buf = xRingbufferCreate(p_usb_serial_jtag_obj->rx_buf_size, RINGBUF… in usb_serial_jtag_driver_install() 110 if (p_usb_serial_jtag_obj->rx_ring_buf == NULL) { in usb_serial_jtag_driver_install() 117 if (p_usb_serial_jtag_obj->rx_ring_buf == NULL) { in usb_serial_jtag_driver_install() 149 …data = (uint8_t*) xRingbufferReceiveUpTo(p_usb_serial_jtag_obj->rx_ring_buf, &data_read_len, (port… in usb_serial_jtag_read_bytes() 156 vRingbufferReturnItem(p_usb_serial_jtag_obj->rx_ring_buf, data); in usb_serial_jtag_read_bytes() 187 if(p_usb_serial_jtag_obj->rx_ring_buf) { in usb_serial_jtag_driver_uninstall() 188 vRingbufferDelete(p_usb_serial_jtag_obj->rx_ring_buf); in usb_serial_jtag_driver_uninstall() 189 p_usb_serial_jtag_obj->rx_ring_buf = NULL; in usb_serial_jtag_driver_uninstall()
|
D | i2c.c | 163 RingbufHandle_t rx_ring_buf; /*!< rx ringbuffer handler of slave mode */ member 275 p_i2c->rx_ring_buf = xRingbufferCreate(slv_rx_buf_len, RINGBUF_TYPE_BYTEBUF); in i2c_driver_install() 276 if (p_i2c->rx_ring_buf == NULL) { in i2c_driver_install() 282 p_i2c->rx_ring_buf = NULL; in i2c_driver_install() 359 if (p_i2c_obj[i2c_num]->rx_ring_buf) { in i2c_driver_install() 360 vRingbufferDelete(p_i2c_obj[i2c_num]->rx_ring_buf); in i2c_driver_install() 361 p_i2c_obj[i2c_num]->rx_ring_buf = NULL; in i2c_driver_install() 427 if (p_i2c->rx_ring_buf) { in i2c_driver_delete() 428 vRingbufferDelete(p_i2c->rx_ring_buf); in i2c_driver_delete() 429 p_i2c->rx_ring_buf = NULL; in i2c_driver_delete() [all …]
|
D | uart.c | 130 RingbufHandle_t rx_ring_buf; /*!< RX ring buffer handler*/ member 965 …if (pdFALSE == xRingbufferSendFromISR(p_uart->rx_ring_buf, p_uart->rx_data_buf, p_uart->rx_stash_l… in uart_rx_intr_handler_default() 1262 …BaseType_t res = xRingbufferSend(p_uart_obj[uart_num]->rx_ring_buf, p_uart_obj[uart_num]->rx_data_… in uart_check_buf_full() 1291 …data = (uint8_t *) xRingbufferReceive(p_uart_obj[uart_num]->rx_ring_buf, &size, (portTickType) tic… in uart_read_bytes() 1325 … vRingbufferReturnItem(p_uart_obj[uart_num]->rx_ring_buf, p_uart_obj[uart_num]->rx_head_ptr); in uart_read_bytes() 1363 vRingbufferReturnItem(p_uart->rx_ring_buf, p_uart->rx_head_ptr); in uart_flush_input() 1372 data = (uint8_t*) xRingbufferReceive(p_uart->rx_ring_buf, &size, (portTickType) 0); in uart_flush_input() 1393 vRingbufferReturnItem(p_uart->rx_ring_buf, data); in uart_flush_input() 1395 …BaseType_t res = xRingbufferSend(p_uart_obj[uart_num]->rx_ring_buf, p_uart_obj[uart_num]->rx_data_… in uart_flush_input() 1435 if (uart_obj->rx_ring_buf) { in uart_free_driver_obj() [all …]
|