Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 201) sorted by relevance

123456789

/hal_stm32-3.4.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_mmc.c602 uint32_t count; in HAL_MMC_ReadBlocks() local
695 for (count = 0U; count < 8U; count++) in HAL_MMC_ReadBlocks()
798 uint32_t count; in HAL_MMC_WriteBlocks() local
890 for (count = 0U; count < 8U; count++) in HAL_MMC_WriteBlocks()
2276 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2325 for (count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD()
2395 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2447 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2458 count--; in HAL_MMC_ConfigWideBusOperation()
2459 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
[all …]
Dstm32l5xx_hal_pcd.c1702 uint16_t count; in PCD_EP_ISR_Handler() local
1709 count = 0U; in PCD_EP_ISR_Handler()
1824 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1826 if (count != 0U) in PCD_EP_ISR_Handler()
1828 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1837 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1847 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1849 if (count != 0U) in PCD_EP_ISR_Handler()
1851 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1857 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_mmc.c606 uint32_t count; in HAL_MMC_ReadBlocks() local
699 for (count = 0U; count < 8U; count++) in HAL_MMC_ReadBlocks()
802 uint32_t count; in HAL_MMC_WriteBlocks() local
894 for (count = 0U; count < 8U; count++) in HAL_MMC_WriteBlocks()
2237 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2286 for (count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD()
2356 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2408 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2419 count--; in HAL_MMC_ConfigWideBusOperation()
2420 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
[all …]
Dstm32u5xx_ll_usb.c461 __IO uint32_t count = 0U; in USB_FlushTxFifo() local
466 count++; in USB_FlushTxFifo()
468 if (count > 200000U) in USB_FlushTxFifo()
475 count = 0U; in USB_FlushTxFifo()
480 count++; in USB_FlushTxFifo()
482 if (count > 200000U) in USB_FlushTxFifo()
498 __IO uint32_t count = 0U; in USB_FlushRxFifo() local
503 count++; in USB_FlushRxFifo()
505 if (count > 200000U) in USB_FlushRxFifo()
512 count = 0U; in USB_FlushRxFifo()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_mmc.c610 uint32_t count; in HAL_MMC_ReadBlocks() local
703 for (count = 0U; count < 8U; count++) in HAL_MMC_ReadBlocks()
806 uint32_t count; in HAL_MMC_WriteBlocks() local
898 for (count = 0U; count < 8U; count++) in HAL_MMC_WriteBlocks()
2280 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2329 for (count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD()
2399 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2451 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2462 count--; in HAL_MMC_ConfigWideBusOperation()
2463 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
[all …]
Dstm32h7xx_ll_usb.c457 __IO uint32_t count = 0U; in USB_FlushTxFifo() local
462 count++; in USB_FlushTxFifo()
464 if (count > 200000U) in USB_FlushTxFifo()
471 count = 0U; in USB_FlushTxFifo()
476 count++; in USB_FlushTxFifo()
478 if (count > 200000U) in USB_FlushTxFifo()
494 __IO uint32_t count = 0U; in USB_FlushRxFifo() local
499 count++; in USB_FlushRxFifo()
501 if (count > 200000U) in USB_FlushRxFifo()
508 count = 0U; in USB_FlushRxFifo()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_mmc.c619 uint32_t count; in HAL_MMC_ReadBlocks() local
712 for (count = 0U; count < 8U; count++) in HAL_MMC_ReadBlocks()
815 uint32_t count; in HAL_MMC_WriteBlocks() local
907 for (count = 0U; count < 8U; count++) in HAL_MMC_WriteBlocks()
2250 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2299 for (count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD()
2369 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2421 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2432 count--; in HAL_MMC_ConfigWideBusOperation()
2433 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
[all …]
Dstm32h5xx_hal_cryp.c1624 uint32_t count; in HAL_CRYP_Encrypt_DMA() local
1707 count = CRYP_TIMEOUT_KEYPREPARATION; in HAL_CRYP_Encrypt_DMA()
1710 count--; in HAL_CRYP_Encrypt_DMA()
1711 if (count == 0U) in HAL_CRYP_Encrypt_DMA()
2149 uint32_t count; in CRYP_AES_Encrypt_IT() local
2192 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Encrypt_IT()
2195 count--; in CRYP_AES_Encrypt_IT()
2196 if (count == 0U) in CRYP_AES_Encrypt_IT()
2424 uint32_t count; in CRYP_AES_Decrypt_IT() local
2472 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_IT()
[all …]
Dstm32h5xx_hal_pcd.c1702 uint16_t count; in PCD_EP_ISR_Handler() local
1709 count = 0U; in PCD_EP_ISR_Handler()
1824 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1826 if (count != 0U) in PCD_EP_ISR_Handler()
1828 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1837 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1847 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1849 if (count != 0U) in PCD_EP_ISR_Handler()
1851 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1857 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_subghz.c221 __IO uint32_t count; in HAL_SUBGHZ_Init() local
287 count = SUBGHZ_DEFAULT_TIMEOUT * SUBGHZ_DEFAULT_LOOP_TIME; in HAL_SUBGHZ_Init()
291 if (count == 0U) in HAL_SUBGHZ_Init()
297 count--; in HAL_SUBGHZ_Init()
338 __IO uint32_t count; in HAL_SUBGHZ_DeInit() local
390 count = SUBGHZ_DEFAULT_TIMEOUT * SUBGHZ_DEFAULT_LOOP_TIME; in HAL_SUBGHZ_DeInit()
394 if (count == 0U) in HAL_SUBGHZ_DeInit()
400 count--; in HAL_SUBGHZ_DeInit()
1630 __IO uint32_t count; in SUBGHZSPI_Transmit() local
1634 count = SUBGHZ_DEFAULT_TIMEOUT * SUBGHZ_DEFAULT_LOOP_TIME; in SUBGHZSPI_Transmit()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_mmc.c648 uint32_t count, data, dataremaining; in HAL_MMC_ReadBlocks() local
726 for(count = 0U; count < 8U; count++) in HAL_MMC_ReadBlocks()
868 uint32_t count, data, dataremaining; in HAL_MMC_WriteBlocks() local
953 for(count = 0U; count < 8U; count++) in HAL_MMC_WriteBlocks()
2445 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2499 for(count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD()
2571 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2627 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2638 count--; in HAL_MMC_ConfigWideBusOperation()
2639 }while(((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
[all …]
Dstm32l4xx_ll_usb.c405 __IO uint32_t count = 0U; in USB_FlushTxFifo() local
410 count++; in USB_FlushTxFifo()
412 if (count > 200000U) in USB_FlushTxFifo()
419 count = 0U; in USB_FlushTxFifo()
424 count++; in USB_FlushTxFifo()
426 if (count > 200000U) in USB_FlushTxFifo()
442 __IO uint32_t count = 0U; in USB_FlushRxFifo() local
447 count++; in USB_FlushRxFifo()
449 if (count > 200000U) in USB_FlushRxFifo()
456 count = 0U; in USB_FlushRxFifo()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_cryp.c2251 __IO uint32_t count = 0U; in CRYP_AES_Decrypt_IT() local
2286 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_IT()
2289 count-- ; in CRYP_AES_Decrypt_IT()
2290 if (count == 0U) in CRYP_AES_Decrypt_IT()
2351 __IO uint32_t count = 0U; in CRYP_AES_Decrypt_DMA() local
2386 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_DMA()
2389 count-- ; in CRYP_AES_Decrypt_DMA()
2390 if (count == 0U) in CRYP_AES_Decrypt_DMA()
2485 uint32_t count; in CRYP_DMAOutCplt() local
2530 for (count = 0U; count < lastwordsize; count ++) in CRYP_DMAOutCplt()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_usb.c502 __IO uint32_t count = 0U; in USB_FlushTxFifo() local
507 count++; in USB_FlushTxFifo()
509 if (count > 200000U) in USB_FlushTxFifo()
516 count = 0U; in USB_FlushTxFifo()
521 count++; in USB_FlushTxFifo()
523 if (count > 200000U) in USB_FlushTxFifo()
539 __IO uint32_t count = 0U; in USB_FlushRxFifo() local
544 count++; in USB_FlushRxFifo()
546 if (count > 200000U) in USB_FlushRxFifo()
553 count = 0U; in USB_FlushRxFifo()
[all …]
Dstm32f7xx_hal_mmc.c605 uint32_t count, data, dataremaining; in HAL_MMC_ReadBlocks() local
675 for(count = 0U; count < 8U; count++) in HAL_MMC_ReadBlocks()
806 uint32_t count, data, dataremaining; in HAL_MMC_WriteBlocks() local
876 for(count = 0U; count < 8U; count++) in HAL_MMC_WriteBlocks()
2133 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2180 for(count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD()
2248 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2285 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2296 count--; in HAL_MMC_ConfigWideBusOperation()
2297 }while(((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_usb.c474 __IO uint32_t count = 0U; in USB_FlushTxFifo() local
479 count++; in USB_FlushTxFifo()
481 if (count > 200000U) in USB_FlushTxFifo()
488 count = 0U; in USB_FlushTxFifo()
493 count++; in USB_FlushTxFifo()
495 if (count > 200000U) in USB_FlushTxFifo()
511 __IO uint32_t count = 0U; in USB_FlushRxFifo() local
516 count++; in USB_FlushRxFifo()
518 if (count > 200000U) in USB_FlushRxFifo()
525 count = 0U; in USB_FlushRxFifo()
[all …]
Dstm32f4xx_hal_mmc.c605 uint32_t count, data, dataremaining; in HAL_MMC_ReadBlocks() local
679 for(count = 0U; count < 8U; count++) in HAL_MMC_ReadBlocks()
810 uint32_t count, data, dataremaining; in HAL_MMC_WriteBlocks() local
884 for(count = 0U; count < 8U; count++) in HAL_MMC_WriteBlocks()
2181 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2228 for(count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD()
2296 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2333 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2344 count--; in HAL_MMC_ConfigWideBusOperation()
2345 }while(((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_pcd.c1506 uint16_t count, wIstr, wEPVal, TxByteNbre; in PCD_EP_ISR_Handler() local
1619 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1621 if (count != 0U) in PCD_EP_ISR_Handler()
1623 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1631 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1641 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1643 if (count != 0U) in PCD_EP_ISR_Handler()
1645 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1651 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1653 if (count != 0U) in PCD_EP_ISR_Handler()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_pcd.c1532 uint16_t count; in PCD_EP_ISR_Handler() local
1539 count = 0U; in PCD_EP_ISR_Handler()
1654 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1656 if (count != 0U) in PCD_EP_ISR_Handler()
1658 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1667 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1677 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1679 if (count != 0U) in PCD_EP_ISR_Handler()
1681 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1687 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_hal_pcd.c1702 uint16_t count; in PCD_EP_ISR_Handler() local
1709 count = 0U; in PCD_EP_ISR_Handler()
1824 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1826 if (count != 0U) in PCD_EP_ISR_Handler()
1828 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1837 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1847 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1849 if (count != 0U) in PCD_EP_ISR_Handler()
1851 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1857 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_pcd.c1702 uint16_t count; in PCD_EP_ISR_Handler() local
1709 count = 0U; in PCD_EP_ISR_Handler()
1824 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1826 if (count != 0U) in PCD_EP_ISR_Handler()
1828 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1837 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1847 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1849 if (count != 0U) in PCD_EP_ISR_Handler()
1851 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1857 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_pcd.c1731 uint16_t count; in PCD_EP_ISR_Handler() local
1738 count = 0U; in PCD_EP_ISR_Handler()
1853 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1855 if (count != 0U) in PCD_EP_ISR_Handler()
1857 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1866 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1876 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1878 if (count != 0U) in PCD_EP_ISR_Handler()
1880 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1886 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_pcd.c1702 uint16_t count; in PCD_EP_ISR_Handler() local
1709 count = 0U; in PCD_EP_ISR_Handler()
1824 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1826 if (count != 0U) in PCD_EP_ISR_Handler()
1828 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1837 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1847 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1849 if (count != 0U) in PCD_EP_ISR_Handler()
1851 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1857 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
[all …]
/hal_stm32-3.4.0/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_hal_hcd.h493 __IO uint32_t count = 10U; in HCD_GET_CH_RX_CNT() local
501 count = (63U * (HAL_RCC_GetHCLKFreq() / 1000000U)) / 100U; in HCD_GET_CH_RX_CNT()
504 if (count > 15U) in HCD_GET_CH_RX_CNT()
506 count = HCD_MAX(10U, (count - 15U)); in HCD_GET_CH_RX_CNT()
510 while (count > 0U) in HCD_GET_CH_RX_CNT()
512 count--; in HCD_GET_CH_RX_CNT()
541 __IO uint32_t count = 10U; in HCD_GET_CH_DBUF0_CNT() local
544 while (count > 0U) in HCD_GET_CH_DBUF0_CNT()
546 count--; in HCD_GET_CH_DBUF0_CNT()
561 __IO uint32_t count = 10U; in HCD_GET_CH_DBUF1_CNT() local
[all …]
/hal_stm32-3.4.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_pcd.c1696 uint16_t count; in PCD_EP_ISR_Handler() local
1812 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1814 if (count != 0U) in PCD_EP_ISR_Handler()
1816 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1825 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1835 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1837 if (count != 0U) in PCD_EP_ISR_Handler()
1839 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1845 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1847 if (count != 0U) in PCD_EP_ISR_Handler()
[all …]

123456789