#include "utility/template/spi.h"
void cirque_pinnacle_arduino_wrappers::SPIClass::transfer(void *tx_buf, void *rx_buf, uint32_t len);

Transfer buffers of bytes to/from a SPI slave device.

Parameters:
void *tx_buf

The pointer to a buffer of bytes to send over MOSI.

void *rx_buf

The pointer to a buffer of bytes that get received over MISO.

uint32_t len

The length of each buffer in bytes; each buffer must have equal length.