STM32_USB_Device_Library
_Device_cb
is only used within STM32_USB_Device_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
STM32 Libraries and Samples
STM32_USB_Device_Library
_Device_cb
_Device_cb struct
Syntax
Show:
Summary
Declaration
from
usbd_def.h:245
typedef
struct
_Device_cb
{
uint8_t
(
*
Init
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
cfgidx
)
;
uint8_t
(
*
DeInit
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
cfgidx
)
;
uint8_t
(
*
Setup
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
USBD_SetupReqTypedef
*
req
)
;
uint8_t
(
*
EP0_TxSent
)
(
struct
_USBD_HandleTypeDef
*
pdev
)
;
uint8_t
(
*
EP0_RxReady
)
(
struct
_USBD_HandleTypeDef
*
pdev
)
;
uint8_t
(
*
DataIn
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
epnum
)
;
uint8_t
(
*
DataOut
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
epnum
)
;
uint8_t
(
*
SOF
)
(
struct
_USBD_HandleTypeDef
*
pdev
)
;
uint8_t
(
*
IsoINIncomplete
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
epnum
)
;
uint8_t
(
*
IsoOUTIncomplete
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
epnum
)
;
uint8_t
*
(
*
GetHSConfigDescriptor
)
(
uint16_t
*
length
)
;
uint8_t
*
(
*
GetFSConfigDescriptor
)
(
uint16_t
*
length
)
;
uint8_t
*
(
*
GetOtherSpeedConfigDescriptor
)
(
uint16_t
*
length
)
;
uint8_t
*
(
*
GetDeviceQualifierDescriptor
)
(
uint16_t
*
length
)
;
#if
(
USBD_SUPPORT_USER_STRING_DESC
==
1U
)
uint8_t
*
(
*
GetUsrStrDescriptor
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
index
,
uint16_t
*
length
)
;
#endif
}
USBD_ClassTypeDef
;
Fields
Field
Declared as
_Device_cb::Init
uint8_t
(
*
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
cfgidx
)
_Device_cb::DeInit
uint8_t
(
*
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
cfgidx
)
_Device_cb::Setup
uint8_t
(
*
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
USBD_SetupReqTypedef
*
req
)
_Device_cb::EP0_TxSent
uint8_t
(
*
)
(
struct
_USBD_HandleTypeDef
*
pdev
)
_Device_cb::EP0_RxReady
uint8_t
(
*
)
(
struct
_USBD_HandleTypeDef
*
pdev
)
_Device_cb::DataIn
uint8_t
(
*
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
epnum
)
_Device_cb::DataOut
uint8_t
(
*
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
epnum
)
_Device_cb::SOF
uint8_t
(
*
)
(
struct
_USBD_HandleTypeDef
*
pdev
)
_Device_cb::IsoINIncomplete
uint8_t
(
*
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
epnum
)
_Device_cb::IsoOUTIncomplete
uint8_t
(
*
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
epnum
)
_Device_cb::GetHSConfigDescriptor
uint8_t
*
(
*
)
(
uint16_t
*
length
)
_Device_cb::GetFSConfigDescriptor
uint8_t
*
(
*
)
(
uint16_t
*
length
)
_Device_cb::GetOtherSpeedConfigDescriptor
uint8_t
*
(
*
)
(
uint16_t
*
length
)
_Device_cb::GetDeviceQualifierDescriptor
uint8_t
*
(
*
)
(
uint16_t
*
length
)
_Device_cb::GetUsrStrDescriptor
uint8_t
*
(
*
)
(
struct
_USBD_HandleTypeDef
*
pdev
,
uint8_t
index
,
uint16_t
*
length
)
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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