Home
last modified time | relevance | path

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

1234567

/hal_stm32-2.7.6/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_subghz.c217 __IO uint32_t count; in HAL_SUBGHZ_Init() local
268 count = SUBGHZ_DEFAULT_TIMEOUT * SUBGHZ_DEFAULT_LOOP_TIME; in HAL_SUBGHZ_Init()
272 if (count == 0U) in HAL_SUBGHZ_Init()
278 count--; in HAL_SUBGHZ_Init()
323 __IO uint32_t count; in HAL_SUBGHZ_DeInit() local
375 count = SUBGHZ_DEFAULT_TIMEOUT * SUBGHZ_DEFAULT_LOOP_TIME; in HAL_SUBGHZ_DeInit()
379 if (count == 0U) in HAL_SUBGHZ_DeInit()
385 count--; in HAL_SUBGHZ_DeInit()
1584 __IO uint32_t count; in SUBGHZSPI_Transmit() local
1588 count = SUBGHZ_DEFAULT_TIMEOUT * SUBGHZ_DEFAULT_LOOP_TIME; in SUBGHZSPI_Transmit()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_mmc.c592 uint32_t count; in HAL_MMC_ReadBlocks() local
684 for (count = 0U; count < 8U; count++) in HAL_MMC_ReadBlocks()
787 uint32_t count; in HAL_MMC_WriteBlocks() local
879 for (count = 0U; count < 8U; count++) in HAL_MMC_WriteBlocks()
2225 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2274 for (count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD()
2344 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2396 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2407 count--; in HAL_MMC_ConfigWideBusOperation()
2408 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
[all …]
Dstm32u5xx_hal_cryp.c1598 uint32_t count; in HAL_CRYP_Encrypt_DMA() local
1681 count = CRYP_TIMEOUT_KEYPREPARATION; in HAL_CRYP_Encrypt_DMA()
1684 count--; in HAL_CRYP_Encrypt_DMA()
1685 if (count == 0U) in HAL_CRYP_Encrypt_DMA()
2123 uint32_t count; in CRYP_AES_Encrypt_IT() local
2166 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Encrypt_IT()
2169 count--; in CRYP_AES_Encrypt_IT()
2170 if (count == 0U) in CRYP_AES_Encrypt_IT()
2384 uint32_t count; in CRYP_AES_Decrypt_IT() local
2432 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_IT()
[all …]
Dstm32u5xx_hal_sd.c666 uint32_t count; in HAL_SD_ReadBlocks() local
740 for (count = 0U; count < 8U; count++) in HAL_SD_ReadBlocks()
851 uint32_t count; in HAL_SD_WriteBlocks() local
926 for (count = 0U; count < 8U; count++) in HAL_SD_WriteBlocks()
2972 __IO uint32_t count = 0U; in SD_PowerON() local
3016 while ((count < SDMMC_MAX_VOLT_TRIAL) && (validvoltage == 0U)) in SD_PowerON()
3039 count++; in SD_PowerON()
3042 if (count >= SDMMC_MAX_VOLT_TRIAL) in SD_PowerON()
3154 uint32_t count; in SD_SendSDStatus() local
3201 for (count = 0U; count < 8U; count++) in SD_SendSDStatus()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_mmc.c597 uint32_t count, data, dataremaining; in HAL_MMC_ReadBlocks() local
687 for (count = 0U; count < 8U; count++) in HAL_MMC_ReadBlocks()
790 uint32_t count, data, dataremaining; in HAL_MMC_WriteBlocks() local
880 for (count = 0U; count < 8U; count++) in HAL_MMC_WriteBlocks()
2265 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2314 for (count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD()
2384 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2436 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2447 count--; in HAL_MMC_ConfigWideBusOperation()
2448 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
[all …]
Dstm32l5xx_hal_pcd.c1672 uint16_t count, wIstr, wEPVal, TxByteNbre; in PCD_EP_ISR_Handler() local
1785 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1787 if (count != 0U) in PCD_EP_ISR_Handler()
1789 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1797 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1807 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1809 if (count != 0U) in PCD_EP_ISR_Handler()
1811 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1817 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1819 if (count != 0U) in PCD_EP_ISR_Handler()
[all …]
Dstm32l5xx_hal_sd.c671 uint32_t count; in HAL_SD_ReadBlocks() local
745 for (count = 0U; count < 8U; count++) in HAL_SD_ReadBlocks()
856 uint32_t count; in HAL_SD_WriteBlocks() local
931 for (count = 0U; count < 8U; count++) in HAL_SD_WriteBlocks()
3016 __IO uint32_t count = 0U; in SD_PowerON() local
3060 while ((count < SDMMC_MAX_VOLT_TRIAL) && (validvoltage == 0U)) in SD_PowerON()
3083 count++; in SD_PowerON()
3086 if (count >= SDMMC_MAX_VOLT_TRIAL) in SD_PowerON()
3198 uint32_t count; in SD_SendSDStatus() local
3245 for (count = 0U; count < 8U; count++) in SD_SendSDStatus()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_mmc.c597 uint32_t count, data, dataremaining; in HAL_MMC_ReadBlocks() local
687 for (count = 0U; count < 8U; count++) in HAL_MMC_ReadBlocks()
790 uint32_t count, data, dataremaining; in HAL_MMC_WriteBlocks() local
880 for (count = 0U; count < 8U; count++) in HAL_MMC_WriteBlocks()
2265 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2314 for (count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD()
2384 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2436 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2447 count--; in HAL_MMC_ConfigWideBusOperation()
2448 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
[all …]
Dstm32h7xx_hal_sd.c671 uint32_t count; in HAL_SD_ReadBlocks() local
745 for (count = 0U; count < 8U; count++) in HAL_SD_ReadBlocks()
856 uint32_t count; in HAL_SD_WriteBlocks() local
931 for (count = 0U; count < 8U; count++) in HAL_SD_WriteBlocks()
3016 __IO uint32_t count = 0U; in SD_PowerON() local
3060 while ((count < SDMMC_MAX_VOLT_TRIAL) && (validvoltage == 0U)) in SD_PowerON()
3083 count++; in SD_PowerON()
3086 if (count >= SDMMC_MAX_VOLT_TRIAL) in SD_PowerON()
3198 uint32_t count; in SD_SendSDStatus() local
3245 for (count = 0U; count < 8U; count++) in SD_SendSDStatus()
[all …]
Dstm32h7xx_hal_cryp.c2229 __IO uint32_t count = 0U; in CRYP_AES_Decrypt_IT() local
2264 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_IT()
2267 count-- ; in CRYP_AES_Decrypt_IT()
2268 if (count == 0U) in CRYP_AES_Decrypt_IT()
2329 __IO uint32_t count = 0U; in CRYP_AES_Decrypt_DMA() local
2364 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_DMA()
2367 count-- ; in CRYP_AES_Decrypt_DMA()
2368 if (count == 0U) in CRYP_AES_Decrypt_DMA()
2454 uint32_t count; in CRYP_DMAOutCplt() local
2505 for (count = 0U; count < lastwordsize; count ++) in CRYP_DMAOutCplt()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_mmc.c652 uint32_t count, data, dataremaining; in HAL_MMC_ReadBlocks() local
730 for(count = 0U; count < 8U; count++) in HAL_MMC_ReadBlocks()
872 uint32_t count, data, dataremaining; in HAL_MMC_WriteBlocks() local
957 for(count = 0U; count < 8U; count++) in HAL_MMC_WriteBlocks()
2449 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2503 for(count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD()
2575 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2631 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2642 count--; in HAL_MMC_ConfigWideBusOperation()
2643 }while(((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
[all …]
/hal_stm32-2.7.6/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-2.7.6/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_flash_ramfunc.c229 uint32_t count = 0U; in HAL_FLASHEx_ProgramParallelHalfPage() local
247 while(count < 32U) in HAL_FLASHEx_ProgramParallelHalfPage()
249 *(__IO uint32_t*) ((uint32_t)(Address1 + (4 * count))) = *pBuffer1; in HAL_FLASHEx_ProgramParallelHalfPage()
251 count ++; in HAL_FLASHEx_ProgramParallelHalfPage()
255 count = 0U; in HAL_FLASHEx_ProgramParallelHalfPage()
256 while(count < 32U) in HAL_FLASHEx_ProgramParallelHalfPage()
258 *(__IO uint32_t*) ((uint32_t)(Address2 + (4 * count))) = *pBuffer2; in HAL_FLASHEx_ProgramParallelHalfPage()
260 count ++; in HAL_FLASHEx_ProgramParallelHalfPage()
307 uint32_t count = 0U; in HAL_FLASHEx_HalfPageProgram() local
324 while(count < 32U) in HAL_FLASHEx_HalfPageProgram()
[all …]
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 …]
Dstm32l1xx_hal_spi.c2004 __IO uint32_t count; in HAL_SPI_Abort() local
2010 count = resetcount; in HAL_SPI_Abort()
2022 if (count == 0U) in HAL_SPI_Abort()
2027 count--; in HAL_SPI_Abort()
2030 count = resetcount; in HAL_SPI_Abort()
2039 if (count == 0U) in HAL_SPI_Abort()
2044 count--; in HAL_SPI_Abort()
2047 count = resetcount; in HAL_SPI_Abort()
2072 if (count == 0U) in HAL_SPI_Abort()
2077 count--; in HAL_SPI_Abort()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_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-2.7.6/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_hal_pcd.c1674 uint16_t count, wIstr, wEPVal, TxByteNbre; in PCD_EP_ISR_Handler() local
1787 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1789 if (count != 0U) in PCD_EP_ISR_Handler()
1791 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1799 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1809 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1811 if (count != 0U) in PCD_EP_ISR_Handler()
1813 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1819 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1821 if (count != 0U) in PCD_EP_ISR_Handler()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_pcd.c1680 uint16_t count, wIstr, wEPVal, TxByteNbre; in PCD_EP_ISR_Handler() local
1793 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1795 if (count != 0U) in PCD_EP_ISR_Handler()
1797 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1805 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1815 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1817 if (count != 0U) in PCD_EP_ISR_Handler()
1819 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1825 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1827 if (count != 0U) in PCD_EP_ISR_Handler()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_pcd.c1674 uint16_t count, wIstr, wEPVal, TxByteNbre; in PCD_EP_ISR_Handler() local
1787 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1789 if (count != 0U) in PCD_EP_ISR_Handler()
1791 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1799 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1809 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1811 if (count != 0U) in PCD_EP_ISR_Handler()
1813 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1819 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1821 if (count != 0U) in PCD_EP_ISR_Handler()
[all …]
Dstm32l0xx_hal_flash_ramfunc.c226 uint32_t count = 0U; in HAL_FLASHEx_ProgramParallelHalfPage() local
247 while(count < 16U) in HAL_FLASHEx_ProgramParallelHalfPage()
252 count ++; in HAL_FLASHEx_ProgramParallelHalfPage()
256 count = 0U; in HAL_FLASHEx_ProgramParallelHalfPage()
257 while(count < 16U) in HAL_FLASHEx_ProgramParallelHalfPage()
262 count ++; in HAL_FLASHEx_ProgramParallelHalfPage()
307 uint32_t count = 0U; in HAL_FLASHEx_HalfPageProgram() local
323 while(count < 16U) in HAL_FLASHEx_HalfPageProgram()
328 count ++; in HAL_FLASHEx_HalfPageProgram()
Dstm32l0xx_hal_spi.c2049 __IO uint32_t count; in HAL_SPI_Abort() local
2055 count = resetcount; in HAL_SPI_Abort()
2067 if (count == 0U) in HAL_SPI_Abort()
2072 count--; in HAL_SPI_Abort()
2075 count = resetcount; in HAL_SPI_Abort()
2084 if (count == 0U) in HAL_SPI_Abort()
2089 count--; in HAL_SPI_Abort()
2092 count = resetcount; in HAL_SPI_Abort()
2117 if (count == 0U) in HAL_SPI_Abort()
2122 count--; in HAL_SPI_Abort()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_pcd.c1672 uint16_t count, wIstr, wEPVal, TxByteNbre; in PCD_EP_ISR_Handler() local
1785 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1787 if (count != 0U) in PCD_EP_ISR_Handler()
1789 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1797 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1807 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1809 if (count != 0U) in PCD_EP_ISR_Handler()
1811 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1817 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1819 if (count != 0U) in PCD_EP_ISR_Handler()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_pcd.c1674 uint16_t count, wIstr, wEPVal, TxByteNbre; in PCD_EP_ISR_Handler() local
1787 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1789 if (count != 0U) in PCD_EP_ISR_Handler()
1791 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
1799 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
1809 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1811 if (count != 0U) in PCD_EP_ISR_Handler()
1813 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
1819 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
1821 if (count != 0U) in PCD_EP_ISR_Handler()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_spi.c1997 __IO uint32_t count; in HAL_SPI_Abort() local
2003 count = resetcount; in HAL_SPI_Abort()
2015 if (count == 0U) in HAL_SPI_Abort()
2020 count--; in HAL_SPI_Abort()
2023 count = resetcount; in HAL_SPI_Abort()
2032 if (count == 0U) in HAL_SPI_Abort()
2037 count--; in HAL_SPI_Abort()
2040 count = resetcount; in HAL_SPI_Abort()
2065 if (count == 0U) in HAL_SPI_Abort()
2070 count--; in HAL_SPI_Abort()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_pcd.c2088 uint16_t count, wIstr, wEPVal, TxByteNbre; in PCD_EP_ISR_Handler() local
2201 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
2203 if (count != 0U) in PCD_EP_ISR_Handler()
2205 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler()
2213 count = HAL_PCD_EP_DB_Receive(hpcd, ep, wEPVal); in PCD_EP_ISR_Handler()
2223 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
2225 if (count != 0U) in PCD_EP_ISR_Handler()
2227 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler()
2233 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler()
2235 if (count != 0U) in PCD_EP_ISR_Handler()
[all …]

1234567