Module: spi

Module for SPI master, and after implemented, SPI slave interfaces
Source:

Classes

SPI

Type Definitions

SPITransferCallback(errnullable, dataopt)

Callback which is called when a transfer completed.
Parameters:
Name Type Attributes Description
err Error <nullable>
optional error. If not null, the next parameters are not set
data Buffer <optional>
received from slave. Is of same length as the data sent to the slave
Source: