class SPIClass;
class SPIClass;
SPI.h
|
Method |
Description |
|
Initializes and sets up the SPI mode. It also initializes the status of pins. | |
|
Disables the SPI data transmission. | |
|
Sets up the order of data transmission, which can be MSBFIRST (MSB first) or LSBFIRST (LSB first). | |
|
Sets up clock divider to control the speed of data transmission. | |
|
Sets up the SPI data transmission mode. | |
|
Sends a byte of data to slave and receives a byte of data from the slave simultaneously. | |
|
Writes block memory to slave. The memory size needs to be 2^X in exponential form. |