|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for devices that can connect to the SPI. Rather than communicating over the MISO, MOSI pins, the process is expedited and simplified through the use of the transmitFrame() and receiveFrame() methods in the intefact.
Method Summary | |
void |
connect(SPIDevice d)
The connect() method connects this SPI device to the specified SPIDevice. |
void |
receiveFrame(SPI.Frame frame)
Receive a frame. |
SPI.Frame |
transmitFrame()
Transmit a frame from this device. |
Method Detail |
public SPI.Frame transmitFrame()
public void receiveFrame(SPI.Frame frame)
frame
- the frame to be receivedpublic void connect(SPIDevice d)
connect()
method connects this SPI device to the specified SPIDevice.
d
- the device to connect to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |