struct defining an SPI request. More...
#include <spi.h>
Public Types | |
| enum | Direction { MOSI = 1 , MISO = 2 , BOTH = 3 } |
Public Attributes | |
| Device * | dev |
| pointer to the calling SPI::Device instance | |
| Buffer< uint8_t > | data |
| transfer data | |
| enum SPI::Request::Direction | dir |
| direction the data should travel | |
struct defining an SPI request.
use this for transmitting data over an SPI::HW bus