STM32_USB_Device_Library
USBD_AUDIO_HandleTypeDef::control
is only used within STM32_USB_Device_Library.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
STM32_USB_Device_Library
USBD_AUDIO_HandleTypeDef::control
USBD_AUDIO_HandleTypeDef::control field
Syntax
from
usbd_audio.h:158
USBD_AUDIO_ControlTypeDef
control
;
References
Location
Referrer
Text
usbd_audio.h:158
USBD_AUDIO_ControlTypeDef
control
;
usbd_audio.c:613
USBD_AUDIO_EP0_RxReady()
if
(
haudio
->
control
.
cmd
==
AUDIO_REQ_SET_CUR
)
usbd_audio.c:617
USBD_AUDIO_EP0_RxReady()
if
(
haudio
->
control
.
unit
==
AUDIO_OUT_STREAMING_CTRL
)
usbd_audio.c:619
USBD_AUDIO_EP0_RxReady()
(
(
USBD_AUDIO_ItfTypeDef
*
)
pdev
->
pUserData
[
pdev
->
classId
]
)
->
MuteCtl
(
haudio
->
control
.
data
[
0
]
)
;
usbd_audio.c:620
USBD_AUDIO_EP0_RxReady()
haudio
->
control
.
cmd
=
0U
;
usbd_audio.c:621
USBD_AUDIO_EP0_RxReady()
haudio
->
control
.
len
=
0U
;
usbd_audio.c:845
AUDIO_REQ_GetCurrent()
(
void
)
USBD_memset
(
haudio
->
control
.
data
,
0
,
USB_MAX_EP0_SIZE
)
;
usbd_audio.c:848
AUDIO_REQ_GetCurrent()
(
void
)
USBD_CtlSendData
(
pdev
,
haudio
->
control
.
data
,
usbd_audio.c:871
AUDIO_REQ_SetCurrent()
haudio
->
control
.
cmd
=
AUDIO_REQ_SET_CUR
;
/* Set the request value */
usbd_audio.c:872
AUDIO_REQ_SetCurrent()
haudio
->
control
.
len
=
(
uint8_t
)
MIN
(
req
->
wLength
,
USB_MAX_EP0_SIZE
)
;
/* Set the request data length */
usbd_audio.c:873
AUDIO_REQ_SetCurrent()
haudio
->
control
.
unit
=
HIBYTE
(
req
->
wIndex
)
;
/* Set the request target unit */
usbd_audio.c:876
AUDIO_REQ_SetCurrent()
(
void
)
USBD_CtlPrepareRx
(
pdev
,
haudio
->
control
.
data
,
haudio
->
control
.
len
)
;
Data Use
Functions reading
USBD_AUDIO_HandleTypeDef::control
USBD_AUDIO_HandleTypeDef::control
USBD_AUDIO_EP0_RxReady()
AUDIO_REQ_GetCurrent()
AUDIO_REQ_SetCurrent()
all items filtered out
Type of
USBD_AUDIO_HandleTypeDef::control
USBD_AUDIO_HandleTypeDef::control
USBD_AUDIO_ControlTypeDef
all items filtered out