Home
last modified time | relevance | path

Searched refs:port_evt_queue (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/components/usb/test/hcd/
Dtest_hcd_common.c54 QueueHandle_t port_evt_queue = (QueueHandle_t)port_ctx; in port_callback() local
61 xQueueSendFromISR(port_evt_queue, &msg, &xTaskWoken); in port_callback()
97 QueueHandle_t port_evt_queue = (QueueHandle_t)hcd_port_get_context(port_hdl); in test_hcd_expect_port_event() local
98 TEST_ASSERT_NOT_EQUAL(NULL, port_evt_queue); in test_hcd_expect_port_event()
101 xQueueReceive(port_evt_queue, &msg, portMAX_DELAY); in test_hcd_expect_port_event()
124 QueueHandle_t port_evt_queue = (QueueHandle_t)hcd_port_get_context(port_hdl); in test_hcd_get_num_port_events() local
125 TEST_ASSERT_NOT_EQUAL(NULL, port_evt_queue); in test_hcd_get_num_port_events()
126 return EVENT_QUEUE_LEN - uxQueueSpacesAvailable(port_evt_queue); in test_hcd_get_num_port_events()
143 QueueHandle_t port_evt_queue = xQueueCreate(EVENT_QUEUE_LEN, sizeof(port_event_msg_t)); in test_hcd_setup() local
144 TEST_ASSERT_NOT_EQUAL(NULL, port_evt_queue); in test_hcd_setup()
[all …]