BOT_CBWTypeDef::field is only used within STM32_USB_Host_Library.
 
Symbols
loading...
Files
loading...

BOT_CBWTypeDef::field field

Syntax

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

LocationReferrerText
usbh_msc_bot.h:106
} field;
usbh_msc_bot.c:154USBH_MSC_BOT_Init()
MSC_Handle->hbot.cbw.field.Signature = BOT_CBW_SIGNATURE;
usbh_msc_bot.c:155USBH_MSC_BOT_Init()
MSC_Handle->hbot.cbw.field.Tag = BOT_CBW_TAG;
usbh_msc_bot.c:183USBH_MSC_BOT_Process()
MSC_Handle->hbot.cbw.field.LUN = lun;
usbh_msc_bot.c:196USBH_MSC_BOT_Process()
if (MSC_Handle->hbot.cbw.field.DataTransferLength != 0U)
usbh_msc_bot.c:199USBH_MSC_BOT_Process()
if (((MSC_Handle->hbot.cbw.field.Flags) & USB_REQ_DIR_MASK) == USB_D2H)
usbh_msc_bot.c:274USBH_MSC_BOT_Process()
if (MSC_Handle->hbot.cbw.field.DataTransferLength > MSC_Handle->InEpSize)
usbh_msc_bot.c:277USBH_MSC_BOT_Process()
MSC_Handle->hbot.cbw.field.DataTransferLength -= MSC_Handle->InEpSize;
usbh_msc_bot.c:281USBH_MSC_BOT_Process()
MSC_Handle->hbot.cbw.field.DataTransferLength = 0U;
usbh_msc_bot.c:285USBH_MSC_BOT_Process()
if (MSC_Handle->hbot.cbw.field.DataTransferLength > 0U)
usbh_msc_bot.c:346USBH_MSC_BOT_Process()
if (MSC_Handle->hbot.cbw.field.DataTransferLength > MSC_Handle->OutEpSize)
usbh_msc_bot.c:349USBH_MSC_BOT_Process()
MSC_Handle->hbot.cbw.field.DataTransferLength -= MSC_Handle->OutEpSize;
usbh_msc_bot.c:353USBH_MSC_BOT_Process()
MSC_Handle->hbot.cbw.field.DataTransferLength = 0U;
usbh_msc_bot.c:357USBH_MSC_BOT_Process()
if (MSC_Handle->hbot.cbw.field.DataTransferLength > 0U)
usbh_msc_bot.c:604USBH_MSC_DecodeCSW()
if (MSC_Handle->hbot.csw.field.Tag == MSC_Handle->hbot.cbw.field.Tag)
usbh_msc_scsi.c:113USBH_MSC_SCSI_TestUnitReady()
usbh_msc_scsi.c:114USBH_MSC_SCSI_TestUnitReady()
MSC_Handle->hbot.cbw.field.Flags = USB_EP_DIR_OUT;
usbh_msc_scsi.c:115USBH_MSC_SCSI_TestUnitReady()
MSC_Handle->hbot.cbw.field.CBLength = CBW_LENGTH;
usbh_msc_scsi.c:117USBH_MSC_SCSI_TestUnitReady()
(void)USBH_memset(MSC_Handle->hbot.cbw.field.CB, 0, CBW_CB_LENGTH);
usbh_msc_scsi.c:118USBH_MSC_SCSI_TestUnitReady()
MSC_Handle->hbot.cbw.field.CB[0] = OPCODE_TEST_UNIT_READY;
usbh_msc_scsi.c:156USBH_MSC_SCSI_ReadCapacity()
usbh_msc_scsi.c:157USBH_MSC_SCSI_ReadCapacity()
MSC_Handle->hbot.cbw.field.Flags = USB_EP_DIR_IN;
usbh_msc_scsi.c:158USBH_MSC_SCSI_ReadCapacity()
MSC_Handle->hbot.cbw.field.CBLength = CBW_LENGTH;
usbh_msc_scsi.c:160USBH_MSC_SCSI_ReadCapacity()
(void)USBH_memset(MSC_Handle->hbot.cbw.field.CB, 0, CBW_CB_LENGTH);
usbh_msc_scsi.c:161USBH_MSC_SCSI_ReadCapacity()
MSC_Handle->hbot.cbw.field.CB[0] = OPCODE_READ_CAPACITY10;
usbh_msc_scsi.c:211USBH_MSC_SCSI_Inquiry()
usbh_msc_scsi.c:212USBH_MSC_SCSI_Inquiry()
MSC_Handle->hbot.cbw.field.Flags = USB_EP_DIR_IN;
usbh_msc_scsi.c:213USBH_MSC_SCSI_Inquiry()
MSC_Handle->hbot.cbw.field.CBLength = CBW_LENGTH;
usbh_msc_scsi.c:215USBH_MSC_SCSI_Inquiry()
(void)USBH_memset(MSC_Handle->hbot.cbw.field.CB, 0, CBW_LENGTH);
usbh_msc_scsi.c:216USBH_MSC_SCSI_Inquiry()
MSC_Handle->hbot.cbw.field.CB[0] = OPCODE_INQUIRY;
usbh_msc_scsi.c:217USBH_MSC_SCSI_Inquiry()
MSC_Handle->hbot.cbw.field.CB[1] = (lun << 5);
usbh_msc_scsi.c:218USBH_MSC_SCSI_Inquiry()
MSC_Handle->hbot.cbw.field.CB[2] = 0U;
usbh_msc_scsi.c:219USBH_MSC_SCSI_Inquiry()
MSC_Handle->hbot.cbw.field.CB[3] = 0U;
usbh_msc_scsi.c:220USBH_MSC_SCSI_Inquiry()
MSC_Handle->hbot.cbw.field.CB[4] = 0x24U;
usbh_msc_scsi.c:221USBH_MSC_SCSI_Inquiry()
MSC_Handle->hbot.cbw.field.CB[5] = 0U;
usbh_msc_scsi.c:283USBH_MSC_SCSI_RequestSense()
usbh_msc_scsi.c:284USBH_MSC_SCSI_RequestSense()
MSC_Handle->hbot.cbw.field.Flags = USB_EP_DIR_IN;
usbh_msc_scsi.c:285USBH_MSC_SCSI_RequestSense()
MSC_Handle->hbot.cbw.field.CBLength = CBW_LENGTH;
usbh_msc_scsi.c:287USBH_MSC_SCSI_RequestSense()
(void)USBH_memset(MSC_Handle->hbot.cbw.field.CB, 0, CBW_CB_LENGTH);
usbh_msc_scsi.c:288USBH_MSC_SCSI_RequestSense()
MSC_Handle->hbot.cbw.field.CB[0] = OPCODE_REQUEST_SENSE;
usbh_msc_scsi.c:289USBH_MSC_SCSI_RequestSense()
MSC_Handle->hbot.cbw.field.CB[1] = (lun << 5);
usbh_msc_scsi.c:290USBH_MSC_SCSI_RequestSense()
MSC_Handle->hbot.cbw.field.CB[2] = 0U;
usbh_msc_scsi.c:291USBH_MSC_SCSI_RequestSense()
MSC_Handle->hbot.cbw.field.CB[3] = 0U;
usbh_msc_scsi.c:292USBH_MSC_SCSI_RequestSense()
MSC_Handle->hbot.cbw.field.CB[4] = DATA_LEN_REQUEST_SENSE;
usbh_msc_scsi.c:293USBH_MSC_SCSI_RequestSense()
MSC_Handle->hbot.cbw.field.CB[5] = 0U;
usbh_msc_scsi.c:345USBH_MSC_SCSI_Write()
MSC_Handle->hbot.cbw.field.DataTransferLength = length * MSC_Handle->unit[0].capacity.block_size;
usbh_msc_scsi.c:346USBH_MSC_SCSI_Write()
MSC_Handle->hbot.cbw.field.Flags = USB_EP_DIR_OUT;
usbh_msc_scsi.c:347USBH_MSC_SCSI_Write()
MSC_Handle->hbot.cbw.field.CBLength = CBW_LENGTH;
usbh_msc_scsi.c:349USBH_MSC_SCSI_Write()
(void)USBH_memset(MSC_Handle->hbot.cbw.field.CB, 0, CBW_CB_LENGTH);
usbh_msc_scsi.c:350USBH_MSC_SCSI_Write()
MSC_Handle->hbot.cbw.field.CB[0] = OPCODE_WRITE10;
usbh_msc_scsi.c:353USBH_MSC_SCSI_Write()
MSC_Handle->hbot.cbw.field.CB[2] = (((uint8_t *)(void *)&address)[3]);
usbh_msc_scsi.c:354USBH_MSC_SCSI_Write()
MSC_Handle->hbot.cbw.field.CB[3] = (((uint8_t *)(void *)&address)[2]);
usbh_msc_scsi.c:355USBH_MSC_SCSI_Write()
MSC_Handle->hbot.cbw.field.CB[4] = (((uint8_t *)(void *)&address)[1]);
usbh_msc_scsi.c:356USBH_MSC_SCSI_Write()
MSC_Handle->hbot.cbw.field.CB[5] = (((uint8_t *)(void *)&address)[0]);
usbh_msc_scsi.c:360USBH_MSC_SCSI_Write()
MSC_Handle->hbot.cbw.field.CB[7] = (((uint8_t *)(void *)&length)[1]);
usbh_msc_scsi.c:361USBH_MSC_SCSI_Write()
MSC_Handle->hbot.cbw.field.CB[8] = (((uint8_t *)(void *)&length)[0]);
usbh_msc_scsi.c:405USBH_MSC_SCSI_Read()
MSC_Handle->hbot.cbw.field.DataTransferLength = length * MSC_Handle->unit[0].capacity.block_size;
usbh_msc_scsi.c:406USBH_MSC_SCSI_Read()
MSC_Handle->hbot.cbw.field.Flags = USB_EP_DIR_IN;
usbh_msc_scsi.c:407USBH_MSC_SCSI_Read()
MSC_Handle->hbot.cbw.field.CBLength = CBW_LENGTH;
usbh_msc_scsi.c:409USBH_MSC_SCSI_Read()
(void)USBH_memset(MSC_Handle->hbot.cbw.field.CB, 0, CBW_CB_LENGTH);
usbh_msc_scsi.c:410USBH_MSC_SCSI_Read()
MSC_Handle->hbot.cbw.field.CB[0] = OPCODE_READ10;
usbh_msc_scsi.c:413USBH_MSC_SCSI_Read()
MSC_Handle->hbot.cbw.field.CB[2] = (((uint8_t *)(void *)&address)[3]);
usbh_msc_scsi.c:414USBH_MSC_SCSI_Read()
MSC_Handle->hbot.cbw.field.CB[3] = (((uint8_t *)(void *)&address)[2]);
usbh_msc_scsi.c:415USBH_MSC_SCSI_Read()
MSC_Handle->hbot.cbw.field.CB[4] = (((uint8_t *)(void *)&address)[1]);
usbh_msc_scsi.c:416USBH_MSC_SCSI_Read()
MSC_Handle->hbot.cbw.field.CB[5] = (((uint8_t *)(void *)&address)[0]);
usbh_msc_scsi.c:420USBH_MSC_SCSI_Read()
MSC_Handle->hbot.cbw.field.CB[7] = (((uint8_t *)(void *)&length)[1]);
usbh_msc_scsi.c:421USBH_MSC_SCSI_Read()
MSC_Handle->hbot.cbw.field.CB[8] = (((uint8_t *)(void *)&length)[0]);

Data Use

Type of BOT_CBWTypeDef::field
BOT_CBWTypeDef::field
all items filtered out