.. _program_listing_file_include_iplo_iplo.hh: Program Listing for File iplo.hh ================================ |exhale_lsh| :ref:`Return to documentation for file ` (``include/iplo/iplo.hh``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef HIVLE_IPLO_HH #define HIVLE_IPLO_HH #include namespace iplo { enum PinMode : std::uint8_t { INPUT = 0x0, OUTPUT = 0x1, INPUT_PULLUP = 0x2, }; enum PinState : std::uint8_t { HIGH = 1, LOW = 0, }; enum MCP230XXStatus : std::uint8_t { OK = 0x01, PIN_ERROR = 0x81, I2C_ERROR = 0x82, VALUE_ERROR = 0x83, PORT_ERROR = 0x84, INVALID_READ = 0x99, }; } // namespace iplo #endif /* HIVLE_IPLO_HH */