TinyUSB Library
_usbd_driver
is only used within TinyUSB Library.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
TinyUSB Library
_usbd_driver
_usbd_driver variable
Syntax
Show:
Summary
Declaration
from
usbd.c:145
tu_static
usbd_class_driver_t
const
_usbd_driver
[
]
=
{
#if
CFG_TUD_CDC
{
.
name
=
DRIVER_NAME
(
"CDC"
)
,
.
init
=
cdcd_init
,
.
deinit
=
cdcd_deinit
,
.
reset
=
cdcd_reset
,
.
open
=
cdcd_open
,
.
control_xfer_cb
=
cdcd_control_xfer_cb
,
.
xfer_cb
=
cdcd_xfer_cb
,
.
sof
=
NULL
}
,
#endif
#if
CFG_TUD_MSC
{
.
name
=
DRIVER_NAME
(
"MSC"
)
,
.
init
=
mscd_init
,
.
deinit
=
NULL
,
.
reset
=
mscd_reset
,
.
open
=
mscd_open
,
.
control_xfer_cb
=
mscd_control_xfer_cb
,
.
xfer_cb
=
mscd_xfer_cb
,
.
sof
=
NULL
}
,
#endif
#if
CFG_TUD_HID
{
.
name
=
DRIVER_NAME
(
"HID"
)
,
.
init
=
hidd_init
,
.
deinit
=
hidd_deinit
,
.
reset
=
hidd_reset
,
.
open
=
hidd_open
,
.
control_xfer_cb
=
hidd_control_xfer_cb
,
.
xfer_cb
=
hidd_xfer_cb
,
.
sof
=
NULL
}
,
#endif
#if
CFG_TUD_AUDIO
{
.
name
=
DRIVER_NAME
(
"AUDIO"
)
,
.
init
=
audiod_init
,
.
deinit
=
audiod_deinit
,
.
reset
=
audiod_reset
,
.
open
=
audiod_open
,
.
control_xfer_cb
=
audiod_control_xfer_cb
,
.
xfer_cb
=
audiod_xfer_cb
,
.
sof
=
audiod_sof_isr
}
,
#endif
#if
CFG_TUD_VIDEO
{
.
name
=
DRIVER_NAME
(
"VIDEO"
)
,
.
init
=
videod_init
,
.
deinit
=
videod_deinit
,
.
reset
=
videod_reset
,
.
open
=
videod_open
,
.
control_xfer_cb
=
videod_control_xfer_cb
,
.
xfer_cb
=
videod_xfer_cb
,
.
sof
=
NULL
}
,
#endif
#if
CFG_TUD_MIDI
{
.
name
=
DRIVER_NAME
(
"MIDI"
)
,
.
init
=
midid_init
,
.
deinit
=
midid_deinit
,
.
open
=
midid_open
,
.
reset
=
midid_reset
,
.
control_xfer_cb
=
midid_control_xfer_cb
,
.
xfer_cb
=
midid_xfer_cb
,
.
sof
=
NULL
}
,
#endif
#if
CFG_TUD_VENDOR
{
.
name
=
DRIVER_NAME
(
"VENDOR"
)
,
.
init
=
vendord_init
,
.
deinit
=
vendord_deinit
,
.
reset
=
vendord_reset
,
.
open
=
vendord_open
,
.
control_xfer_cb
=
tud_vendor_control_xfer_cb
,
.
xfer_cb
=
vendord_xfer_cb
,
.
sof
=
NULL
}
,
#endif
#if
CFG_TUD_USBTMC
{
.
name
=
DRIVER_NAME
(
"TMC"
)
,
.
init
=
usbtmcd_init_cb
,
.
deinit
=
usbtmcd_deinit
,
.
reset
=
usbtmcd_reset_cb
,
.
open
=
usbtmcd_open_cb
,
.
control_xfer_cb
=
usbtmcd_control_xfer_cb
,
.
xfer_cb
=
usbtmcd_xfer_cb
,
.
sof
=
NULL
}
,
#endif
#if
CFG_TUD_DFU_RUNTIME
{
.
name
=
DRIVER_NAME
(
"DFU-RUNTIME"
)
,
.
init
=
dfu_rtd_init
,
.
deinit
=
dfu_rtd_deinit
,
.
reset
=
dfu_rtd_reset
,
.
open
=
dfu_rtd_open
,
.
control_xfer_cb
=
dfu_rtd_control_xfer_cb
,
.
xfer_cb
=
NULL
,
.
sof
=
NULL
}
,
#endif
#if
CFG_TUD_DFU
{
.
name
=
DRIVER_NAME
(
"DFU"
)
,
.
init
=
dfu_moded_init
,
.
deinit
=
dfu_moded_deinit
,
.
reset
=
dfu_moded_reset
,
.
open
=
dfu_moded_open
,
.
control_xfer_cb
=
dfu_moded_control_xfer_cb
,
.
xfer_cb
=
NULL
,
.
sof
=
NULL
}
,
#endif
#if
CFG_TUD_ECM_RNDIS
||
CFG_TUD_NCM
{
.
name
=
DRIVER_NAME
(
"NET"
)
,
.
init
=
netd_init
,
.
deinit
=
netd_deinit
,
.
reset
=
netd_reset
,
.
open
=
netd_open
,
.
control_xfer_cb
=
netd_control_xfer_cb
,
.
xfer_cb
=
netd_xfer_cb
,
.
sof
=
NULL
,
}
,
#endif
#if
CFG_TUD_BTH
{
.
name
=
DRIVER_NAME
(
"BTH"
)
,
.
init
=
btd_init
,
.
deinit
=
btd_deinit
,
.
reset
=
btd_reset
,
.
open
=
btd_open
,
.
control_xfer_cb
=
btd_control_xfer_cb
,
.
xfer_cb
=
btd_xfer_cb
,
.
sof
=
NULL
}
,
#endif
}
;
Examples
References
from
examples
Code
Location
Referrer
tu_static
usbd_class_driver_t
const
_usbd_driver
[
]
=
{
usbd.c:145
enum
{
BUILTIN_DRIVER_COUNT
=
TU_ARRAY_SIZE
(
_usbd_driver
)
}
;
usbd.c:303
driver
=
&
_usbd_driver
[
drvid
-
_app_driver_count
]
;
usbd.c:319
get_driver()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
_usbd_driver
is read by 1 function:
All items filtered out
_usbd_driver
get_driver()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out