Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/tinyusb/additions/src/
Dvfs_tinyusb.c72 int cdc_intf; member
103 static esp_err_t vfstusb_init(int cdc_intf, char const *path) in vfstusb_init() argument
105 s_vfstusb.cdc_intf = cdc_intf; in vfstusb_init()
139 if (tinyusb_cdcacm_write_queue_char(s_vfstusb.cdc_intf, '\r')) { in tusb_write()
149 if (tinyusb_cdcacm_write_queue_char(s_vfstusb.cdc_intf, c)) { in tusb_write()
156 tud_cdc_n_write_flush(s_vfstusb.cdc_intf); in tusb_write()
266 esp_err_t esp_vfs_tusb_cdc_register(int cdc_intf, char const *path) in esp_vfs_tusb_cdc_register() argument
270 if (!tusb_cdc_acm_initialized(cdc_intf)) { in esp_vfs_tusb_cdc_register()
271 ESP_LOGE(TAG, "TinyUSB CDC#%d is not initialized", cdc_intf); in esp_vfs_tusb_cdc_register()
275 res = vfstusb_init(cdc_intf, path); in esp_vfs_tusb_cdc_register()
Dtusb_console.c109 esp_err_t esp_tusb_init_console(int cdc_intf) in esp_tusb_init_console() argument
111 if (!tinyusb_cdc_initialized(cdc_intf)) { in esp_tusb_init_console()
116 int res = esp_vfs_tusb_cdc_register(cdc_intf, NULL); in esp_tusb_init_console()
129 esp_err_t esp_tusb_deinit_console(int cdc_intf) in esp_tusb_deinit_console() argument
131 if (!tinyusb_cdc_initialized(cdc_intf)) { in esp_tusb_deinit_console()
/hal_espressif-3.6.0/components/tinyusb/additions/include/
Dtusb_console.h29 esp_err_t esp_tusb_init_console(int cdc_intf);
37 esp_err_t esp_tusb_deinit_console(int cdc_intf);
Dvfs_tinyusb.h30 esp_err_t esp_vfs_tusb_cdc_register(int cdc_intf, char const *path);