eBoard ①⑧⑨
Written for SIA 2017/2018
eagle_impl::SPIClass Struct Reference

[SPI] This is used to avoid path resolving issues and defines the common known Arduino SPI interface
        Don't use manually More...

#include <eagle_SPI.h>

Static Public Member Functions

static byte transfer (byte data)
 this will send a single bite via the SPI connection More...
 
static void attachInterrupt (void)
 enables the interrupt feature More...
 
static void detachInterrupt (void)
 disables the interrupt feature More...
 
static void begin (void)
 this will setup everything for SPI connection More...
 
static void end (void)
 this will end the SPI connection More...
 
static void setBitOrder (uint8_t bitOrder)
 this will set the BitOrder More...
 
static void setDataMode (uint8_t mode)
 this will set the Data transfer mode More...
 
static void setClockDivider (uint8_t rate)
 this will change the clock devider the More...
 

Detailed Description

[SPI] This is used to avoid path resolving issues and defines the common known Arduino SPI interface
        Don't use manually

Author
Christian Maglie
Note
for meanings of dividers and modes etc... look here: https://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus
this code was documented and modified by EagleoutIce in 2018 for custom use!

Definition at line 71 of file eagle_SPI.h.

Member Function Documentation

◆ attachInterrupt()

static void eagle_impl::SPIClass::attachInterrupt ( void  )
inlinestatic

enables the interrupt feature

◆ begin()

static void eagle_impl::SPIClass::begin ( void  )
static

this will setup everything for SPI connection

◆ detachInterrupt()

static void eagle_impl::SPIClass::detachInterrupt ( void  )
inlinestatic

disables the interrupt feature

◆ end()

static void eagle_impl::SPIClass::end ( void  )
inlinestatic

this will end the SPI connection

◆ setBitOrder()

static void eagle_impl::SPIClass::setBitOrder ( uint8_t  bitOrder)
inlinestatic

this will set the BitOrder

Parameters
bitOrderLSBFIRST or MSBFIRST

◆ setClockDivider()

static void eagle_impl::SPIClass::setClockDivider ( uint8_t  rate)
inlinestatic

this will change the clock devider the

Parameters
ratethe rate the connection is running on – shouldn't be changed

◆ setDataMode()

static void eagle_impl::SPIClass::setDataMode ( uint8_t  mode)
inlinestatic

this will set the Data transfer mode

Parameters
modethe mode – shouldn't be changed

◆ transfer()

static byte eagle_impl::SPIClass::transfer ( byte  data)
inlinestatic

this will send a single bite via the SPI connection

Parameters
datathe byte to send
Returns
the received byte

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