Lines Matching refs:rx_queue
78 QueueHandle_t rx_queue; member
131 if (xQueueSendFromISR(p_twai_obj->rx_queue, &frame, task_woken) == pdTRUE) { in twai_handle_rx_buffer_frames()
151 if (xQueueSendFromISR(p_twai_obj->rx_queue, &frame, task_woken) == pdTRUE) { in twai_handle_rx_buffer_frames()
320 if (p_obj->rx_queue != NULL) { in twai_free_driver_obj()
321 vQueueDelete(p_obj->rx_queue); in twai_free_driver_obj()
367 …p_obj->rx_queue = xQueueCreateStatic(rx_queue_len, sizeof(twai_hal_frame_t), p_obj->rx_queue_buff,… in twai_alloc_driver_obj()
369 if (p_obj->rx_queue == NULL || p_obj->alert_semphr == NULL) { in twai_alloc_driver_obj()
376 p_obj->rx_queue = xQueueCreate(rx_queue_len, sizeof(twai_hal_frame_t)); in twai_alloc_driver_obj()
378 …if ((tx_queue_len > 0 && p_obj->tx_queue == NULL) || p_obj->rx_queue == NULL || p_obj->alert_semph… in twai_alloc_driver_obj()
493 xQueueReset(p_twai_obj->rx_queue); in twai_start()
595 if (xQueueReceive(p_twai_obj->rx_queue, &rx_frame, ticks_to_wait) != pdTRUE) { in twai_receive()
708 xQueueReset(p_twai_obj->rx_queue); in twai_clear_receive_queue()