[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>
[SPI] This is used to avoid path resolving issues and defines the common known Arduino SPI interface
Don't use manually
- Author
- Christian Maglie
- Copyright
- 2006 GNU Lesser General Public License 2.1 as published by the Free Software Foundation
- 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.
◆ 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
-
bitOrder | LSBFIRST or MSBFIRST |
◆ setClockDivider()
static void eagle_impl::SPIClass::setClockDivider |
( |
uint8_t |
rate | ) |
|
|
inlinestatic |
this will change the clock devider the
- Parameters
-
rate | the 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
-
mode | the 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
-
- Returns
- the received byte
The documentation for this struct was generated from the following file: