.. _program_listing_file_include_mcp3002_mcp3002.hh: Program Listing for File mcp3002.hh =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``include/mcp3002/mcp3002.hh``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef IPLO_MCP3002_HH #define IPLO_MCP3002_HH #include "mcp3x0x/mcp3x0x.hh" #include "spi_bus/spi.hh" namespace iplo { class MCP3002 : public MCP3X0X { std::uint8_t buildRequest(std::uint8_t channel, bool single, std::uint8_t* data) override; public: explicit MCP3002(SPI& spi); }; } /* namespace iplo */ #endif /* IPLO_MCP3002_HH */