Home
last modified time | relevance | path

Searched refs:maxPackSize (Results 1 – 5 of 5) sorted by relevance

/bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Core_Device/Standard/src/
A Dusbd_core.c246 uint16_t maxPackSize = g_usbDev.inBuf[0].maxPackSize; in USBD_CtrlInData() local
256 if (len >= g_usbDev.inBuf[0].maxPackSize) in USBD_CtrlInData()
266 … g_usbDev.inBuf[0].packNum = (g_usbDev.inBuf[0].bufLen + (maxPackSize - 1)) / maxPackSize; in USBD_CtrlInData()
303 uint16_t maxPackSize = g_usbDev.outBuf[USBD_EP_0].maxPackSize; in USBD_CtrlOutData() local
309 g_usbDev.outBuf[USBD_EP_0].packNum = (len + (maxPackSize - 1)) / maxPackSize; in USBD_CtrlOutData()
405 uint16_t maxPackSize = g_usbDev.inBuf[ep].maxPackSize; in USBD_TxData() local
407 if (len >= maxPackSize) in USBD_TxData()
410 USBD_SetEPTxCnt(ep, maxPackSize); in USBD_TxData()
415 g_usbDev.inBuf[ep].packNum = (g_usbDev.inBuf[ep].bufLen + (maxPackSize - 1)) / maxPackSize; in USBD_TxData()
441 uint16_t maxPackSize = g_usbDev.outBuf[ep].maxPackSize; in USBD_RxData() local
[all …]
A Dusbd_init.c188 g_usbDev.outBuf[epConfig->epNum].maxPackSize = epConfig->maxPackSize; in USBD_OpenOutEP()
202 USBD_SetEPRxCnt(epConfig->epNum, epConfig->maxPackSize); in USBD_OpenOutEP()
215 g_usbDev.inBuf[epConfig->epNum].maxPackSize = epConfig->maxPackSize; in USBD_OpenInEP()
241 g_usbDev.outBuf[ep].maxPackSize = 0; in USBD_CloseOutEP()
255 g_usbDev.inBuf[ep].maxPackSize = 0; in USBD_CloseInEP()
A Dusbd_interrupt.c231 g_usbDev.inBuf[USBD_EP_0].maxPackSize = USB_EP0_PACKET_SIZE; in USBD_ResetIsrHandler()
232 g_usbDev.outBuf[USBD_EP_0].maxPackSize = USB_EP0_PACKET_SIZE; in USBD_ResetIsrHandler()
241 epConfig.maxPackSize = g_usbDev.inBuf[USBD_EP_0].maxPackSize; in USBD_ResetIsrHandler()
247 epConfig.maxPackSize = g_usbDev.outBuf[USBD_EP_0].maxPackSize; in USBD_ResetIsrHandler()
/bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Core_Device/Standard/inc/
A Dusbd_init.h80 uint16_t maxPackSize; /*!< max packet size for the endpoint */ member
A Dusbd_core.h257 uint16_t maxPackSize; /*!< Max pack size of this endpoint */ member

Completed in 14 milliseconds