STM32_USB_Host_Library
BOT_CBWTypeDef::field
is only used within STM32_USB_Host_Library.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
STM32_USB_Host_Library
BOT_CBWTypeDef::field
BOT_CBWTypeDef::field field
Syntax
from
usbh_msc_bot.h:97
struct
__CBW
{
uint32_t
Signature
;
uint32_t
Tag
;
uint32_t
DataTransferLength
;
uint8_t
Flags
;
uint8_t
LUN
;
uint8_t
CBLength
;
uint8_t
CB
[
16
]
;
}
field
;
References
Location
Referrer
Text
usbh_msc_bot.h:106
}
field
;
usbh_msc_bot.c:154
USBH_MSC_BOT_Init()
MSC_Handle
->
hbot
.
cbw
.
field
.
Signature
=
BOT_CBW_SIGNATURE
;
usbh_msc_bot.c:155
USBH_MSC_BOT_Init()
MSC_Handle
->
hbot
.
cbw
.
field
.
Tag
=
BOT_CBW_TAG
;
usbh_msc_bot.c:183
USBH_MSC_BOT_Process()
MSC_Handle
->
hbot
.
cbw
.
field
.
LUN
=
lun
;
usbh_msc_bot.c:196
USBH_MSC_BOT_Process()
if
(
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
!=
0U
)
usbh_msc_bot.c:199
USBH_MSC_BOT_Process()
if
(
(
(
MSC_Handle
->
hbot
.
cbw
.
field
.
Flags
)
&
USB_REQ_DIR_MASK
)
==
USB_D2H
)
usbh_msc_bot.c:274
USBH_MSC_BOT_Process()
if
(
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
>
MSC_Handle
->
InEpSize
)
usbh_msc_bot.c:277
USBH_MSC_BOT_Process()
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
-=
MSC_Handle
->
InEpSize
;
usbh_msc_bot.c:281
USBH_MSC_BOT_Process()
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
=
0U
;
usbh_msc_bot.c:285
USBH_MSC_BOT_Process()
if
(
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
>
0U
)
usbh_msc_bot.c:346
USBH_MSC_BOT_Process()
if
(
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
>
MSC_Handle
->
OutEpSize
)
usbh_msc_bot.c:349
USBH_MSC_BOT_Process()
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
-=
MSC_Handle
->
OutEpSize
;
usbh_msc_bot.c:353
USBH_MSC_BOT_Process()
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
=
0U
;
usbh_msc_bot.c:357
USBH_MSC_BOT_Process()
if
(
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
>
0U
)
usbh_msc_bot.c:604
USBH_MSC_DecodeCSW()
if
(
MSC_Handle
->
hbot
.
csw
.
field
.
Tag
==
MSC_Handle
->
hbot
.
cbw
.
field
.
Tag
)
usbh_msc_scsi.c:113
USBH_MSC_SCSI_TestUnitReady()
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
=
DATA_LEN_MODE_TEST_UNIT_READY
;
usbh_msc_scsi.c:114
USBH_MSC_SCSI_TestUnitReady()
MSC_Handle
->
hbot
.
cbw
.
field
.
Flags
=
USB_EP_DIR_OUT
;
usbh_msc_scsi.c:115
USBH_MSC_SCSI_TestUnitReady()
MSC_Handle
->
hbot
.
cbw
.
field
.
CBLength
=
CBW_LENGTH
;
usbh_msc_scsi.c:117
USBH_MSC_SCSI_TestUnitReady()
(
void
)
USBH_memset
(
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
,
0
,
CBW_CB_LENGTH
)
;
usbh_msc_scsi.c:118
USBH_MSC_SCSI_TestUnitReady()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
0
]
=
OPCODE_TEST_UNIT_READY
;
usbh_msc_scsi.c:156
USBH_MSC_SCSI_ReadCapacity()
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
=
DATA_LEN_READ_CAPACITY10
;
usbh_msc_scsi.c:157
USBH_MSC_SCSI_ReadCapacity()
MSC_Handle
->
hbot
.
cbw
.
field
.
Flags
=
USB_EP_DIR_IN
;
usbh_msc_scsi.c:158
USBH_MSC_SCSI_ReadCapacity()
MSC_Handle
->
hbot
.
cbw
.
field
.
CBLength
=
CBW_LENGTH
;
usbh_msc_scsi.c:160
USBH_MSC_SCSI_ReadCapacity()
(
void
)
USBH_memset
(
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
,
0
,
CBW_CB_LENGTH
)
;
usbh_msc_scsi.c:161
USBH_MSC_SCSI_ReadCapacity()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
0
]
=
OPCODE_READ_CAPACITY10
;
usbh_msc_scsi.c:211
USBH_MSC_SCSI_Inquiry()
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
=
DATA_LEN_INQUIRY
;
usbh_msc_scsi.c:212
USBH_MSC_SCSI_Inquiry()
MSC_Handle
->
hbot
.
cbw
.
field
.
Flags
=
USB_EP_DIR_IN
;
usbh_msc_scsi.c:213
USBH_MSC_SCSI_Inquiry()
MSC_Handle
->
hbot
.
cbw
.
field
.
CBLength
=
CBW_LENGTH
;
usbh_msc_scsi.c:215
USBH_MSC_SCSI_Inquiry()
(
void
)
USBH_memset
(
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
,
0
,
CBW_LENGTH
)
;
usbh_msc_scsi.c:216
USBH_MSC_SCSI_Inquiry()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
0
]
=
OPCODE_INQUIRY
;
usbh_msc_scsi.c:217
USBH_MSC_SCSI_Inquiry()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
1
]
=
(
lun
<
<
5
)
;
usbh_msc_scsi.c:218
USBH_MSC_SCSI_Inquiry()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
2
]
=
0U
;
usbh_msc_scsi.c:219
USBH_MSC_SCSI_Inquiry()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
3
]
=
0U
;
usbh_msc_scsi.c:220
USBH_MSC_SCSI_Inquiry()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
4
]
=
0x24U
;
usbh_msc_scsi.c:221
USBH_MSC_SCSI_Inquiry()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
5
]
=
0U
;
usbh_msc_scsi.c:283
USBH_MSC_SCSI_RequestSense()
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
=
DATA_LEN_REQUEST_SENSE
;
usbh_msc_scsi.c:284
USBH_MSC_SCSI_RequestSense()
MSC_Handle
->
hbot
.
cbw
.
field
.
Flags
=
USB_EP_DIR_IN
;
usbh_msc_scsi.c:285
USBH_MSC_SCSI_RequestSense()
MSC_Handle
->
hbot
.
cbw
.
field
.
CBLength
=
CBW_LENGTH
;
usbh_msc_scsi.c:287
USBH_MSC_SCSI_RequestSense()
(
void
)
USBH_memset
(
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
,
0
,
CBW_CB_LENGTH
)
;
usbh_msc_scsi.c:288
USBH_MSC_SCSI_RequestSense()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
0
]
=
OPCODE_REQUEST_SENSE
;
usbh_msc_scsi.c:289
USBH_MSC_SCSI_RequestSense()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
1
]
=
(
lun
<
<
5
)
;
usbh_msc_scsi.c:290
USBH_MSC_SCSI_RequestSense()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
2
]
=
0U
;
usbh_msc_scsi.c:291
USBH_MSC_SCSI_RequestSense()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
3
]
=
0U
;
usbh_msc_scsi.c:292
USBH_MSC_SCSI_RequestSense()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
4
]
=
DATA_LEN_REQUEST_SENSE
;
usbh_msc_scsi.c:293
USBH_MSC_SCSI_RequestSense()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
5
]
=
0U
;
usbh_msc_scsi.c:345
USBH_MSC_SCSI_Write()
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
=
length
*
MSC_Handle
->
unit
[
0
]
.
capacity
.
block_size
;
usbh_msc_scsi.c:346
USBH_MSC_SCSI_Write()
MSC_Handle
->
hbot
.
cbw
.
field
.
Flags
=
USB_EP_DIR_OUT
;
usbh_msc_scsi.c:347
USBH_MSC_SCSI_Write()
MSC_Handle
->
hbot
.
cbw
.
field
.
CBLength
=
CBW_LENGTH
;
usbh_msc_scsi.c:349
USBH_MSC_SCSI_Write()
(
void
)
USBH_memset
(
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
,
0
,
CBW_CB_LENGTH
)
;
usbh_msc_scsi.c:350
USBH_MSC_SCSI_Write()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
0
]
=
OPCODE_WRITE10
;
usbh_msc_scsi.c:353
USBH_MSC_SCSI_Write()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
2
]
=
(
(
(
uint8_t
*
)
(
void
*
)
&
address
)
[
3
]
)
;
usbh_msc_scsi.c:354
USBH_MSC_SCSI_Write()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
3
]
=
(
(
(
uint8_t
*
)
(
void
*
)
&
address
)
[
2
]
)
;
usbh_msc_scsi.c:355
USBH_MSC_SCSI_Write()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
4
]
=
(
(
(
uint8_t
*
)
(
void
*
)
&
address
)
[
1
]
)
;
usbh_msc_scsi.c:356
USBH_MSC_SCSI_Write()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
5
]
=
(
(
(
uint8_t
*
)
(
void
*
)
&
address
)
[
0
]
)
;
usbh_msc_scsi.c:360
USBH_MSC_SCSI_Write()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
7
]
=
(
(
(
uint8_t
*
)
(
void
*
)
&
length
)
[
1
]
)
;
usbh_msc_scsi.c:361
USBH_MSC_SCSI_Write()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
8
]
=
(
(
(
uint8_t
*
)
(
void
*
)
&
length
)
[
0
]
)
;
usbh_msc_scsi.c:405
USBH_MSC_SCSI_Read()
MSC_Handle
->
hbot
.
cbw
.
field
.
DataTransferLength
=
length
*
MSC_Handle
->
unit
[
0
]
.
capacity
.
block_size
;
usbh_msc_scsi.c:406
USBH_MSC_SCSI_Read()
MSC_Handle
->
hbot
.
cbw
.
field
.
Flags
=
USB_EP_DIR_IN
;
usbh_msc_scsi.c:407
USBH_MSC_SCSI_Read()
MSC_Handle
->
hbot
.
cbw
.
field
.
CBLength
=
CBW_LENGTH
;
usbh_msc_scsi.c:409
USBH_MSC_SCSI_Read()
(
void
)
USBH_memset
(
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
,
0
,
CBW_CB_LENGTH
)
;
usbh_msc_scsi.c:410
USBH_MSC_SCSI_Read()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
0
]
=
OPCODE_READ10
;
usbh_msc_scsi.c:413
USBH_MSC_SCSI_Read()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
2
]
=
(
(
(
uint8_t
*
)
(
void
*
)
&
address
)
[
3
]
)
;
usbh_msc_scsi.c:414
USBH_MSC_SCSI_Read()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
3
]
=
(
(
(
uint8_t
*
)
(
void
*
)
&
address
)
[
2
]
)
;
usbh_msc_scsi.c:415
USBH_MSC_SCSI_Read()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
4
]
=
(
(
(
uint8_t
*
)
(
void
*
)
&
address
)
[
1
]
)
;
usbh_msc_scsi.c:416
USBH_MSC_SCSI_Read()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
5
]
=
(
(
(
uint8_t
*
)
(
void
*
)
&
address
)
[
0
]
)
;
usbh_msc_scsi.c:420
USBH_MSC_SCSI_Read()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
7
]
=
(
(
(
uint8_t
*
)
(
void
*
)
&
length
)
[
1
]
)
;
usbh_msc_scsi.c:421
USBH_MSC_SCSI_Read()
MSC_Handle
->
hbot
.
cbw
.
field
.
CB
[
8
]
=
(
(
(
uint8_t
*
)
(
void
*
)
&
length
)
[
0
]
)
;
Data Use
Functions reading
BOT_CBWTypeDef::field
BOT_CBWTypeDef::field
USBH_MSC_BOT_Init()
USBH_MSC_BOT_Process()
USBH_MSC_DecodeCSW()
USBH_MSC_SCSI_TestUnitReady()
USBH_MSC_SCSI_ReadCapacity()
USBH_MSC_SCSI_Inquiry()
USBH_MSC_SCSI_RequestSense()
USBH_MSC_SCSI_Write()
USBH_MSC_SCSI_Read()
all items filtered out
Type of
BOT_CBWTypeDef::field
BOT_CBWTypeDef::field
__CBW
all items filtered out