Searched refs:crc (Results 1 – 6 of 6) sorted by relevance
/loramac-node-3.4.0/src/boards/mcu/ |
D | utilities.c | 100 uint32_t crc = 0xFFFFFFFF; in Crc32() local 109 crc ^= ( uint32_t )buffer[i]; in Crc32() 112 crc = ( crc >> 1 ) ^ ( reversedPolynom & ~( ( crc & 0x01 ) - 1 ) ); in Crc32() 116 return ~crc; in Crc32() 130 uint32_t crc = crcInit; in Crc32Update() local 139 crc ^= ( uint32_t )buffer[i]; in Crc32Update() 142 crc = ( crc >> 1 ) ^ ( reversedPolynom & ~( ( crc & 0x01 ) - 1 ) ); in Crc32Update() 145 return crc; in Crc32Update() 148 uint32_t Crc32Finalize( uint32_t crc ) in Crc32Finalize() argument 150 return ~crc; in Crc32Finalize()
|
/loramac-node-3.4.0/src/boards/mcu/stm32/EEPROM_Emul/Core/ |
D | eeprom_emul.c | 901 uint32_t page = 0U, pageaddress = 0U, counter = 0U, crc = 0U; in ReadVariable() local 933 crc = CalculateCrc(EE_DATA_VALUE(addressvalue), EE_VIRTUALADDRESS_VALUE(addressvalue)); in ReadVariable() 937 if (crc == EE_CRC_VALUE(addressvalue)) in ReadVariable() 1430 uint32_t crc = 0U; in VerifyPagesFullWriteVariable() local 1453 crc = 0U; in VerifyPagesFullWriteVariable() 1458 crc = CalculateCrc(Data, VirtAddress); in VerifyPagesFullWriteVariable() 1463 …if (EE_FLASH_PROGRAM(activepageaddress+uwAddressNextWrite, EE_ELEMENT_VALUE(VirtAddress,Data,crc))… in VerifyPagesFullWriteVariable()
|
/loramac-node-3.4.0/src/mac/ |
D | LoRaMac.c | 1703 uint32_t crc = 0; in LoRaMacHandleNvm() local 1712 crc = Crc32( ( uint8_t* ) &nvmData->Crypto, sizeof( nvmData->Crypto ) - in LoRaMacHandleNvm() 1714 if( crc != nvmData->Crypto.Crc32 ) in LoRaMacHandleNvm() 1716 nvmData->Crypto.Crc32 = crc; in LoRaMacHandleNvm() 1721 crc = Crc32( ( uint8_t* ) &nvmData->MacGroup1, sizeof( nvmData->MacGroup1 ) - in LoRaMacHandleNvm() 1723 if( crc != nvmData->MacGroup1.Crc32 ) in LoRaMacHandleNvm() 1725 nvmData->MacGroup1.Crc32 = crc; in LoRaMacHandleNvm() 1730 crc = Crc32( ( uint8_t* ) &nvmData->MacGroup2, sizeof( nvmData->MacGroup2 ) - in LoRaMacHandleNvm() 1732 if( crc != nvmData->MacGroup2.Crc32 ) in LoRaMacHandleNvm() 1734 nvmData->MacGroup2.Crc32 = crc; in LoRaMacHandleNvm() [all …]
|
D | LoRaMacClassB.c | 388 uint16_t crc = 0x0000; in BeaconCrc() local 397 crc ^= ( uint16_t ) buffer[i] << 8; in BeaconCrc() 400 crc = ( crc & 0x8000 ) ? ( crc << 1 ) ^ polynom : ( crc << 1 ); in BeaconCrc() 404 return crc; in BeaconCrc()
|
/loramac-node-3.4.0/src/boards/ |
D | utilities.h | 178 uint32_t Crc32Finalize( uint32_t crc );
|
/loramac-node-3.4.0/src/radio/lr1110/ |
D | radio.c | 700 LR1110.packet_params.packet.lora.crc = ( lr1110_radio_lora_crc_t ) crcOn; in RadioSetRxConfig() 793 LR1110.packet_params.packet.lora.crc = ( lr1110_radio_lora_crc_t ) crcOn; in RadioSetTxConfig()
|