Searched refs:rx_counter (Results 1 – 2 of 2) sorted by relevance
57 volatile size_t rx_counter; member483 uart0_cb.rx_counter = 0; in uart_nrfx_rx_enable()537 size_t rx_cnt = uart0_cb.rx_counter; in rx_rdy_evt()574 uart0_cb.rx_counter = 0; in rx_reset_state()589 if (uart0_cb.rx_counter == 0 && in rx_isr()594 uart0_cb.rx_buffer[uart0_cb.rx_counter] = in rx_isr()596 uart0_cb.rx_counter++; in rx_isr()606 if (uart0_cb.rx_buffer_length == uart0_cb.rx_counter) { in rx_isr()626 uart0_cb.rx_counter = 0; in rx_isr()699 .data.rx_stop.data.len = uart0_cb.rx_counter in error_isr()[all …]
96 volatile size_t rx_counter; member516 data->async.rx_counter++; in uart_esp32_isr()538 if (data->async.rx_counter != data->async.rx_len) { in uart_esp32_dma_rx_done()540 (uint32_t)data->async.rx_buf + data->async.rx_counter, in uart_esp32_dma_rx_done()541 data->async.rx_len - data->async.rx_counter); in uart_esp32_dma_rx_done()543 data->uhci_dev->pkt_thres.thrs = data->async.rx_len - data->async.rx_counter; in uart_esp32_dma_rx_done()551 evt.data.rx.len = data->async.rx_counter - data->async.rx_offset; in uart_esp32_dma_rx_done()559 data->async.rx_counter = 0; in uart_esp32_dma_rx_done()671 evt.data.rx.len = data->async.rx_counter - data->async.rx_offset; in uart_esp32_async_rx_timeout()678 data->async.rx_offset = data->async.rx_counter; in uart_esp32_async_rx_timeout()[all …]