/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_mmc.c | 670 uint32_t count; in HAL_MMC_ReadBlocks() local 763 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_ReadBlocks() 866 uint32_t count; in HAL_MMC_WriteBlocks() local 958 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_WriteBlocks() 2301 uint32_t count; in HAL_MMC_GetCardExtCSD() local 2350 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_GetCardExtCSD() 2420 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local 2472 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation() 2483 count--; in HAL_MMC_ConfigWideBusOperation() 2484 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation() [all …]
|
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_mmc.c | 674 uint32_t count; in HAL_MMC_ReadBlocks() local 767 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_ReadBlocks() 870 uint32_t count; in HAL_MMC_WriteBlocks() local 962 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_WriteBlocks() 2344 uint32_t count; in HAL_MMC_GetCardExtCSD() local 2393 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_GetCardExtCSD() 2463 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local 2515 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation() 2526 count--; in HAL_MMC_ConfigWideBusOperation() 2527 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation() [all …]
|
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/ |
D | stm32n6xx_hal_mmc.c | 681 uint32_t count; in HAL_MMC_ReadBlocks() local 774 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_ReadBlocks() 877 uint32_t count; in HAL_MMC_WriteBlocks() local 969 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_WriteBlocks() 2312 uint32_t count; in HAL_MMC_GetCardExtCSD() local 2363 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_GetCardExtCSD() 2434 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local 2486 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation() 2497 count--; in HAL_MMC_ConfigWideBusOperation() 2498 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation() [all …]
|
D | stm32n6xx_ll_usb.c | 431 __IO uint32_t count = 0U; in USB_FlushTxFifo() local 436 count++; in USB_FlushTxFifo() 438 if (count > HAL_USB_TIMEOUT) in USB_FlushTxFifo() 445 count = 0U; in USB_FlushTxFifo() 450 count++; in USB_FlushTxFifo() 452 if (count > HAL_USB_TIMEOUT) in USB_FlushTxFifo() 468 __IO uint32_t count = 0U; in USB_FlushRxFifo() local 473 count++; in USB_FlushRxFifo() 475 if (count > HAL_USB_TIMEOUT) in USB_FlushRxFifo() 482 count = 0U; in USB_FlushRxFifo() [all …]
|
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_mmc.c | 674 uint32_t count; in HAL_MMC_ReadBlocks() local 767 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_ReadBlocks() 870 uint32_t count; in HAL_MMC_WriteBlocks() local 962 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_WriteBlocks() 2344 uint32_t count; in HAL_MMC_GetCardExtCSD() local 2393 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_GetCardExtCSD() 2463 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local 2515 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation() 2526 count--; in HAL_MMC_ConfigWideBusOperation() 2527 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation() [all …]
|
D | stm32l5xx_hal_pcd.c | 1711 uint16_t count; in PCD_EP_ISR_Handler() local 1718 count = 0U; in PCD_EP_ISR_Handler() 1833 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1835 if (count != 0U) in PCD_EP_ISR_Handler() 1837 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler() 1846 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler() 1856 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1858 if (count != 0U) in PCD_EP_ISR_Handler() 1860 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler() 1866 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() [all …]
|
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/ |
D | stm32h7rsxx_hal_mmc.c | 670 uint32_t count; in HAL_MMC_ReadBlocks() local 763 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_ReadBlocks() 866 uint32_t count; in HAL_MMC_WriteBlocks() local 958 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_WriteBlocks() 2301 uint32_t count; in HAL_MMC_GetCardExtCSD() local 2350 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_GetCardExtCSD() 2420 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local 2472 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation() 2483 count--; in HAL_MMC_ConfigWideBusOperation() 2484 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation() [all …]
|
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_mmc.c | 619 uint32_t count; in HAL_MMC_ReadBlocks() local 712 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_ReadBlocks() 815 uint32_t count; in HAL_MMC_WriteBlocks() local 907 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_WriteBlocks() 2250 uint32_t count; in HAL_MMC_GetCardExtCSD() local 2299 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); 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 …]
|
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal_subghz.c | 221 __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-latest/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_mmc.c | 648 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 …]
|
D | stm32l4xx_ll_usb.c | 402 __IO uint32_t count = 0U; in USB_FlushTxFifo() local 407 count++; in USB_FlushTxFifo() 409 if (count > HAL_USB_TIMEOUT) in USB_FlushTxFifo() 416 count = 0U; in USB_FlushTxFifo() 421 count++; in USB_FlushTxFifo() 423 if (count > HAL_USB_TIMEOUT) in USB_FlushTxFifo() 439 __IO uint32_t count = 0U; in USB_FlushRxFifo() local 444 count++; in USB_FlushRxFifo() 446 if (count > HAL_USB_TIMEOUT) in USB_FlushRxFifo() 453 count = 0U; in USB_FlushRxFifo() [all …]
|
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal_cryp.c | 2251 __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-latest/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_ll_usb.c | 379 __IO uint32_t count = 0U; in USB_FlushTxFifo() local 384 count++; in USB_FlushTxFifo() 386 if (count > HAL_USB_TIMEOUT) in USB_FlushTxFifo() 393 count = 0U; in USB_FlushTxFifo() 398 count++; in USB_FlushTxFifo() 400 if (count > HAL_USB_TIMEOUT) in USB_FlushTxFifo() 416 __IO uint32_t count = 0U; in USB_FlushRxFifo() local 421 count++; in USB_FlushRxFifo() 423 if (count > HAL_USB_TIMEOUT) in USB_FlushRxFifo() 430 count = 0U; in USB_FlushRxFifo() [all …]
|
D | stm32f1xx_hal_mmc.c | 605 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() 2132 uint32_t count; in HAL_MMC_GetCardExtCSD() local 2179 for(count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD() 2247 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local 2284 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation() 2295 count--; in HAL_MMC_ConfigWideBusOperation() 2296 }while(((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation() [all …]
|
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_ll_usb.c | 505 __IO uint32_t count = 0U; in USB_FlushTxFifo() local 510 count++; in USB_FlushTxFifo() 512 if (count > HAL_USB_TIMEOUT) in USB_FlushTxFifo() 519 count = 0U; in USB_FlushTxFifo() 524 count++; in USB_FlushTxFifo() 526 if (count > HAL_USB_TIMEOUT) in USB_FlushTxFifo() 542 __IO uint32_t count = 0U; in USB_FlushRxFifo() local 547 count++; in USB_FlushRxFifo() 549 if (count > HAL_USB_TIMEOUT) in USB_FlushRxFifo() 556 count = 0U; in USB_FlushRxFifo() [all …]
|
D | stm32f7xx_hal_mmc.c | 605 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-latest/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_cryp.c | 1763 uint32_t count; in HAL_CRYP_Encrypt_DMA() local 1850 count = CRYP_TIMEOUT_KEYPREPARATION; in HAL_CRYP_Encrypt_DMA() 1853 count--; in HAL_CRYP_Encrypt_DMA() 1854 if (count == 0U) in HAL_CRYP_Encrypt_DMA() 2323 uint32_t count; in CRYP_AES_Encrypt_IT() local 2370 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Encrypt_IT() 2373 count--; in CRYP_AES_Encrypt_IT() 2374 if (count == 0U) in CRYP_AES_Encrypt_IT() 2690 uint32_t count; in CRYP_AES_Decrypt_IT() local 2729 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_IT() [all …]
|
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal_pcd.c | 1541 uint16_t count; in PCD_EP_ISR_Handler() local 1548 count = 0U; in PCD_EP_ISR_Handler() 1663 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1665 if (count != 0U) in PCD_EP_ISR_Handler() 1667 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler() 1676 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler() 1686 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1688 if (count != 0U) in PCD_EP_ISR_Handler() 1690 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler() 1696 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() [all …]
|
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/ |
D | stm32l1xx_hal_pcd.c | 1541 uint16_t count; in PCD_EP_ISR_Handler() local 1548 count = 0U; in PCD_EP_ISR_Handler() 1663 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1665 if (count != 0U) in PCD_EP_ISR_Handler() 1667 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler() 1676 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler() 1686 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1688 if (count != 0U) in PCD_EP_ISR_Handler() 1690 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler() 1696 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() [all …]
|
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_hal_mmc.c | 605 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() 2132 uint32_t count; in HAL_MMC_GetCardExtCSD() local 2179 for(count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD() 2247 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local 2284 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation() 2295 count--; in HAL_MMC_ConfigWideBusOperation() 2296 }while(((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation() [all …]
|
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_pcd.c | 1711 uint16_t count; in PCD_EP_ISR_Handler() local 1718 count = 0U; in PCD_EP_ISR_Handler() 1833 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1835 if (count != 0U) in PCD_EP_ISR_Handler() 1837 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler() 1846 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler() 1856 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1858 if (count != 0U) in PCD_EP_ISR_Handler() 1860 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler() 1866 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() [all …]
|
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/ |
D | stm32u0xx_hal_pcd.c | 1711 uint16_t count; in PCD_EP_ISR_Handler() local 1718 count = 0U; in PCD_EP_ISR_Handler() 1832 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1834 if (count != 0U) in PCD_EP_ISR_Handler() 1836 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler() 1845 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler() 1855 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1857 if (count != 0U) in PCD_EP_ISR_Handler() 1859 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler() 1865 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() [all …]
|
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_hal_pcd.c | 1711 uint16_t count; in PCD_EP_ISR_Handler() local 1718 count = 0U; in PCD_EP_ISR_Handler() 1833 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1835 if (count != 0U) in PCD_EP_ISR_Handler() 1837 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler() 1846 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler() 1856 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1858 if (count != 0U) in PCD_EP_ISR_Handler() 1860 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler() 1866 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() [all …]
|
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_hal_pcd.c | 1711 uint16_t count; in PCD_EP_ISR_Handler() local 1718 count = 0U; in PCD_EP_ISR_Handler() 1833 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1835 if (count != 0U) in PCD_EP_ISR_Handler() 1837 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler() 1846 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler() 1856 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1858 if (count != 0U) in PCD_EP_ISR_Handler() 1860 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler() 1866 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() [all …]
|
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_hal_pcd.c | 1702 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 …]
|