FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
|
API to handle MicroChip ADC chip MCP3008. More...
#include "mcp3x0x.h"
Go to the source code of this file.
Namespaces | |
namespace | devices |
Defines all API for all external devices supported by FastArduino. | |
namespace | devices::mcp3x0x |
Defines the API for MicroChip ADC chips family support. | |
Typedefs | |
template<board::DigitalPin CS> | |
using | devices::mcp3x0x::MCP3008 = MCP3x0x< CS, MCP3008Channel, 0x03FF, 0 > |
Device class supporting MCP3008 ADC chip. More... | |
Enumerations | |
enum class | devices::mcp3x0x::MCP3008Channel : uint16_t { CH0 = 0x0180 , CH1 = 0x0190 , CH2 = 0x01A0 , CH3 = 0x01B0 , CH4 = 0x01C0 , CH5 = 0x01D0 , CH6 = 0x01E0 , CH7 = 0x01F0 , CH0_CH1 = 0x0100 , CH1_CH0 = 0x0110 , CH2_CH3 = 0x0120 , CH3_CH2 = 0x0130 , CH4_CH5 = 0x0140 , CH5_CH4 = 0x0150 , CH6_CH7 = 0x0160 , CH7_CH6 = 0x0170 } |
List of channels supported by MCP3008. More... | |
API to handle MicroChip ADC chip MCP3008.
Definition in file mcp3008.h.