Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 11 of 11) sorted by relevance

/loramac-node-3.6.0-3.5.0/src/peripherals/
Dmpl3115.c200 uint8_t counter = 0; in MPL3115ReadBarometer() local
225 counter++; in MPL3115ReadBarometer()
227 if( counter > 20 ) in MPL3115ReadBarometer()
240 counter = 0; in MPL3115ReadBarometer()
246 counter++; in MPL3115ReadBarometer()
248 if( counter > 20 ) in MPL3115ReadBarometer()
293 uint8_t counter = 0; in MPL3115ReadTemperature() local
312 counter++; in MPL3115ReadTemperature()
314 if( counter > 20 ) in MPL3115ReadTemperature()
319 counter = 0; in MPL3115ReadTemperature()
[all …]
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_lcd.c158 uint32_t counter = 0; in HAL_LCD_Init() local
197 for(counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Init()
199 hlcd->Instance->RAM[counter] = 0; in HAL_LCD_Init()
439 uint32_t counter = 0; in HAL_LCD_Clear() local
465 for(counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Clear()
467 hlcd->Instance->RAM[counter] = 0; in HAL_LCD_Clear()
Dstm32l4xx_hal_ltdc.c870 uint32_t counter; in HAL_LTDC_ConfigCLUT() local
881 for(counter = 0U; (counter < CLUTSize); counter++) in HAL_LTDC_ConfigCLUT()
885 …tmp = (((counter + (16U*counter)) << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | ((uint32_t)(*pcolo… in HAL_LTDC_ConfigCLUT()
889 …tmp = ((counter << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | ((uint32_t)(*pcolorlut) & 0xFF00U) |… in HAL_LTDC_ConfigCLUT()
Dstm32l4xx_hal_sai.c1746 …usTypeDef HAL_SAI_EnableRxMuteMode(SAI_HandleTypeDef *hsai, SAIcallback callback, uint16_t counter) in HAL_SAI_EnableRxMuteMode() argument
1748 assert_param(IS_SAI_BLOCK_MUTE_COUNTER(counter)); in HAL_SAI_EnableRxMuteMode()
1754 SET_BIT(hsai->Instance->CR2, (uint32_t)((uint32_t)counter << SAI_xCR2_MUTECNT_Pos)); in HAL_SAI_EnableRxMuteMode()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_lcd.c196 uint8_t counter = 0; in HAL_LCD_Init() local
235 for(counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Init()
237 hlcd->Instance->RAM[counter] = 0; in HAL_LCD_Init()
447 uint32_t counter = 0; in HAL_LCD_Clear() local
473 for(counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Clear()
475 hlcd->Instance->RAM[counter] = 0; in HAL_LCD_Clear()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_lcd.c188 uint8_t counter = 0U; in HAL_LCD_Init() local
227 for(counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Init()
229 hlcd->Instance->RAM[counter] = 0U; in HAL_LCD_Init()
442 uint32_t counter = 0U; in HAL_LCD_Clear() local
468 for(counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Clear()
470 hlcd->Instance->RAM[counter] = 0U; in HAL_LCD_Clear()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/EEPROM_Emul/Core/
Deeprom_emul.c901 uint32_t page = 0U, pageaddress = 0U, counter = 0U, crc = 0U; in ReadVariable() local
920 counter = PAGE_SIZE - EE_ELEMENT_SIZE; in ReadVariable()
923 while (counter >= PAGE_HEADER_SIZE) in ReadVariable()
926 addressvalue = (*(__IO EE_ELEMENT_TYPE*)(pageaddress + counter)); in ReadVariable()
947 counter -= EE_ELEMENT_SIZE; in ReadVariable()
997 uint32_t counter = 0U; in VerifyPageFullyErased() local
1000 while (counter < PageSize) in VerifyPageFullyErased()
1003 if ((*(__IO EE_ELEMENT_TYPE*)(Address+counter)) != EE_PAGESTAT_ERASED) in VerifyPageFullyErased()
1009 counter = counter + EE_ELEMENT_SIZE; in VerifyPageFullyErased()
/loramac-node-3.6.0-3.5.0/src/apps/LoRaMac/common/LmHandler/packages/
DFragDecoder.c205 static void FragFindMissingFrags( uint16_t counter );
639 static void FragFindMissingFrags( uint16_t counter ) in FragFindMissingFrags() argument
642 for( i = FragDecoder.Status.FragNbLastRx; i < ( counter - 1 ); i++ ) in FragFindMissingFrags()
652 FragDecoder.Status.FragNbLastRx = counter; in FragFindMissingFrags()
/loramac-node-3.6.0-3.5.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_sai.h819 …sTypeDef HAL_SAI_EnableRxMuteMode(SAI_HandleTypeDef *hsai, SAIcallback callback, uint16_t counter);
/loramac-node-3.6.0-3.5.0/src/mac/
DLoRaMac.c595 static bool CheckRetrans( uint8_t counter, uint8_t limit );
619 static uint32_t IncreaseAdrAckCounter( uint32_t counter );
3605 static bool CheckRetrans( uint8_t counter, uint8_t limit ) in CheckRetrans() argument
3607 if( counter >= limit ) in CheckRetrans()
3655 static uint32_t IncreaseAdrAckCounter( uint32_t counter ) in IncreaseAdrAckCounter() argument
3657 if( counter < ADR_ACK_COUNTER_MAX ) in IncreaseAdrAckCounter()
3659 counter++; in IncreaseAdrAckCounter()
3661 return counter; in IncreaseAdrAckCounter()
/loramac-node-3.6.0-3.5.0/
DCHANGELOG.md378 - Fixed potential issue where the `FCntUp` counter could sometimes be incremented by 2 instead of 1
623 - Issue(#59): Add the possibility to set the uplink and downlink counter
625 - Issue(#74): Drop frames with a downlink counter difference greater or equal to `MAX_FCNT_GAP`
693 - Fixed downlink counter roll over management when several downlinks were missed
747 - Fixed and simplified the downlink sequence counter management
860 - Added another timer in order increment the tick counter without blocking the normal timer count