Home
last modified time | relevance | path

Searched refs:xfer (Results 1 – 2 of 2) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/saml21/hal/src/
Dhal_spi_m_sync.c148 struct spi_xfer xfer; in _spi_m_sync_io_read() local
150 xfer.rxbuf = buf; in _spi_m_sync_io_read()
151 xfer.txbuf = 0; in _spi_m_sync_io_read()
152 xfer.size = length; in _spi_m_sync_io_read()
154 return spi_m_sync_transfer(spi, &xfer); in _spi_m_sync_io_read()
176 struct spi_xfer xfer; in _spi_m_sync_io_write() local
178 xfer.rxbuf = 0; in _spi_m_sync_io_write()
179 xfer.txbuf = (uint8_t *)buf; in _spi_m_sync_io_write()
180 xfer.size = length; in _spi_m_sync_io_write()
182 return spi_m_sync_transfer(spi, &xfer); in _spi_m_sync_io_write()
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/include/
Dhal_spi_m_sync.h193 int32_t spi_m_sync_transfer(struct spi_m_sync_descriptor *spi, const struct spi_xfer *xfer);