Tool Libs
UMIT-TIROL Institute of Automation and Control Engineering library collection
 
Loading...
Searching...
No Matches
SPI::Request Struct Reference

struct defining an SPI request. More...

#include <spi.h>

Collaboration diagram for SPI::Request:
[legend]

Public Types

enum  Direction { MOSI = 1 , MISO = 2 , BOTH = 3 }
 

Public Attributes

Devicedev
 pointer to the calling SPI::Device instance
 
Buffer< uint8_t > data
 transfer data
 
enum SPI::Request::Direction dir
 direction the data should travel
 

Detailed Description

struct defining an SPI request.

use this for transmitting data over an SPI::HW bus

Member Enumeration Documentation

◆ Direction

Enumerator
MOSI 

Master out, Slave in.

MISO 

Master in, Slave out.

BOTH 

Both in, Both out.


The documentation for this struct was generated from the following file: