Fast software SPI.
More...
#include <SoftSPI.h>
template<uint8_t MisoPin, uint8_t MosiPin, uint8_t SckPin, uint8_t Mode = 0>
class SoftSPI< MisoPin, MosiPin, SckPin, Mode >
Fast software SPI.
template<uint8_t MisoPin, uint8_t MosiPin, uint8_t SckPin, uint8_t Mode = 0>
void SoftSPI< MisoPin, MosiPin, SckPin, Mode >::begin |
( |
| ) |
|
|
inline |
template<uint8_t MisoPin, uint8_t MosiPin, uint8_t SckPin, uint8_t Mode = 0>
uint8_t SoftSPI< MisoPin, MosiPin, SckPin, Mode >::receive |
( |
| ) |
|
|
inline |
Soft SPI receive byte.
- Returns
- Data byte received.
template<uint8_t MisoPin, uint8_t MosiPin, uint8_t SckPin, uint8_t Mode = 0>
void SoftSPI< MisoPin, MosiPin, SckPin, Mode >::send |
( |
uint8_t |
data | ) |
|
|
inline |
Soft SPI send byte.
- Parameters
-
[in] | data | Data byte to send. |
template<uint8_t MisoPin, uint8_t MosiPin, uint8_t SckPin, uint8_t Mode = 0>
uint8_t SoftSPI< MisoPin, MosiPin, SckPin, Mode >::transfer |
( |
uint8_t |
txData | ) |
|
|
inline |
Soft SPI transfer byte.
- Parameters
-
[in] | txData | Data byte to send. |
- Returns
- Data byte received.
The documentation for this class was generated from the following file:
- Arduino/libraries/SdFat/src/SdSpiCard/SoftSPI.h