Home
last modified time | relevance | path

Searched refs:reqData (Results 1 – 10 of 10) sorted by relevance

/bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Core_Device/Standard/src/
A Dusbd_stdReq.c55 uint8_t bRequest = g_usbDev.reqData.byte.bRequest; in USBD_StandardReqeust()
109 g_usbDev.stdReqExceptionHandler(&g_usbDev.reqData); in USBD_StandardReqeust()
127 uint8_t recipient = g_usbDev.reqData.byte.bmRequestType.bit.recipient; in USBD_StandardGetConfiguration()
156 uint8_t wValue0 = g_usbDev.reqData.byte.wValue[0]; in USBD_StandardGetDescriptor()
157 uint8_t wValue1 = g_usbDev.reqData.byte.wValue[1]; in USBD_StandardGetDescriptor()
244 if(g_usbDev.reqData.byte.wIndex[0] & 0x80) in USBD_StandardGetStatus()
279 USBD_DevReqData_T *reqData = &g_usbDev.reqData; in USBD_StandardSetAddress() local
281 if((reqData->byte.wValue[0] < 127) && (reqData->byte.wValue[1] == 0) && in USBD_StandardSetAddress()
301 USBD_DevReqData_T *reqData = &g_usbDev.reqData; in USBD_StandardSetConfiguration() local
303 if((reqData->byte.wValue[0] <= g_usbDev.configurationNum) && \ in USBD_StandardSetConfiguration()
[all …]
A Dusbd_core.c88 USBD_DevReqData_T* pReqData = &g_usbDev.reqData; in USBD_SetupProcess()
184 if (g_usbDev.reqData.byte.bRequest == USBD_SET_ADDRESS) in USBD_CtrlInProcess()
186 USBD_SetDeviceAddr(g_usbDev.reqData.byte.wValue[0]); in USBD_CtrlInProcess()
247 uint16_t reqLen = *(uint16_t*)g_usbDev.reqData.byte.wLength; in USBD_CtrlInData()
276 g_usbDev.ctrlState = g_usbDev.reqData.byte.bmRequestType.bit.dir ? \ in USBD_CtrlInData()
286 g_usbDev.ctrlState = g_usbDev.reqData.byte.bmRequestType.bit.dir ? \ in USBD_CtrlInData()
/bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Core_Device/Class/MSC/src/
A Dusbd_class_msc.c83 void USBD_MSC_ClassHandler(USBD_DevReqData_T* reqData) in USBD_MSC_ClassHandler() argument
85 uint16_t wValue = ((uint16_t)reqData->byte.wValue[1] << 8) | \ in USBD_MSC_ClassHandler()
86 reqData->byte.wValue[0]; in USBD_MSC_ClassHandler()
87 uint16_t wLength = ((uint16_t)reqData->byte.wLength[1] << 8) | \ in USBD_MSC_ClassHandler()
88 reqData->byte.wLength[0]; in USBD_MSC_ClassHandler()
90 switch (reqData->byte.bRequest) in USBD_MSC_ClassHandler()
94 (reqData->byte.bmRequestType.bit.dir == 1)) in USBD_MSC_ClassHandler()
107 (reqData->byte.bmRequestType.bit.dir == 0)) in USBD_MSC_ClassHandler()
A Dusbd_msc_bot.c258 else if (((g_usbDev.reqData.byte.wIndex[0] & 0x80) == 0x80) && \ in USBD_MSV_BOT_ClearFeatureHandler()
/bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Core_Device/Class/CDC/src/
A Dusbd_class_cdc.c82 void USBD_ClassHandler(USBD_DevReqData_T* reqData) in USBD_ClassHandler() argument
84 uint16_t length = ((uint16_t)reqData->byte.wLength[1] << 8) | \ in USBD_ClassHandler()
85 reqData->byte.wLength[0] ; in USBD_ClassHandler()
89 if (!reqData->byte.bmRequestType.bit.dir) in USBD_ClassHandler()
100 switch (reqData->byte.bRequest) in USBD_ClassHandler()
/bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Core_Device/Class/HID/src/
A Dusbd_class_hid.c83 void USBD_ClassHandler(USBD_DevReqData_T* reqData) in USBD_ClassHandler() argument
85 switch (reqData->byte.bRequest) in USBD_ClassHandler()
88 s_hidIdleState = reqData->byte.wValue[1]; in USBD_ClassHandler()
97 s_hidProtocol = reqData->byte.wValue[0]; in USBD_ClassHandler()
/bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Core_Device/Class/CDC/inc/
A Dusbd_class_cdc.h77 void USBD_ClassHandler(USBD_DevReqData_T* reqData);
/bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Core_Device/Class/MSC/inc/
A Dusbd_class_msc.h80 void USBD_MSC_ClassHandler(USBD_DevReqData_T* reqData);
/bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Core_Device/Class/HID/inc/
A Dusbd_class_hid.h86 void USBD_ClassHandler(USBD_DevReqData_T* reqData);
/bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Core_Device/Standard/inc/
A Dusbd_core.h301 USBD_DevReqData_T reqData; member

Completed in 19 milliseconds