Searched refs:event_msg (Results 1 – 10 of 10) sorted by relevance
/hal_espressif-3.6.0/components/usb/test/usb_host/ |
D | test_usb_host_async.c | 195 static void test_async_client_cb(const usb_host_client_event_msg_t *event_msg, void *arg) in test_async_client_cb() argument 199 switch (event_msg->event) { in test_async_client_cb() 202 dev_addr = event_msg->new_dev.address; in test_async_client_cb() 204 TEST_ASSERT_EQUAL(dev_addr, event_msg->new_dev.address); in test_async_client_cb()
|
D | msc_client_async_enum.c | 54 static void msc_client_event_cb(const usb_host_client_event_msg_t *event_msg, void *arg) in msc_client_event_cb() argument 57 switch (event_msg->event) { in msc_client_event_cb() 61 msc_obj->dev_addr_to_open = event_msg->new_dev.address; in msc_client_event_cb()
|
D | ctrl_client_async_seq.c | 76 static void ctrl_client_event_cb(const usb_host_client_event_msg_t *event_msg, void *arg) in ctrl_client_event_cb() argument 79 switch (event_msg->event) { in ctrl_client_event_cb() 83 ctrl_obj->dev_addr_to_open = event_msg->new_dev.address; in ctrl_client_event_cb()
|
D | msc_client_async_seq.c | 103 static void msc_client_event_cb(const usb_host_client_event_msg_t *event_msg, void *arg) in msc_client_event_cb() argument 106 switch (event_msg->event) { in msc_client_event_cb() 110 msc_obj->dev_addr_to_open = event_msg->new_dev.address; in msc_client_event_cb()
|
D | msc_client_async_dconn.c | 97 static void msc_client_event_cb(const usb_host_client_event_msg_t *event_msg, void *arg) in msc_client_event_cb() argument 100 switch (event_msg->event) { in msc_client_event_cb() 104 msc_obj->dev_addr_to_open = event_msg->new_dev.address; in msc_client_event_cb()
|
/hal_espressif-3.6.0/examples/peripherals/usb/host/usb_host_lib/main/ |
D | class_driver.c | 32 static void client_event_cb(const usb_host_client_event_msg_t *event_msg, void *arg) in client_event_cb() argument 35 switch (event_msg->event) { in client_event_cb() 38 driver_obj->dev_addr = event_msg->new_dev.address; in client_event_cb()
|
/hal_espressif-3.6.0/components/usb/ |
D | usb_host.c | 230 static void send_event_msg_to_clients(const usb_host_client_event_msg_t *event_msg, bool send_to_al… in send_event_msg_to_clients() argument 247 if (xQueueSend(client_obj->constant.event_msg_queue, event_msg, 0) == pdTRUE) { in send_event_msg_to_clients() 302 usb_host_client_event_msg_t event_msg = { in dev_event_callback() local 306 send_event_msg_to_clients(&event_msg, true, 0); in dev_event_callback() 313 usb_host_client_event_msg_t event_msg = { in dev_event_callback() local 317 send_event_msg_to_clients(&event_msg, false, dev_addr); in dev_event_callback() 758 usb_host_client_event_msg_t event_msg; in usb_host_client_handle_events() local 759 … BaseType_t queue_ret = xQueueReceive(client_obj->constant.event_msg_queue, &event_msg, 0); in usb_host_client_handle_events() 761 client_obj->constant.event_callback(&event_msg, client_obj->constant.callback_arg); in usb_host_client_handle_events()
|
/hal_espressif-3.6.0/components/usb/include/usb/ |
D | usb_host.h | 94 typedef void (*usb_host_client_event_cb_t)(const usb_host_client_event_msg_t *event_msg, void *arg);
|
/hal_espressif-3.6.0/examples/peripherals/usb/host/cdc/common/cdc_acm_host/ |
D | cdc_acm_host.c | 176 static void usb_event_cb(const usb_host_client_event_msg_t *event_msg, void *arg); 993 static void usb_event_cb(const usb_host_client_event_msg_t *event_msg, void *arg) in usb_event_cb() argument 995 switch (event_msg->event) { in usb_event_cb() 1006 if (cdc_dev->dev_hdl == event_msg->dev_gone.dev_hdl && cdc_dev->notif.cb) { in usb_event_cb()
|
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/ |
D | usb_host.rst | 235 static void client_event_cb(const usb_host_client_event_msg_t *event_msg, void *arg) 239 switch (event_msg->event) { 242 … class_driver_obj->dev_addr = event_msg->new_dev.address; //Store the address of the new device
|