SPI_Basic_read_block

Read a buffer over SPI SPI_Basic. Blocks if using polled driver.

void SPI_Basic_read_block(
    void * block,
    uint8_t size
)

Zeros are transmitted out of the SPI.

Parameters

block

Type: void *

Received data is written here.

size

Type: uint8_t

The size of buffer to transfer

Returns

Type: void

Nothing.