Home
last modified time | relevance | path

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

12

/loramac-node-3.4.0/src/boards/NucleoL152/
Dsx1262mbxcas-board.c214 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xWriteRegisters() argument
221 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xWriteRegisters()
222 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xWriteRegisters()
234 void SX126xWriteRegister( uint16_t address, uint8_t value ) in SX126xWriteRegister() argument
236 SX126xWriteRegisters( address, &value, 1 ); in SX126xWriteRegister()
239 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xReadRegisters() argument
246 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xReadRegisters()
247 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xReadRegisters()
258 uint8_t SX126xReadRegister( uint16_t address ) in SX126xReadRegister() argument
261 SX126xReadRegisters( address, &data, 1 ); in SX126xReadRegister()
Dsx1262mbxdas-board.c221 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xWriteRegisters() argument
228 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xWriteRegisters()
229 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xWriteRegisters()
241 void SX126xWriteRegister( uint16_t address, uint8_t value ) in SX126xWriteRegister() argument
243 SX126xWriteRegisters( address, &value, 1 ); in SX126xWriteRegister()
246 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xReadRegisters() argument
253 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xReadRegisters()
254 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xReadRegisters()
265 uint8_t SX126xReadRegister( uint16_t address ) in SX126xReadRegister() argument
268 SX126xReadRegisters( address, &data, 1 ); in SX126xReadRegister()
Dsx1261mbxbas-board.c214 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xWriteRegisters() argument
221 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xWriteRegisters()
222 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xWriteRegisters()
234 void SX126xWriteRegister( uint16_t address, uint8_t value ) in SX126xWriteRegister() argument
236 SX126xWriteRegisters( address, &value, 1 ); in SX126xWriteRegister()
239 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xReadRegisters() argument
246 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xReadRegisters()
247 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xReadRegisters()
258 uint8_t SX126xReadRegister( uint16_t address ) in SX126xReadRegister() argument
261 SX126xReadRegisters( address, &data, 1 ); in SX126xReadRegister()
/loramac-node-3.4.0/src/boards/NucleoL073/
Dsx1261mbxbas-board.c214 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xWriteRegisters() argument
221 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xWriteRegisters()
222 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xWriteRegisters()
234 void SX126xWriteRegister( uint16_t address, uint8_t value ) in SX126xWriteRegister() argument
236 SX126xWriteRegisters( address, &value, 1 ); in SX126xWriteRegister()
239 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xReadRegisters() argument
246 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xReadRegisters()
247 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xReadRegisters()
258 uint8_t SX126xReadRegister( uint16_t address ) in SX126xReadRegister() argument
261 SX126xReadRegisters( address, &data, 1 ); in SX126xReadRegister()
Dsx1262mbxcas-board.c214 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xWriteRegisters() argument
221 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xWriteRegisters()
222 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xWriteRegisters()
234 void SX126xWriteRegister( uint16_t address, uint8_t value ) in SX126xWriteRegister() argument
236 SX126xWriteRegisters( address, &value, 1 ); in SX126xWriteRegister()
239 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xReadRegisters() argument
246 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xReadRegisters()
247 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xReadRegisters()
258 uint8_t SX126xReadRegister( uint16_t address ) in SX126xReadRegister() argument
261 SX126xReadRegisters( address, &data, 1 ); in SX126xReadRegister()
Dsx1262mbxdas-board.c221 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xWriteRegisters() argument
228 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xWriteRegisters()
229 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xWriteRegisters()
241 void SX126xWriteRegister( uint16_t address, uint8_t value ) in SX126xWriteRegister() argument
243 SX126xWriteRegisters( address, &value, 1 ); in SX126xWriteRegister()
246 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xReadRegisters() argument
253 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xReadRegisters()
254 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xReadRegisters()
265 uint8_t SX126xReadRegister( uint16_t address ) in SX126xReadRegister() argument
268 SX126xReadRegisters( address, &data, 1 ); in SX126xReadRegister()
/loramac-node-3.4.0/src/boards/NucleoL476/
Dsx1261mbxbas-board.c214 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xWriteRegisters() argument
221 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xWriteRegisters()
222 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xWriteRegisters()
234 void SX126xWriteRegister( uint16_t address, uint8_t value ) in SX126xWriteRegister() argument
236 SX126xWriteRegisters( address, &value, 1 ); in SX126xWriteRegister()
239 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xReadRegisters() argument
246 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xReadRegisters()
247 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xReadRegisters()
258 uint8_t SX126xReadRegister( uint16_t address ) in SX126xReadRegister() argument
261 SX126xReadRegisters( address, &data, 1 ); in SX126xReadRegister()
Dsx1262mbxcas-board.c214 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xWriteRegisters() argument
221 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xWriteRegisters()
222 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xWriteRegisters()
234 void SX126xWriteRegister( uint16_t address, uint8_t value ) in SX126xWriteRegister() argument
236 SX126xWriteRegisters( address, &value, 1 ); in SX126xWriteRegister()
239 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xReadRegisters() argument
246 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xReadRegisters()
247 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xReadRegisters()
258 uint8_t SX126xReadRegister( uint16_t address ) in SX126xReadRegister() argument
261 SX126xReadRegisters( address, &data, 1 ); in SX126xReadRegister()
Dsx1262mbxdas-board.c221 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xWriteRegisters() argument
228 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xWriteRegisters()
229 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xWriteRegisters()
241 void SX126xWriteRegister( uint16_t address, uint8_t value ) in SX126xWriteRegister() argument
243 SX126xWriteRegisters( address, &value, 1 ); in SX126xWriteRegister()
246 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size ) in SX126xReadRegisters() argument
253 SpiInOut( &SX126x.Spi, ( address & 0xFF00 ) >> 8 ); in SX126xReadRegisters()
254 SpiInOut( &SX126x.Spi, address & 0x00FF ); in SX126xReadRegisters()
265 uint8_t SX126xReadRegister( uint16_t address ) in SX126xReadRegister() argument
268 SX126xReadRegisters( address, &data, 1 ); in SX126xReadRegister()
DsysIrqHandlers.c86 uint32_t address = FLASH_BASE; in HardFault_Handler() local
93 if( ( *( __IO uint32_t* )address == 0x0 ) && ( *( __IO uint32_t* )( address + 4 ) == 0x0 ) ) in HardFault_Handler()
102 …*( __IO uint32_t* )( sram2address + ( element * 4 ) ) = *( __IO uint32_t* )( address + ( element *… in HardFault_Handler()
155 …*( __IO uint32_t* )( address + ( element * 4 ) ) = *( __IO uint32_t* )( sram2address + ( element *… in HardFault_Handler()
/loramac-node-3.4.0/src/mac/
DLoRaMacCrypto.c132 …dEncrypt( uint8_t* buffer, int16_t size, KeyIdentifier_t keyID, uint32_t address, uint8_t dir, uin… in PayloadEncrypt() argument
148 aBlock[6] = address & 0xFF; in PayloadEncrypt()
149 aBlock[7] = ( address >> 8 ) & 0xFF; in PayloadEncrypt()
150 aBlock[8] = ( address >> 16 ) & 0xFF; in PayloadEncrypt()
151 aBlock[9] = ( address >> 24 ) & 0xFF; in PayloadEncrypt()
190 static LoRaMacCryptoStatus_t FOptsEncrypt( uint16_t size, uint32_t address, uint8_t dir, FCntIdenti… in FOptsEncrypt() argument
230 aBlock[6] = address & 0xFF; in FOptsEncrypt()
231 aBlock[7] = ( address >> 8 ) & 0xFF; in FOptsEncrypt()
232 aBlock[8] = ( address >> 16 ) & 0xFF; in FOptsEncrypt()
233 aBlock[9] = ( address >> 24 ) & 0xFF; in FOptsEncrypt()
[all …]
DLoRaMacClassB.c126 static void ComputePingOffset( uint64_t beaconTime, uint32_t address, uint16_t pingPeriod, uint16_t… in ComputePingOffset() argument
144 buffer[4] = ( address ) & 0xFF; in ComputePingOffset()
145 buffer[5] = ( address >> 8 ) & 0xFF; in ComputePingOffset()
146 buffer[6] = ( address >> 16 ) & 0xFF; in ComputePingOffset()
147 buffer[7] = ( address >> 24 ) & 0xFF; in ComputePingOffset()
568 uint32_t address, uint8_t fPendingSet, uint8_t isMulticast ) in CheckSlotPriority() argument
598 if( currentAddress < address ) in CheckSlotPriority()
1808 void LoRaMacClassBSetFPendingBit( uint32_t address, uint8_t fPendingSet ) in LoRaMacClassBSetFPendingBit() argument
1813 if( address == *Ctx.LoRaMacClassBParams.LoRaMacDevAddr ) in LoRaMacClassBSetFPendingBit()
1825 if( address == cur->ChannelParams.Address ) in LoRaMacClassBSetFPendingBit()
DLoRaMacCrypto.h294 LoRaMacCryptoStatus_t LoRaMacCryptoUnsecureMessage( AddressIdentifier_t addrID, uint32_t address, F…
DLoRaMacClassB.h533 void LoRaMacClassBSetFPendingBit( uint32_t address, uint8_t fPendingSet );
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/dmac/
Dhpl_dmac.c181 uint32_t address = hri_dmacdescriptor_read_DSTADDR_reg(&_descriptor_section[channel]); in _dma_set_data_amount() local
185 …hri_dmacdescriptor_write_DSTADDR_reg(&_descriptor_section[channel], address + amount * (1 << beat_… in _dma_set_data_amount()
188 address = hri_dmacdescriptor_read_SRCADDR_reg(&_descriptor_section[channel]); in _dma_set_data_amount()
191 …hri_dmacdescriptor_write_SRCADDR_reg(&_descriptor_section[channel], address + amount * (1 << beat_… in _dma_set_data_amount()
/loramac-node-3.4.0/src/boards/
Dsx126x-board.h110 void SX126xWriteRegister( uint16_t address, uint8_t value );
119 uint8_t SX126xReadRegister( uint16_t address );
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_flash_ex.c190 uint32_t address = 0U; in HAL_FLASHEx_Erase() local
210 for(address = pEraseInit->PageAddress; in HAL_FLASHEx_Erase()
211 address < ((pEraseInit->NbPages * FLASH_PAGE_SIZE) + pEraseInit->PageAddress); in HAL_FLASHEx_Erase()
212 address += FLASH_PAGE_SIZE) in HAL_FLASHEx_Erase()
214 FLASH_PageErase(address); in HAL_FLASHEx_Erase()
226 *PageError = address; in HAL_FLASHEx_Erase()
Dstm32l0xx_hal_pcd.c668 HAL_StatusTypeDef HAL_PCD_SetAddress(PCD_HandleTypeDef *hpcd, uint8_t address) in HAL_PCD_SetAddress() argument
672 if(address == 0U) in HAL_PCD_SetAddress()
679 hpcd->USB_Address = address; in HAL_PCD_SetAddress()
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/include/
Dhpl_i2c_s_sync.h131 int32_t _i2c_s_sync_set_address(struct _i2c_s_sync_device *const device, const uint16_t address);
Dhpl_i2c_s_async.h152 int32_t _i2c_s_async_set_address(struct _i2c_s_async_device *const device, const uint16_t address);
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_flash_ex.c206 uint32_t address = 0U; in HAL_FLASHEx_Erase() local
256 for(address = pEraseInit->PageAddress; in HAL_FLASHEx_Erase()
257 address < ((pEraseInit->NbPages * FLASH_PAGE_SIZE) + pEraseInit->PageAddress); in HAL_FLASHEx_Erase()
258 address += FLASH_PAGE_SIZE) in HAL_FLASHEx_Erase()
260 FLASH_PageErase(address); in HAL_FLASHEx_Erase()
272 *PageError = address; in HAL_FLASHEx_Erase()
Dstm32l1xx_hal_pcd.c907 HAL_StatusTypeDef HAL_PCD_SetAddress(PCD_HandleTypeDef *hpcd, uint8_t address) in HAL_PCD_SetAddress() argument
911 if(address == 0) in HAL_PCD_SetAddress()
918 hpcd->USB_Address = address; in HAL_PCD_SetAddress()
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c1635 static int32_t _i2c_s_set_address(void *const hw, const uint16_t address);
1644 hri_sercomi2cs_addr_reg_t address; member
1797 int32_t _i2c_s_sync_set_address(struct _i2c_s_sync_device *const device, const uint16_t address) in _i2c_s_sync_set_address() argument
1799 return _i2c_s_set_address(device->hw, address); in _i2c_s_sync_set_address()
1805 int32_t _i2c_s_async_set_address(struct _i2c_s_async_device *const device, const uint16_t address) in _i2c_s_async_set_address() argument
1807 return _i2c_s_set_address(device->hw, address); in _i2c_s_async_set_address()
1916 hri_sercomi2cs_write_ADDR_reg(hw, _i2css[i].address); in _i2c_s_init()
1960 static int32_t _i2c_s_set_address(void *const hw, const uint16_t address) in _i2c_s_set_address() argument
1968 hri_sercomi2cs_write_ADDR_ADDR_bf(hw, address); in _i2c_s_set_address()
/loramac-node-3.4.0/src/radio/sx126x/
Dsx126x.h976 void SX126xWriteRegisters( uint16_t address, uint8_t *buffer, uint16_t size );
985 void SX126xReadRegisters( uint16_t address, uint8_t *buffer, uint16_t size );
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_ll_usb.h527 HAL_StatusTypeDef USB_SetDevAddress(USB_OTG_GlobalTypeDef *USBx, uint8_t address);
580 HAL_StatusTypeDef USB_SetDevAddress(USB_TypeDef *USBx, uint8_t address);

12