/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_hal_flash_ramfunc.c | 244 uint32_t count = 0U; in HAL_FLASHEx_ProgramParallelHalfPage() local 270 while(count < 32U) in HAL_FLASHEx_ProgramParallelHalfPage() 272 *(__IO uint32_t*) ((uint32_t)(Address1 + (4 * count))) = *pBuffer1; in HAL_FLASHEx_ProgramParallelHalfPage() 274 count ++; in HAL_FLASHEx_ProgramParallelHalfPage() 278 count = 0U; in HAL_FLASHEx_ProgramParallelHalfPage() 279 while(count < 32U) in HAL_FLASHEx_ProgramParallelHalfPage() 281 *(__IO uint32_t*) ((uint32_t)(Address2 + (4 * count))) = *pBuffer2; in HAL_FLASHEx_ProgramParallelHalfPage() 283 count ++; in HAL_FLASHEx_ProgramParallelHalfPage() 332 uint32_t count = 0U; in HAL_FLASHEx_HalfPageProgram() local 353 while(count < 32U) in HAL_FLASHEx_HalfPageProgram() [all …]
|
D | stm32l1xx_hal_sd.c | 475 uint32_t count = 0, *tempbuff = (uint32_t *)pReadBuffer; in HAL_SD_ReadBlocks() local 542 for (count = 0; count < 8; count++) in HAL_SD_ReadBlocks() 544 *(tempbuff + count) = SDIO_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks() 567 for (count = 0; count < 8; count++) in HAL_SD_ReadBlocks() 569 *(tempbuff + count) = SDIO_ReadFIFO(hsd->Instance); in HAL_SD_ReadBlocks() 627 count = SD_DATATIMEOUT; in HAL_SD_ReadBlocks() 630 while ((__HAL_SD_SDIO_GET_FLAG(hsd, SDIO_FLAG_RXDAVL)) && (count > 0)) in HAL_SD_ReadBlocks() 634 count--; in HAL_SD_ReadBlocks() 659 uint32_t totalnumberofbytes = 0, bytestransferred = 0, count = 0, restwords = 0; in HAL_SD_WriteBlocks() local 741 for (count = 0; count < restwords; count++) in HAL_SD_WriteBlocks() [all …]
|
D | stm32l1xx_hal_pcd.c | 339 uint16_t count=0; in PCD_EP_ISR_Handler() local 435 count = PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 436 if (count != 0) in PCD_EP_ISR_Handler() 438 PCD_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler() 446 count = PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 447 if (count != 0) in PCD_EP_ISR_Handler() 449 PCD_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler() 455 count = PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 456 if (count != 0) in PCD_EP_ISR_Handler() 458 PCD_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr1, count); in PCD_EP_ISR_Handler() [all …]
|
D | stm32l1xx_hal_i2c.c | 1214 __IO uint32_t count = 0U; in HAL_I2C_Master_Transmit_IT() local 1219 count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock /25U /1000U); in HAL_I2C_Master_Transmit_IT() 1222 if(count-- == 0U) in HAL_I2C_Master_Transmit_IT() 1291 __IO uint32_t count = 0U; in HAL_I2C_Master_Receive_IT() local 1296 count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock /25U /1000U); in HAL_I2C_Master_Receive_IT() 1299 if(count-- == 0U) in HAL_I2C_Master_Receive_IT() 1374 __IO uint32_t count = 0U; in HAL_I2C_Master_Sequential_Transmit_IT() local 1385 count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock /25U /1000U); in HAL_I2C_Master_Sequential_Transmit_IT() 1388 if(count-- == 0U) in HAL_I2C_Master_Sequential_Transmit_IT() 1474 __IO uint32_t count = 0U; in HAL_I2C_Master_Sequential_Receive_IT() local [all …]
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
D | stm32l0xx_hal_flash_ramfunc.c | 242 uint32_t count = 0U; in HAL_FLASHEx_ProgramParallelHalfPage() local 263 while(count < 16U) in HAL_FLASHEx_ProgramParallelHalfPage() 268 count ++; in HAL_FLASHEx_ProgramParallelHalfPage() 272 count = 0U; in HAL_FLASHEx_ProgramParallelHalfPage() 273 while(count < 16U) in HAL_FLASHEx_ProgramParallelHalfPage() 278 count ++; in HAL_FLASHEx_ProgramParallelHalfPage() 323 uint32_t count = 0U; in HAL_FLASHEx_HalfPageProgram() local 339 while(count < 16U) in HAL_FLASHEx_HalfPageProgram() 344 count ++; in HAL_FLASHEx_HalfPageProgram()
|
D | stm32l0xx_hal_pcd.c | 1219 uint16_t count=0U; in PCD_EP_ISR_Handler() local 1315 count = PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1316 if (count != 0U) in PCD_EP_ISR_Handler() 1318 PCD_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler() 1326 count = PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1327 if (count != 0U) in PCD_EP_ISR_Handler() 1329 PCD_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler() 1335 count = PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 1336 if (count != 0U) in PCD_EP_ISR_Handler() 1338 PCD_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr1, count); in PCD_EP_ISR_Handler() [all …]
|
/loramac-node-latest/src/boards/SAMR34/ |
D | board.c | 147 int _write( int fd, const void *buf, size_t count ) in _write() argument 149 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 150 return count; in _write() 156 int _read( int fd, const void *buf, size_t count ) in _read() argument 159 while( UartGetBuffer( &Uart1, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_spi_ex.c | 99 uint8_t count = 0U; in HAL_SPIEx_FlushRxFifo() local 102 count++; in HAL_SPIEx_FlushRxFifo() 105 if (count == SPI_FIFO_SIZE) in HAL_SPIEx_FlushRxFifo()
|
D | stm32l4xx_hal_flash_ramfunc.c | 151 register uint32_t count, reg; in HAL_FLASHEx_OB_DBankConfig() local 225 count = FLASH_TIMEOUT_VALUE * (SystemCoreClock / 8U / 1000U); in HAL_FLASHEx_OB_DBankConfig() 228 if (count == 0U) in HAL_FLASHEx_OB_DBankConfig() 232 count--; in HAL_FLASHEx_OB_DBankConfig()
|
D | stm32l4xx_ll_sdmmc.c | 1212 register uint32_t count = SDMMC_CMDTIMEOUT * (SystemCoreClock / 8U /1000U); in SDMMC_GetCmdError() local 1216 if (count-- == 0U) in SDMMC_GetCmdError() 1244 register uint32_t count = Timeout * (SystemCoreClock / 8U /1000U); in SDMMC_GetCmdResp1() local 1248 if (count-- == 0U) in SDMMC_GetCmdResp1() 1375 register uint32_t count = SDMMC_CMDTIMEOUT * (SystemCoreClock / 8U /1000U); in SDMMC_GetCmdResp2() local 1379 if (count-- == 0U) in SDMMC_GetCmdResp2() 1417 register uint32_t count = SDMMC_CMDTIMEOUT * (SystemCoreClock / 8U /1000U); in SDMMC_GetCmdResp3() local 1421 if (count-- == 0U) in SDMMC_GetCmdResp3() 1457 register uint32_t count = SDMMC_CMDTIMEOUT * (SystemCoreClock / 8U /1000U); in SDMMC_GetCmdResp6() local 1461 if (count-- == 0U) in SDMMC_GetCmdResp6() [all …]
|
D | stm32l4xx_hal_dsi.c | 1579 uint32_t uicounter, nbBytes, count; in HAL_DSI_LongWrite() local 1610 for(count = 0U; count < nbBytes; count++) in HAL_DSI_LongWrite() 1612 fifoword |= (((uint32_t)(*(pparams + count))) << (8U + (8U*count))); in HAL_DSI_LongWrite() 1623 for(count = 0U; count < nbBytes; count++) in HAL_DSI_LongWrite() 1625 fifoword |= (((uint32_t)(*(pparams + count))) << (8U*count)); in HAL_DSI_LongWrite() 1672 uint32_t count; in HAL_DSI_Read() local 1728 for(count = 0U; count < nbbytes; count++) in HAL_DSI_Read() 1730 *pdata++ = (uint8_t)(fifoword >> (8U*count)); in HAL_DSI_Read()
|
D | stm32l4xx_hal_sd.c | 643 uint32_t count, data; in HAL_SD_ReadBlocks() local 731 for(count = 0U; count < 8U; count++) in HAL_SD_ReadBlocks() 868 uint32_t count, data; in HAL_SD_WriteBlocks() local 956 for(count = 0U; count < 8U; count++) in HAL_SD_WriteBlocks() 3178 __IO uint32_t count = 0; in SD_PowerON() local 3202 if(count++ == SDMMC_MAX_VOLT_TRIAL) in SD_PowerON() 3239 if(count++ == SDMMC_MAX_VOLT_TRIAL) in SD_PowerON() 3287 while((count < SDMMC_MAX_VOLT_TRIAL) && (validvoltage == 0U)) in SD_PowerON() 3309 count++; in SD_PowerON() 3312 if(count >= SDMMC_MAX_VOLT_TRIAL) in SD_PowerON() [all …]
|
D | stm32l4xx_hal_sd_ex.c | 106 uint32_t count, data; in HAL_SDEx_HighSpeed() local 146 for (count = 0U; count < 8U; count++) in HAL_SDEx_HighSpeed()
|
D | stm32l4xx_hal_pcd.c | 2226 uint16_t count; in PCD_EP_ISR_Handler() local 2332 count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 2333 if (count != 0U) in PCD_EP_ISR_Handler() 2335 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); in PCD_EP_ISR_Handler() 2343 count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 2344 if (count != 0U) in PCD_EP_ISR_Handler() 2346 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); in PCD_EP_ISR_Handler() 2352 count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); in PCD_EP_ISR_Handler() 2353 if (count != 0U) in PCD_EP_ISR_Handler() 2355 USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr1, count); in PCD_EP_ISR_Handler() [all …]
|
D | stm32l4xx_hal_spi.c | 2265 __IO uint32_t count, resetcount; in HAL_SPI_Abort() local 2270 count = resetcount; in HAL_SPI_Abort() 2279 if (count == 0U) in HAL_SPI_Abort() 2284 count--; in HAL_SPI_Abort() 2288 count = resetcount; in HAL_SPI_Abort() 2297 if (count == 0U) in HAL_SPI_Abort() 2302 count--; in HAL_SPI_Abort() 2306 count = resetcount; in HAL_SPI_Abort() 2422 __IO uint32_t count, resetcount; in HAL_SPI_Abort_IT() local 2428 count = resetcount; in HAL_SPI_Abort_IT() [all …]
|
D | stm32l4xx_ll_usb.c | 321 uint32_t count = 0U; in USB_FlushTxFifo() local 327 if (++count > 200000U) in USB_FlushTxFifo() 344 uint32_t count = 0; in USB_FlushRxFifo() local 350 if (++count > 200000U) in USB_FlushRxFifo() 1070 uint32_t count = 0U; in USB_CoreReset() local 1075 if (++count > 200000U) in USB_CoreReset() 1083 count = 0U; in USB_CoreReset() 1088 if (++count > 200000U) in USB_CoreReset() 1547 uint32_t count = 0U; in USB_HC_Halt() local 1562 if (++count > 1000U) in USB_HC_Halt() [all …]
|
/loramac-node-latest/src/boards/B-L072Z-LRWAN1/ |
D | board.c | 381 int _write( int fd, const void *buf, size_t count ) in _write() argument 383 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 384 return count; in _write() 390 int _read( int fd, const void *buf, size_t count ) in _read() argument 393 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
|
/loramac-node-latest/src/boards/SKiM881AXL/ |
D | board.c | 480 int _write( int fd, const void *buf, size_t count ) in _write() argument 482 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 483 return count; in _write() 489 int _read( int fd, const void *buf, size_t count ) in _read() argument 492 while( UartGetBuffer( &Uart1, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
|
/loramac-node-latest/src/mac/ |
D | LoRaMacConfirmQueue.c | 106 static bool IsListEmpty( uint8_t count ) in IsListEmpty() argument 108 if( count == 0 ) in IsListEmpty() 115 static bool IsListFull( uint8_t count ) in IsListFull() argument 117 if( count >= LORA_MAC_MLME_CONFIRM_QUEUE_LEN ) in IsListFull()
|
/loramac-node-latest/src/boards/SKiM980A/ |
D | board.c | 507 int _write( int fd, const void *buf, size_t count ) in _write() argument 509 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 510 return count; in _write() 516 int _read( int fd, const void *buf, size_t count ) in _read() argument 519 while( UartGetBuffer( &Uart1, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
|
/loramac-node-latest/src/boards/NucleoL073/ |
D | board.c | 514 int _write( int fd, const void *buf, size_t count ) in _write() argument 516 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 517 return count; in _write() 523 int _read( int fd, const void *buf, size_t count ) in _read() argument 526 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
|
/loramac-node-latest/src/boards/NucleoL152/ |
D | board.c | 514 int _write( int fd, const void *buf, size_t count ) in _write() argument 516 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 517 return count; in _write() 523 int _read( int fd, const void *buf, size_t count ) in _read() argument 526 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
|
/loramac-node-latest/src/boards/SKiM880B/ |
D | board.c | 507 int _write( int fd, const void *buf, size_t count ) in _write() argument 509 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 510 return count; in _write() 516 int _read( int fd, const void *buf, size_t count ) in _read() argument 519 while( UartGetBuffer( &Uart1, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
|
/loramac-node-latest/src/boards/NAMote72/ |
D | board.c | 601 int _write( int fd, const void *buf, size_t count ) in _write() argument 603 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 604 return count; in _write() 610 int _read( int fd, const void *buf, size_t count ) in _read() argument 613 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
|
/loramac-node-latest/src/boards/NucleoL476/ |
D | board.c | 614 int _write( int fd, const void *buf, size_t count ) in _write() argument 616 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 617 return count; in _write() 623 int _read( int fd, const void *buf, size_t count ) in _read() argument 626 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read()
|