Home
last modified time | relevance | path

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

/components/drivers/usb/cherryusb/class/cdc/
A Dusbh_cdc_acm.h11 struct usbh_cdc_acm { struct
36 int usbh_cdc_acm_set_line_coding(struct usbh_cdc_acm *cdc_acm_class, struct cdc_line_coding *line_c… argument
37 int usbh_cdc_acm_get_line_coding(struct usbh_cdc_acm *cdc_acm_class, struct cdc_line_coding *line_c…
38 int usbh_cdc_acm_set_line_state(struct usbh_cdc_acm *cdc_acm_class, bool dtr, bool rts);
40 int usbh_cdc_acm_bulk_in_transfer(struct usbh_cdc_acm *cdc_acm_class, uint8_t *buffer, uint32_t buf…
41 int usbh_cdc_acm_bulk_out_transfer(struct usbh_cdc_acm *cdc_acm_class, uint8_t *buffer, uint32_t bu…
43 void usbh_cdc_acm_run(struct usbh_cdc_acm *cdc_acm_class);
44 void usbh_cdc_acm_stop(struct usbh_cdc_acm *cdc_acm_class);
A Dusbh_cdc_acm.c17 static struct usbh_cdc_acm g_cdc_acm_class[CONFIG_USBHOST_MAX_CDC_ACM_CLASS];
20 static struct usbh_cdc_acm *usbh_cdc_acm_class_alloc(void) in usbh_cdc_acm_class_alloc()
27 memset(&g_cdc_acm_class[devno], 0, sizeof(struct usbh_cdc_acm)); in usbh_cdc_acm_class_alloc()
35 static void usbh_cdc_acm_class_free(struct usbh_cdc_acm *cdc_acm_class) in usbh_cdc_acm_class_free()
42 memset(cdc_acm_class, 0, sizeof(struct usbh_cdc_acm)); in usbh_cdc_acm_class_free()
45 int usbh_cdc_acm_set_line_coding(struct usbh_cdc_acm *cdc_acm_class, struct cdc_line_coding *line_c… in usbh_cdc_acm_set_line_coding()
89 int usbh_cdc_acm_set_line_state(struct usbh_cdc_acm *cdc_acm_class, bool dtr, bool rts) in usbh_cdc_acm_set_line_state()
112 struct usbh_cdc_acm *cdc_acm_class = usbh_cdc_acm_class_alloc(); in usbh_cdc_acm_connect()
178 struct usbh_cdc_acm *cdc_acm_class = (struct usbh_cdc_acm *)hport->config.intf[intf].priv; in usbh_cdc_acm_disconnect()
247 __WEAK void usbh_cdc_acm_run(struct usbh_cdc_acm *cdc_acm_class) in usbh_cdc_acm_run()
[all …]
/components/drivers/usb/cherryusb/demo/
A Dusb_host.c67 struct usbh_cdc_acm *cdc_acm_class = (struct usbh_cdc_acm *)CONFIG_USB_OSAL_THREAD_GET_ARGV; in usbh_cdc_acm_thread()
330 void usbh_cdc_acm_run(struct usbh_cdc_acm *cdc_acm_class) in usbh_cdc_acm_run()
335 void usbh_cdc_acm_stop(struct usbh_cdc_acm *cdc_acm_class) in usbh_cdc_acm_stop()
/components/drivers/usb/cherryusb/platform/rtthread/
A Dusbh_serial.c211 …ret = usbh_cdc_acm_bulk_out_transfer((struct usbh_cdc_acm *)dev->user_data, (uint8_t *)align_buf, … in usbh_serial_write()
287 struct usbh_cdc_acm *cdc_acm_class; in usbh_serial_control()
288 cdc_acm_class = (struct usbh_cdc_acm *)dev->user_data; in usbh_serial_control()
617 struct usbh_cdc_acm *cdc_acm_class = (struct usbh_cdc_acm *)arg; in usbh_cdc_acm_callback()
638 void usbh_cdc_acm_run(struct usbh_cdc_acm *cdc_acm_class) in usbh_cdc_acm_run()
665 void usbh_cdc_acm_stop(struct usbh_cdc_acm *cdc_acm_class) in usbh_cdc_acm_stop()
/components/drivers/usb/cherryusb/
A DREADME_zh.md128 |usbh_cdc_acm.c | ~600 | 7 * x | 4 + sizeof(struct usbh_cdc_acm) * x …
A DREADME.md126 |usbh_cdc_acm.c | ~600 | 7 * x | 4 + sizeof(struct usbh_cdc_acm) * x …
A DSConscript270 src += Glob('class/cdc/usbh_cdc_acm.c')
A Dcherryusb.cmake159 list(APPEND cherryusb_srcs ${CMAKE_CURRENT_LIST_DIR}/class/cdc/usbh_cdc_acm.c)

Completed in 9 milliseconds