ESP-IDF Firmware
Firmware architecture and call graph
Loading...
Searching...
No Matches
vfs_tinyusb.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#pragma once
8
9
#include "
esp_err.h
"
10
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
15
#define VFS_TUSB_MAX_PATH 16
16
#define VFS_TUSB_PATH_DEFAULT "/dev/tusb_cdc"
17
25
esp_err_t
esp_vfs_tusb_cdc_register
(
int
cdc_intf,
char
const
*path);
26
33
esp_err_t
esp_vfs_tusb_cdc_unregister
(
char
const
*path);
34
35
#ifdef __cplusplus
36
}
37
#endif
esp_err.h
esp_err_t
int esp_err_t
Definition
esp_err.h:21
esp_vfs_tusb_cdc_unregister
esp_err_t esp_vfs_tusb_cdc_unregister(char const *path)
Unregister TinyUSB CDC from VFS.
Definition
vfs_tinyusb.c:224
esp_vfs_tusb_cdc_register
esp_err_t esp_vfs_tusb_cdc_register(int cdc_intf, char const *path)
Register TinyUSB CDC at VFS with path.
Definition
vfs_tinyusb.c:256
components
espressif__esp_tinyusb
include
vfs_tinyusb.h
Generated by
1.16.1