![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| #define BM_SPI_MNGR_TRANSFER | ( | _tx_data, | |
| _tx_length, | |||
| _rx_data, | |||
| _rx_length ) |
#include <bm_spi_mngr.h>
Macro for creating a simple SPI transfer initializer.
| [in] | _tx_data | Pointer to data to send, or NULL if _tx_length is zero. |
| [in] | _tx_length | Number of bytes to send, must fit in uint8_t. |
| [in] | _rx_data | Pointer to buffer for received data, or NULL if _rx_length is zero. |
| [in] | _rx_length | Number of bytes to receive, must fit in uint8_t. |