PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
#include <PropWare/PropWare.h>
#include <PropWare/hmi/output/printer.h>
#include <PropWare/gpio/simpleport.h>
#include <PropWare/sensor/analog/mcp3xxx.h>
Go to the source code of this file.
Functions | |
int | main () |
Variables | |
static const MCP3xxx::PartNumber | PART_NUMBER = MCP3xxx::PartNumber::MCP300x |
static const MCP3xxx::Channel | CHANNEL = MCP3xxx::Channel::CHANNEL_1 |
static const Port::Mask | MOSI = Port::Mask::P0 |
static const Port::Mask | MISO = Port::Mask::P1 |
static const Port::Mask | SCLK = Port::Mask::P2 |
static const Port::Mask | CS = Port::Mask::P3 |
Definition in file MCP3xxx_Demo.cpp.
|
static |
Pin number for chip select
Definition at line 48 of file MCP3xxx_Demo.cpp.
|
static |
Pin number for MISO (master in - slave out)
Definition at line 44 of file MCP3xxx_Demo.cpp.
|
static |
Pin number for MOSI (master out - slave in)
Definition at line 42 of file MCP3xxx_Demo.cpp.
|
static |
Used for determining the bit-width of the ADC channel (10, 12, or 13 bit)
Definition at line 38 of file MCP3xxx_Demo.cpp.
|
static |
Pin number for the clock signal
Definition at line 46 of file MCP3xxx_Demo.cpp.