23#ifndef MCP3008_H_AA185758_F169_4B8A_8158_6E4588F5B55F
24#define MCP3008_H_AA185758_F169_4B8A_8158_6E4588F5B55F
27#include <linux/spi/spidev.h>
36enum class Mode : std::uint8_t {
static const int DEFAULT_SPI_DEV
unsigned short read(const std::uint8_t channel, const Mode m=Mode::SINGLE) const
static const int DEFAULT_SPI_CHANNEL
static const int SPI_2_7V_BAUD
static const int SPI_5V_BAUD
static const int DEFAULT_SPI_BAUD
static const int DEFAULT_SPI_FLAGS