PropWare
C++ objects and CMake build system for Parallax Propeller
|
Go to the source code of this file.
Functions | |
void | error (const PropWare::ErrorCode err, const PropWare::SPI *spi) |
int | main () |
Variables | |
const PropWare::Port::Mask | MOSI = PropWare::Port::P0 |
const PropWare::Port::Mask | MISO = PropWare::Port::P1 |
const PropWare::Port::Mask | SCLK = PropWare::Port::P2 |
const PropWare::Port::Mask | CS = PropWare::Port::P6 |
const uint32_t | FREQ = 100000 |
const PropWare::SPI::Mode | MODE = PropWare::SPI::MODE_0 |
const PropWare::SPI::BitMode | BITMODE = PropWare::SPI::MSB_FIRST |
Definition in file SPI_Demo.cpp.
const PropWare::SPI::BitMode BITMODE = PropWare::SPI::MSB_FIRST |
Determine if the LSB or MSB should be sent first for each byte
Definition at line 47 of file SPI_Demo.cpp.
const PropWare::Port::Mask CS = PropWare::Port::P6 |
const uint32_t FREQ = 100000 |
Frequency (in hertz) to run the SPI module
Definition at line 43 of file SPI_Demo.cpp.
const PropWare::Port::Mask MISO = PropWare::Port::P1 |
Pin number for MISO (master in - slave out)
Definition at line 36 of file SPI_Demo.cpp.
const PropWare::SPI::Mode MODE = PropWare::SPI::MODE_0 |
const PropWare::Port::Mask MOSI = PropWare::Port::P0 |
Pin number for MOSI (master out - slave in)
Definition at line 34 of file SPI_Demo.cpp.
const PropWare::Port::Mask SCLK = PropWare::Port::P2 |