| /loramac-node-latest/src/radio/sx126x/ |
| D | sx126x.c | 177 uint8_t buf[2]; in SX126xSetCrcSeed() local 179 buf[0] = ( uint8_t )( ( seed >> 8 ) & 0xFF ); in SX126xSetCrcSeed() 180 buf[1] = ( uint8_t )( seed & 0xFF ); in SX126xSetCrcSeed() 185 SX126xWriteRegisters( REG_LR_CRCSEEDBASEADDR, buf, 2 ); in SX126xSetCrcSeed() 195 uint8_t buf[2]; in SX126xSetCrcPolynomial() local 197 buf[0] = ( uint8_t )( ( polynomial >> 8 ) & 0xFF ); in SX126xSetCrcPolynomial() 198 buf[1] = ( uint8_t )( polynomial & 0xFF ); in SX126xSetCrcPolynomial() 203 SX126xWriteRegisters( REG_LR_CRCPOLYBASEADDR, buf, 2 ); in SX126xSetCrcPolynomial() 292 uint8_t buf[3]; in SX126xSetTx() local 296 buf[0] = ( uint8_t )( ( timeout >> 16 ) & 0xFF ); in SX126xSetTx() [all …]
|
| /loramac-node-latest/src/boards/mcu/saml21/hal/src/ |
| D | hal_io.c | 60 int32_t io_write(struct io_descriptor *const io_descr, const uint8_t *const buf, const uint16_t len… in io_write() argument 62 ASSERT(io_descr && buf); in io_write() 63 return io_descr->write(io_descr, buf, length); in io_write() 69 int32_t io_read(struct io_descriptor *const io_descr, uint8_t *const buf, const uint16_t length) in io_read() argument 71 ASSERT(io_descr && buf); in io_read() 72 return io_descr->read(io_descr, buf, length); in io_read()
|
| D | hal_usart_sync.c | 53 static int32_t usart_sync_write(struct io_descriptor *const io_descr, const uint8_t *const buf, con… 54 static int32_t usart_sync_read(struct io_descriptor *const io_descr, uint8_t *const buf, const uint… 246 static int32_t usart_sync_write(struct io_descriptor *const io_descr, const uint8_t *const buf, con… in usart_sync_write() argument 251 ASSERT(io_descr && buf && length); in usart_sync_write() 255 _usart_sync_write_byte(&descr->device, buf[offset]); in usart_sync_write() 272 static int32_t usart_sync_read(struct io_descriptor *const io_descr, uint8_t *const buf, const uint… in usart_sync_read() argument 277 ASSERT(io_descr && buf && length); in usart_sync_read() 281 buf[offset] = _usart_sync_read_byte(&descr->device); in usart_sync_read()
|
| D | hal_spi_m_sync.c | 59 static int32_t _spi_m_sync_io_write(struct io_descriptor *const io, const uint8_t *const buf, const… 60 static int32_t _spi_m_sync_io_read(struct io_descriptor *const io, uint8_t *const buf, const uint16… 143 static int32_t _spi_m_sync_io_read(struct io_descriptor *io, uint8_t *buf, const uint16_t length) in _spi_m_sync_io_read() argument 150 xfer.rxbuf = buf; in _spi_m_sync_io_read() 171 static int32_t _spi_m_sync_io_write(struct io_descriptor *const io, const uint8_t *const buf, const… in _spi_m_sync_io_write() argument 179 xfer.txbuf = (uint8_t *)buf; in _spi_m_sync_io_write()
|
| D | hal_i2c_m_sync.c | 45 static int32_t i2c_m_sync_read(struct io_descriptor *io, uint8_t *buf, const uint16_t n) in i2c_m_sync_read() argument 54 msg.buffer = buf; in i2c_m_sync_read() 68 static int32_t i2c_m_sync_write(struct io_descriptor *io, const uint8_t *buf, const uint16_t n) in i2c_m_sync_write() argument 77 msg.buffer = (uint8_t *)buf; in i2c_m_sync_write()
|
| /loramac-node-latest/src/boards/mcu/saml21/hal/include/ |
| D | hal_io.h | 69 typedef int32_t (*io_write_t)(struct io_descriptor *const io_descr, const uint8_t *const buf, const… 74 typedef int32_t (*io_read_t)(struct io_descriptor *const io_descr, uint8_t *const buf, const uint16… 96 int32_t io_write(struct io_descriptor *const io_descr, const uint8_t *const buf, const uint16_t len… 114 int32_t io_read(struct io_descriptor *const io_descr, uint8_t *const buf, const uint16_t length);
|
| /loramac-node-latest/src/boards/mcu/saml21/hpl/systick/ |
| D | hpl_systick.c | 99 uint32_t buf = cycles; in _delay_cycles() local 106 buf -= 0xFFFFFF; in _delay_cycles() 109 SysTick->LOAD = buf; in _delay_cycles() 110 SysTick->VAL = buf; in _delay_cycles()
|
| /loramac-node-latest/src/boards/SAMR34/ |
| D | board.c | 147 int _write( int fd, const void *buf, size_t count ) in _write() argument 149 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 156 int _read( int fd, const void *buf, size_t count ) in _read() argument 159 while( UartGetBuffer( &Uart1, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read() 161 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
|
| /loramac-node-latest/src/boards/B-L072Z-LRWAN1/ |
| D | board.c | 381 int _write( int fd, const void *buf, size_t count ) in _write() argument 383 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 390 int _read( int fd, const void *buf, size_t count ) in _read() argument 393 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read() 395 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
|
| /loramac-node-latest/src/boards/SKiM881AXL/ |
| D | board.c | 480 int _write( int fd, const void *buf, size_t count ) in _write() argument 482 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 489 int _read( int fd, const void *buf, size_t count ) in _read() argument 492 while( UartGetBuffer( &Uart1, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read() 494 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
|
| /loramac-node-latest/src/boards/NucleoL152/ |
| D | board.c | 514 int _write( int fd, const void *buf, size_t count ) in _write() argument 516 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 523 int _read( int fd, const void *buf, size_t count ) in _read() argument 526 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read() 528 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
|
| /loramac-node-latest/src/boards/NucleoL073/ |
| D | board.c | 514 int _write( int fd, const void *buf, size_t count ) in _write() argument 516 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 523 int _read( int fd, const void *buf, size_t count ) in _read() argument 526 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read() 528 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
|
| /loramac-node-latest/src/boards/SKiM980A/ |
| D | board.c | 507 int _write( int fd, const void *buf, size_t count ) in _write() argument 509 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 516 int _read( int fd, const void *buf, size_t count ) in _read() argument 519 while( UartGetBuffer( &Uart1, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read() 521 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
|
| /loramac-node-latest/src/boards/SKiM880B/ |
| D | board.c | 507 int _write( int fd, const void *buf, size_t count ) in _write() argument 509 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 516 int _read( int fd, const void *buf, size_t count ) in _read() argument 519 while( UartGetBuffer( &Uart1, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read() 521 while( UartPutBuffer( &Uart1, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
|
| /loramac-node-latest/src/boards/NucleoL476/ |
| D | board.c | 614 int _write( int fd, const void *buf, size_t count ) in _write() argument 616 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 623 int _read( int fd, const void *buf, size_t count ) in _read() argument 626 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read() 628 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
|
| /loramac-node-latest/src/boards/NAMote72/ |
| D | board.c | 601 int _write( int fd, const void *buf, size_t count ) in _write() argument 603 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )count ) != 0 ){ }; in _write() 610 int _read( int fd, const void *buf, size_t count ) in _read() argument 613 while( UartGetBuffer( &Uart2, ( uint8_t* )buf, count, ( uint16_t* )&bytesRead ) != 0 ){ }; in _read() 615 while( UartPutBuffer( &Uart2, ( uint8_t* )buf, ( uint16_t )bytesRead ) != 0 ){ }; in _read()
|
| /loramac-node-latest/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Src/ |
| D | usbd_ctlreq.c | 100 static uint8_t USBD_GetLen(uint8_t *buf); 756 static uint8_t USBD_GetLen(uint8_t *buf) in USBD_GetLen() argument 760 while (*buf != '\0') in USBD_GetLen() 763 buf++; in USBD_GetLen()
|
| /loramac-node-latest/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Inc/ |
| D | usbd_ioreq.h | 89 uint8_t *buf,
|