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

Transfer a buffer of bytes to a SPI slave device.

Parameters
void *buf

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

uint32_t len

The length of the buf in bytes.

Note

The bytes received over MISO will replace the contents of buf as the bytes are sent over MOSI.