/loramac-node-3.7.0/src/system/ |
D | nvmm.c | 32 uint16_t NvmmWrite( uint8_t* src, uint16_t size, uint16_t offset ) in NvmmWrite() argument 34 if( EepromMcuWriteBuffer( offset, src, size ) == LMN_STATUS_OK ) in NvmmWrite() 36 return size; in NvmmWrite() 41 uint16_t NvmmRead( uint8_t* dest, uint16_t size, uint16_t offset ) in NvmmRead() argument 43 if( EepromMcuReadBuffer( offset, dest, size ) == LMN_STATUS_OK ) in NvmmRead() 45 return size; in NvmmRead() 50 bool NvmmCrc32Check( uint16_t size, uint16_t offset ) in NvmmCrc32Check() argument 57 ( offset + ( size - sizeof( readCrc32 ) ) ) ) == sizeof( readCrc32 ) ) in NvmmCrc32Check() 61 for( uint16_t i = 0; i < ( size - sizeof( readCrc32 ) ); i++ ) in NvmmCrc32Check() 79 bool NvmmReset( uint16_t size, uint16_t offset ) in NvmmReset() argument [all …]
|
D | i2c.c | 81 LmnStatus_t I2cWriteBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cWriteBuffer() argument 85 if( I2cMcuWriteBuffer( obj, deviceAddr, buffer, size ) == LMN_STATUS_ERROR ) in I2cWriteBuffer() 88 if( I2cMcuWriteBuffer( obj, deviceAddr, buffer, size ) == LMN_STATUS_ERROR ) in I2cWriteBuffer() 135 … I2cWriteMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, uint16_t size ) in I2cWriteMemBuffer() argument 139 if( I2cMcuWriteMemBuffer( obj, deviceAddr, addr, buffer, size ) == LMN_STATUS_ERROR ) in I2cWriteMemBuffer() 142 if( I2cMcuWriteMemBuffer( obj, deviceAddr, addr, buffer, size ) == LMN_STATUS_ERROR ) in I2cWriteMemBuffer() 174 LmnStatus_t I2cReadBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cReadBuffer() argument 178 return( I2cMcuReadBuffer( obj, deviceAddr, buffer, size ) ); in I2cReadBuffer() 198 …t I2cReadMemBuffer( I2c_t *obj, uint8_t deviceAddr, uint16_t addr, uint8_t *buffer, uint16_t size ) in I2cReadMemBuffer() argument 202 return( I2cMcuReadMemBuffer( obj, deviceAddr, addr, buffer, size ) ); in I2cReadMemBuffer()
|
/loramac-node-3.7.0/src/boards/SAMR34/ |
D | i2c-board.c | 76 LmnStatus_t I2cMcuWriteBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuWriteBuffer() argument 79 if( io_write( &I2C_INSTANCE.io, buffer, size ) == size ) in I2cMcuWriteBuffer() 89 LmnStatus_t I2cMcuReadBuffer( I2c_t *obj, uint8_t deviceAddr, uint8_t *buffer, uint16_t size ) in I2cMcuReadBuffer() argument 92 if( io_read( &I2C_INSTANCE.io, buffer, size ) == size ) in I2cMcuReadBuffer() 102 …cMcuWriteMemBuffer( I2c_t* obj, uint8_t deviceAddr, uint16_t addr, uint8_t* buffer, uint16_t size ) in I2cMcuWriteMemBuffer() argument 105 if( i2c_m_sync_cmd_write( &I2C_INSTANCE, addr, buffer, size ) == size ) in I2cMcuWriteMemBuffer() 115 …2cMcuReadMemBuffer( I2c_t* obj, uint8_t deviceAddr, uint16_t addr, uint8_t* buffer, uint16_t size ) in I2cMcuReadMemBuffer() argument 118 if( i2c_m_sync_cmd_read( &I2C_INSTANCE, addr, buffer, size ) == size ) in I2cMcuReadMemBuffer()
|
/loramac-node-3.7.0/src/apps/LoRaMac/common/LmHandler/packages/ |
D | FragDecoder.c | 79 static void SetRow( uint8_t *src, uint16_t row, uint16_t size ); 89 static void SetRow( uint8_t *dst, uint8_t *src, uint16_t row, uint16_t size ); 100 static void GetRow( uint8_t *src, uint16_t row, uint16_t size ); 110 static void GetRow( uint8_t *dst, uint8_t *src, uint16_t row, uint16_t size ); 150 static void XorDataLine( uint8_t *line1, uint8_t *line2, int32_t size ); 161 static void XorParityLine( uint8_t* line1, uint8_t* line2, int32_t size ); 188 static uint16_t BitArrayFindFirstOne( uint8_t *bitArray, uint16_t size ); 197 static uint8_t BitArrayIsAllZeros( uint8_t *bitArray, uint16_t size ); 495 static void SetRow( uint8_t *src, uint16_t row, uint16_t size ) in SetRow() argument 499 FragDecoder.Callbacks->FragDecoderWrite( row * size, src, size ); in SetRow() [all …]
|
/loramac-node-3.7.0/src/apps/LoRaMac/fuota-test-01/SAMR34/ |
D | main.c | 122 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ); 137 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ); 138 static int8_t FragDecoderRead( uint32_t addr, uint8_t *data, uint32_t size ); 142 static void OnFragDone( int32_t status, uint32_t size ); 144 static void OnFragDone( int32_t status, uint8_t *file, uint32_t size ); 358 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ) in OnNvmDataChange() argument 360 DisplayNvmDataChange( state, size ); in OnNvmDataChange() 471 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ) in FragDecoderWrite() argument 473 if( size >= UNFRAGMENTED_DATA_SIZE ) in FragDecoderWrite() 477 for(uint32_t i = 0; i < size; i++ ) in FragDecoderWrite() [all …]
|
/loramac-node-3.7.0/src/apps/LoRaMac/fuota-test-01/NAMote72/ |
D | main.c | 135 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ); 150 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ); 151 static int8_t FragDecoderRead( uint32_t addr, uint8_t *data, uint32_t size ); 155 static void OnFragDone( int32_t status, uint32_t size ); 157 static void OnFragDone( int32_t status, uint8_t *file, uint32_t size ); 386 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ) in OnNvmDataChange() argument 388 DisplayNvmDataChange( state, size ); in OnNvmDataChange() 501 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ) in FragDecoderWrite() argument 503 if( size >= UNFRAGMENTED_DATA_SIZE ) in FragDecoderWrite() 507 for(uint32_t i = 0; i < size; i++ ) in FragDecoderWrite() [all …]
|
/loramac-node-3.7.0/src/apps/LoRaMac/fuota-test-01/NucleoL476/ |
D | main.c | 132 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ); 147 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ); 148 static int8_t FragDecoderRead( uint32_t addr, uint8_t *data, uint32_t size ); 152 static void OnFragDone( int32_t status, uint32_t size ); 154 static void OnFragDone( int32_t status, uint8_t *file, uint32_t size ); 382 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ) in OnNvmDataChange() argument 384 DisplayNvmDataChange( state, size ); in OnNvmDataChange() 497 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ) in FragDecoderWrite() argument 499 if( size >= UNFRAGMENTED_DATA_SIZE ) in FragDecoderWrite() 503 for(uint32_t i = 0; i < size; i++ ) in FragDecoderWrite() [all …]
|
/loramac-node-3.7.0/src/apps/LoRaMac/fuota-test-01/SKiM880B/ |
D | main.c | 127 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ); 142 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ); 143 static int8_t FragDecoderRead( uint32_t addr, uint8_t *data, uint32_t size ); 147 static void OnFragDone( int32_t status, uint32_t size ); 149 static void OnFragDone( int32_t status, uint8_t *file, uint32_t size ); 371 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ) in OnNvmDataChange() argument 373 DisplayNvmDataChange( state, size ); in OnNvmDataChange() 484 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ) in FragDecoderWrite() argument 486 if( size >= UNFRAGMENTED_DATA_SIZE ) in FragDecoderWrite() 490 for(uint32_t i = 0; i < size; i++ ) in FragDecoderWrite() [all …]
|
/loramac-node-3.7.0/src/apps/LoRaMac/fuota-test-01/SKiM881AXL/ |
D | main.c | 127 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ); 142 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ); 143 static int8_t FragDecoderRead( uint32_t addr, uint8_t *data, uint32_t size ); 147 static void OnFragDone( int32_t status, uint32_t size ); 149 static void OnFragDone( int32_t status, uint8_t *file, uint32_t size ); 371 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ) in OnNvmDataChange() argument 373 DisplayNvmDataChange( state, size ); in OnNvmDataChange() 484 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ) in FragDecoderWrite() argument 486 if( size >= UNFRAGMENTED_DATA_SIZE ) in FragDecoderWrite() 490 for(uint32_t i = 0; i < size; i++ ) in FragDecoderWrite() [all …]
|
/loramac-node-3.7.0/src/apps/LoRaMac/fuota-test-01/SKiM980A/ |
D | main.c | 127 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ); 142 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ); 143 static int8_t FragDecoderRead( uint32_t addr, uint8_t *data, uint32_t size ); 147 static void OnFragDone( int32_t status, uint32_t size ); 149 static void OnFragDone( int32_t status, uint8_t *file, uint32_t size ); 371 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ) in OnNvmDataChange() argument 373 DisplayNvmDataChange( state, size ); in OnNvmDataChange() 484 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ) in FragDecoderWrite() argument 486 if( size >= UNFRAGMENTED_DATA_SIZE ) in FragDecoderWrite() 490 for(uint32_t i = 0; i < size; i++ ) in FragDecoderWrite() [all …]
|
/loramac-node-3.7.0/src/apps/LoRaMac/fuota-test-01/NucleoL073/ |
D | main.c | 132 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ); 147 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ); 148 static int8_t FragDecoderRead( uint32_t addr, uint8_t *data, uint32_t size ); 152 static void OnFragDone( int32_t status, uint32_t size ); 154 static void OnFragDone( int32_t status, uint8_t *file, uint32_t size ); 382 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ) in OnNvmDataChange() argument 384 DisplayNvmDataChange( state, size ); in OnNvmDataChange() 497 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ) in FragDecoderWrite() argument 499 if( size >= UNFRAGMENTED_DATA_SIZE ) in FragDecoderWrite() 503 for(uint32_t i = 0; i < size; i++ ) in FragDecoderWrite() [all …]
|
/loramac-node-3.7.0/src/apps/LoRaMac/fuota-test-01/NucleoL152/ |
D | main.c | 132 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ); 147 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ); 148 static int8_t FragDecoderRead( uint32_t addr, uint8_t *data, uint32_t size ); 152 static void OnFragDone( int32_t status, uint32_t size ); 154 static void OnFragDone( int32_t status, uint8_t *file, uint32_t size ); 382 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ) in OnNvmDataChange() argument 384 DisplayNvmDataChange( state, size ); in OnNvmDataChange() 497 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ) in FragDecoderWrite() argument 499 if( size >= UNFRAGMENTED_DATA_SIZE ) in FragDecoderWrite() 503 for(uint32_t i = 0; i < size; i++ ) in FragDecoderWrite() [all …]
|
/loramac-node-3.7.0/src/apps/LoRaMac/fuota-test-01/B-L072Z-LRWAN1/ |
D | main.c | 137 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ); 152 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ); 153 static int8_t FragDecoderRead( uint32_t addr, uint8_t *data, uint32_t size ); 157 static void OnFragDone( int32_t status, uint32_t size ); 159 static void OnFragDone( int32_t status, uint8_t *file, uint32_t size ); 397 static void OnNvmDataChange( LmHandlerNvmContextStates_t state, uint16_t size ) in OnNvmDataChange() argument 399 DisplayNvmDataChange( state, size ); in OnNvmDataChange() 512 static int8_t FragDecoderWrite( uint32_t addr, uint8_t *data, uint32_t size ) in FragDecoderWrite() argument 514 if( size >= UNFRAGMENTED_DATA_SIZE ) in FragDecoderWrite() 518 for(uint32_t i = 0; i < size; i++ ) in FragDecoderWrite() [all …]
|
/loramac-node-3.7.0/src/boards/mcu/ |
D | utilities.c | 53 void memcpy1( uint8_t *dst, const uint8_t *src, uint16_t size ) in memcpy1() argument 55 while( size-- ) in memcpy1() 61 void memcpyr( uint8_t *dst, const uint8_t *src, uint16_t size ) in memcpyr() argument 63 dst = dst + ( size - 1 ); in memcpyr() 64 while( size-- ) in memcpyr() 70 void memset1( uint8_t *dst, uint8_t value, uint16_t size ) in memset1() argument 72 while( size-- ) in memset1()
|
/loramac-node-3.7.0/src/boards/NucleoL152/ |
D | eeprom-board.c | 27 LmnStatus_t EepromMcuWriteBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuWriteBuffer() argument 33 assert_param( size < ( FLASH_EEPROM_END - FLASH_EEPROM_BASE ) ); in EepromMcuWriteBuffer() 38 for( uint16_t i = 0; i < size; i++ ) in EepromMcuWriteBuffer() 56 LmnStatus_t EepromMcuReadBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuReadBuffer() argument 60 assert_param( size < ( FLASH_EEPROM_END - FLASH_EEPROM_BASE ) ); in EepromMcuReadBuffer() 62 memcpy1( buffer, ( uint8_t* )( FLASH_EEPROM_BASE + addr ), size ); in EepromMcuReadBuffer()
|
D | sx1261mbxbas-board.c | 171 void SX126xWriteCommand( RadioCommands_t command, uint8_t *buffer, uint16_t size ) in SX126xWriteCommand() argument 179 for( uint16_t i = 0; i < size; i++ ) in SX126xWriteCommand() 192 uint8_t SX126xReadCommand( RadioCommands_t command, uint8_t *buffer, uint16_t size ) in SX126xReadCommand() argument 202 for( uint16_t i = 0; i < size; i++ ) in SX126xReadCommand() 214 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xWriteRegisters() argument 224 for( uint16_t i = 0; i < size; i++ ) in SX126xWriteRegisters() 239 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xReadRegisters() argument 249 for( uint16_t i = 0; i < size; i++ ) in SX126xReadRegisters() 265 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xWriteBuffer() argument 273 for( uint16_t i = 0; i < size; i++ ) in SX126xWriteBuffer() [all …]
|
D | sx1262mbxcas-board.c | 171 void SX126xWriteCommand( RadioCommands_t command, uint8_t *buffer, uint16_t size ) in SX126xWriteCommand() argument 179 for( uint16_t i = 0; i < size; i++ ) in SX126xWriteCommand() 192 uint8_t SX126xReadCommand( RadioCommands_t command, uint8_t *buffer, uint16_t size ) in SX126xReadCommand() argument 202 for( uint16_t i = 0; i < size; i++ ) in SX126xReadCommand() 214 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xWriteRegisters() argument 224 for( uint16_t i = 0; i < size; i++ ) in SX126xWriteRegisters() 239 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xReadRegisters() argument 249 for( uint16_t i = 0; i < size; i++ ) in SX126xReadRegisters() 265 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xWriteBuffer() argument 273 for( uint16_t i = 0; i < size; i++ ) in SX126xWriteBuffer() [all …]
|
D | sx1262mbxdas-board.c | 178 void SX126xWriteCommand( RadioCommands_t command, uint8_t *buffer, uint16_t size ) in SX126xWriteCommand() argument 186 for( uint16_t i = 0; i < size; i++ ) in SX126xWriteCommand() 199 uint8_t SX126xReadCommand( RadioCommands_t command, uint8_t *buffer, uint16_t size ) in SX126xReadCommand() argument 209 for( uint16_t i = 0; i < size; i++ ) in SX126xReadCommand() 221 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xWriteRegisters() argument 231 for( uint16_t i = 0; i < size; i++ ) in SX126xWriteRegisters() 246 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xReadRegisters() argument 256 for( uint16_t i = 0; i < size; i++ ) in SX126xReadRegisters() 272 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xWriteBuffer() argument 280 for( uint16_t i = 0; i < size; i++ ) in SX126xWriteBuffer() [all …]
|
/loramac-node-3.7.0/src/boards/NAMote72/ |
D | eeprom-board.c | 27 LmnStatus_t EepromMcuWriteBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuWriteBuffer() argument 33 assert_param( size < ( FLASH_EEPROM_END - FLASH_EEPROM_BASE ) ); in EepromMcuWriteBuffer() 38 for( uint16_t i = 0; i < size; i++ ) in EepromMcuWriteBuffer() 56 LmnStatus_t EepromMcuReadBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuReadBuffer() argument 60 assert_param( size < ( FLASH_EEPROM_END - FLASH_EEPROM_BASE ) ); in EepromMcuReadBuffer() 62 memcpy1( buffer, ( uint8_t* )( FLASH_EEPROM_BASE + addr ), size ); in EepromMcuReadBuffer()
|
/loramac-node-3.7.0/src/boards/SKiM880B/ |
D | eeprom-board.c | 27 LmnStatus_t EepromMcuWriteBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuWriteBuffer() argument 33 assert_param( size < ( FLASH_EEPROM_END - FLASH_EEPROM_BASE ) ); in EepromMcuWriteBuffer() 38 for( uint16_t i = 0; i < size; i++ ) in EepromMcuWriteBuffer() 56 LmnStatus_t EepromMcuReadBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuReadBuffer() argument 60 assert_param( size < ( FLASH_EEPROM_END - FLASH_EEPROM_BASE ) ); in EepromMcuReadBuffer() 62 memcpy1( buffer, ( uint8_t* )( FLASH_EEPROM_BASE + addr ), size ); in EepromMcuReadBuffer()
|
/loramac-node-3.7.0/src/boards/SKiM881AXL/ |
D | eeprom-board.c | 27 LmnStatus_t EepromMcuWriteBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuWriteBuffer() argument 33 assert_param( size < ( DATA_EEPROM_BANK2_END - DATA_EEPROM_BASE ) ); in EepromMcuWriteBuffer() 38 for( uint16_t i = 0; i < size; i++ ) in EepromMcuWriteBuffer() 56 LmnStatus_t EepromMcuReadBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuReadBuffer() argument 60 assert_param( size < ( DATA_EEPROM_BANK2_END - DATA_EEPROM_BASE ) ); in EepromMcuReadBuffer() 62 memcpy1( buffer, ( uint8_t* )( DATA_EEPROM_BASE + addr ), size ); in EepromMcuReadBuffer()
|
/loramac-node-3.7.0/src/boards/NucleoL073/ |
D | eeprom-board.c | 27 LmnStatus_t EepromMcuWriteBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuWriteBuffer() argument 33 assert_param( size < ( DATA_EEPROM_BANK2_END - DATA_EEPROM_BASE ) ); in EepromMcuWriteBuffer() 38 for( uint16_t i = 0; i < size; i++ ) in EepromMcuWriteBuffer() 56 LmnStatus_t EepromMcuReadBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuReadBuffer() argument 60 assert_param( size < ( DATA_EEPROM_BANK2_END - DATA_EEPROM_BASE ) ); in EepromMcuReadBuffer() 62 memcpy1( buffer, ( uint8_t* )( DATA_EEPROM_BASE + addr ), size ); in EepromMcuReadBuffer()
|
D | sx1261mbxbas-board.c | 171 void SX126xWriteCommand( RadioCommands_t command, uint8_t *buffer, uint16_t size ) in SX126xWriteCommand() argument 179 for( uint16_t i = 0; i < size; i++ ) in SX126xWriteCommand() 192 uint8_t SX126xReadCommand( RadioCommands_t command, uint8_t *buffer, uint16_t size ) in SX126xReadCommand() argument 202 for( uint16_t i = 0; i < size; i++ ) in SX126xReadCommand() 214 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xWriteRegisters() argument 224 for( uint16_t i = 0; i < size; i++ ) in SX126xWriteRegisters() 239 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xReadRegisters() argument 249 for( uint16_t i = 0; i < size; i++ ) in SX126xReadRegisters() 265 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xWriteBuffer() argument 273 for( uint16_t i = 0; i < size; i++ ) in SX126xWriteBuffer() [all …]
|
/loramac-node-3.7.0/src/boards/B-L072Z-LRWAN1/ |
D | eeprom-board.c | 27 LmnStatus_t EepromMcuWriteBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuWriteBuffer() argument 33 assert_param( size < ( DATA_EEPROM_BANK2_END - DATA_EEPROM_BASE ) ); in EepromMcuWriteBuffer() 38 for( uint16_t i = 0; i < size; i++ ) in EepromMcuWriteBuffer() 56 LmnStatus_t EepromMcuReadBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuReadBuffer() argument 60 assert_param( size < ( DATA_EEPROM_BANK2_END - DATA_EEPROM_BASE ) ); in EepromMcuReadBuffer() 62 memcpy1( buffer, ( uint8_t* )( DATA_EEPROM_BASE + addr ), size ); in EepromMcuReadBuffer()
|
/loramac-node-3.7.0/src/boards/SKiM980A/ |
D | eeprom-board.c | 27 LmnStatus_t EepromMcuWriteBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuWriteBuffer() argument 33 assert_param( size < ( FLASH_EEPROM_END - FLASH_EEPROM_BASE ) ); in EepromMcuWriteBuffer() 38 for( uint16_t i = 0; i < size; i++ ) in EepromMcuWriteBuffer() 57 LmnStatus_t EepromMcuReadBuffer( uint16_t addr, uint8_t *buffer, uint16_t size ) in EepromMcuReadBuffer() argument 61 assert_param( size < ( FLASH_EEPROM_END - FLASH_EEPROM_BASE ) ); in EepromMcuReadBuffer() 63 memcpy1( buffer, ( uint8_t* )( FLASH_EEPROM_BASE + addr ), size ); in EepromMcuReadBuffer()
|