Home
last modified time | relevance | path

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

/loramac-node-3.7.0/src/apps/LoRaMac/common/
DNvmDataMgmt.c59 uint16_t offset = 0; in NvmDataMgmtStore() local
82 offset ); in NvmDataMgmtStore()
84 offset += sizeof( nvm->Crypto ); in NvmDataMgmtStore()
91 sizeof( nvm->MacGroup1 ), offset ); in NvmDataMgmtStore()
93 offset += sizeof( nvm->MacGroup1 ); in NvmDataMgmtStore()
100 sizeof( nvm->MacGroup2 ), offset ); in NvmDataMgmtStore()
102 offset += sizeof( nvm->MacGroup2 ); in NvmDataMgmtStore()
109 offset ); in NvmDataMgmtStore()
111 offset += sizeof( nvm->SecureElement ); in NvmDataMgmtStore()
118 sizeof( nvm->RegionGroup1 ), offset ); in NvmDataMgmtStore()
[all …]
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_exti.c166 uint32_t offset; in HAL_EXTI_SetConfigLine() local
182 offset = ((pExtiConfig->Line & EXTI_REG_MASK) >> EXTI_REG_SHIFT); in HAL_EXTI_SetConfigLine()
192 regaddr = (&EXTI->RTSR1 + (EXTI_CONFIG_OFFSET * offset)); in HAL_EXTI_SetConfigLine()
209 regaddr = (&EXTI->FTSR1 + (EXTI_CONFIG_OFFSET * offset)); in HAL_EXTI_SetConfigLine()
239 regaddr = (&EXTI->IMR1 + (EXTI_MODE_OFFSET * offset)); in HAL_EXTI_SetConfigLine()
259 regaddr = (&EXTI->EMR1 + (EXTI_MODE_OFFSET * offset)); in HAL_EXTI_SetConfigLine()
291 uint32_t offset; in HAL_EXTI_GetConfigLine() local
306 offset = ((pExtiConfig->Line & EXTI_REG_MASK) >> EXTI_REG_SHIFT); in HAL_EXTI_GetConfigLine()
311 regaddr = (&EXTI->IMR1 + (EXTI_MODE_OFFSET * offset)); in HAL_EXTI_GetConfigLine()
325 regaddr = (&EXTI->EMR1 + (EXTI_MODE_OFFSET * offset)); in HAL_EXTI_GetConfigLine()
[all …]
Dstm32l4xx_hal_sai_ex.c97 uint32_t offset; in HAL_SAIEx_ConfigPdmMicDelay() local
112 offset = SAI_PDM_DELAY_OFFSET * (pdmMicDelay->MicPair - 1U); in HAL_SAIEx_ConfigPdmMicDelay()
115 if ((hsai->State != HAL_SAI_STATE_RESET) && (offset <= 24U)) in HAL_SAIEx_ConfigPdmMicDelay()
118 SAI1->PDMDLY &= ~(SAI_PDM_DELAY_MASK << offset); in HAL_SAIEx_ConfigPdmMicDelay()
121 … |= (((pdmMicDelay->RightDelay << SAI_PDM_RIGHT_DELAY_OFFSET) | pdmMicDelay->LeftDelay) << offset); in HAL_SAIEx_ConfigPdmMicDelay()
/loramac-node-3.7.0/src/system/
Dnvmm.c32 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()
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()
50 bool NvmmCrc32Check( uint16_t size, uint16_t offset ) in NvmmCrc32Check() argument
57 ( offset + ( size - sizeof( readCrc32 ) ) ) ) == sizeof( readCrc32 ) ) in NvmmCrc32Check()
63 if( NvmmRead( &data, 1, offset + i ) != 1 ) in NvmmCrc32Check()
79 bool NvmmReset( uint16_t size, uint16_t offset ) in NvmmReset() argument
83 if( EepromMcuWriteBuffer( offset + size - sizeof( crc32 ), in NvmmReset()
Dnvmm.h54 uint16_t NvmmWrite( uint8_t* src, uint16_t size, uint16_t offset );
65 uint16_t NvmmRead( uint8_t* dest, uint16_t size, uint16_t offset );
76 bool NvmmCrc32Check( uint16_t size, uint16_t offset );
87 bool NvmmReset( uint16_t size, uint16_t offset );
/loramac-node-3.7.0/src/boards/mcu/saml21/hal/src/
Dhal_usart_sync.c248 uint32_t offset = 0; in usart_sync_write() local
255 _usart_sync_write_byte(&descr->device, buf[offset]); in usart_sync_write()
258 } while (++offset < length); in usart_sync_write()
260 return (int32_t)offset; in usart_sync_write()
274 uint32_t offset = 0; in usart_sync_read() local
281 buf[offset] = _usart_sync_read_byte(&descr->device); in usart_sync_read()
282 } while (++offset < length); in usart_sync_read()
284 return (int32_t)offset; in usart_sync_read()
/loramac-node-3.7.0/src/mac/region/
DRegionCN470B20.c117 uint8_t offset = 0; in RegionCN470B20GetRx1Frequency() local
123 offset = 32; in RegionCN470B20GetRx1Frequency()
125 return ( baseFrequency + ( ( channel - offset ) * CN470_B20_STEPWIDTH_RX1_CHANNEL ) ); in RegionCN470B20GetRx1Frequency()
DRegionCN470A20.c136 uint8_t offset = 0; in RegionCN470A20GetRx1Frequency() local
142 offset = 32; in RegionCN470A20GetRx1Frequency()
144 return ( baseFrequency + ( ( channel - offset ) * CN470_A20_STEPWIDTH_RX_CHANNEL ) ); in RegionCN470A20GetRx1Frequency()
/loramac-node-3.7.0/src/boards/NucleoL152/
Dsx1261mbxbas-board.c265 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xWriteBuffer() argument
272 SpiInOut( &SX126x.Spi, offset ); in SX126xWriteBuffer()
282 void SX126xReadBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xReadBuffer() argument
289 SpiInOut( &SX126x.Spi, offset ); in SX126xReadBuffer()
Dsx1262mbxcas-board.c265 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xWriteBuffer() argument
272 SpiInOut( &SX126x.Spi, offset ); in SX126xWriteBuffer()
282 void SX126xReadBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xReadBuffer() argument
289 SpiInOut( &SX126x.Spi, offset ); in SX126xReadBuffer()
Dsx1262mbxdas-board.c272 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xWriteBuffer() argument
279 SpiInOut( &SX126x.Spi, offset ); in SX126xWriteBuffer()
289 void SX126xReadBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xReadBuffer() argument
296 SpiInOut( &SX126x.Spi, offset ); in SX126xReadBuffer()
/loramac-node-3.7.0/src/boards/NucleoL073/
Dsx1261mbxbas-board.c265 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xWriteBuffer() argument
272 SpiInOut( &SX126x.Spi, offset ); in SX126xWriteBuffer()
282 void SX126xReadBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xReadBuffer() argument
289 SpiInOut( &SX126x.Spi, offset ); in SX126xReadBuffer()
Dsx1262mbxcas-board.c265 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xWriteBuffer() argument
272 SpiInOut( &SX126x.Spi, offset ); in SX126xWriteBuffer()
282 void SX126xReadBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xReadBuffer() argument
289 SpiInOut( &SX126x.Spi, offset ); in SX126xReadBuffer()
Dsx1262mbxdas-board.c272 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xWriteBuffer() argument
279 SpiInOut( &SX126x.Spi, offset ); in SX126xWriteBuffer()
289 void SX126xReadBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xReadBuffer() argument
296 SpiInOut( &SX126x.Spi, offset ); in SX126xReadBuffer()
/loramac-node-3.7.0/src/boards/NucleoL476/
Dsx1261mbxbas-board.c265 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xWriteBuffer() argument
272 SpiInOut( &SX126x.Spi, offset ); in SX126xWriteBuffer()
282 void SX126xReadBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xReadBuffer() argument
289 SpiInOut( &SX126x.Spi, offset ); in SX126xReadBuffer()
Dsx1262mbxcas-board.c265 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xWriteBuffer() argument
272 SpiInOut( &SX126x.Spi, offset ); in SX126xWriteBuffer()
282 void SX126xReadBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xReadBuffer() argument
289 SpiInOut( &SX126x.Spi, offset ); in SX126xReadBuffer()
Dsx1262mbxdas-board.c272 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xWriteBuffer() argument
279 SpiInOut( &SX126x.Spi, offset ); in SX126xWriteBuffer()
289 void SX126xReadBuffer( uint8_t offset, uint8_t *buffer, uint8_t size ) in SX126xReadBuffer() argument
296 SpiInOut( &SX126x.Spi, offset ); in SX126xReadBuffer()
/loramac-node-3.7.0/src/radio/sx126x/
Dsx126x.h994 void SX126xWriteBuffer( uint8_t offset, uint8_t *buffer, uint8_t size );
1003 void SX126xReadBuffer( uint8_t offset, uint8_t *buffer, uint8_t size );
Dsx126x.c152 uint8_t offset = 0; in SX126xGetPayload() local
154 SX126xGetRxBufferStatus( size, &offset ); in SX126xGetPayload()
159 SX126xReadBuffer( offset, buffer, *size ); in SX126xGetPayload()
/loramac-node-3.7.0/src/mac/
DLoRaMacClassB.c205 uint8_t offset = 0; in CalcDownlinkChannelAndFrequency() local
224 offset = ( uint8_t ) phyParam.Value; in CalcDownlinkChannelAndFrequency()
229 channel += offset; in CalcDownlinkChannelAndFrequency()
DLoRaMac.c814 uint32_t offset = TimerGetCurrentTime( ) - TxDoneParams.CurTime; in ProcessRadioTxDone() local
815 TimerSetValue( &MacCtx.RxWindowTimer1, MacCtx.RxWindow1Delay - offset ); in ProcessRadioTxDone()
817 TimerSetValue( &MacCtx.RxWindowTimer2, MacCtx.RxWindow2Delay - offset ); in ProcessRadioTxDone()
/loramac-node-3.7.0/src/radio/lr1110/
Dradio.c1131 void RadioReadFifo( uint8_t* buffer, uint8_t offset, uint8_t size ) in RadioReadFifo() argument
1133 lr1110_regmem_read_buffer8( &LR1110, buffer, offset, size ); in RadioReadFifo()
/loramac-node-3.7.0/src/boards/mcu/stm32/cmsis/
Darm_math.h2718 float32_t offset,
2732 q7_t offset,
2746 q15_t offset,
2760 q31_t offset,
/loramac-node-3.7.0/src/boards/mcu/saml21/cmsis/
Darm_math.h2860 float32_t offset,
2875 q7_t offset,
2890 q15_t offset,
2905 q31_t offset,
/loramac-node-3.7.0/
DCHANGELOG.md565 - Update data rate offset table for US band