Control Surface master
MIDI Control Surface library for Arduino
Namespaces | Typedefs | Functions | Variables
Arduino-Hardware-Types.hpp File Reference
#include <AH/Settings/Warnings.hpp>
#include <AH/Hardware/Hardware-Types.hpp>
#include <AH/Types/FunctionTraits.hpp>
#include <AH/Arduino-Wrapper.h>
+ Include dependency graph for Arduino-Hardware-Types.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  AH_pin_detail
 
namespace  AH
 PrintStream library
 

Typedefs

using ArduinoPin_t = AH::function_traits< decltype(::digitalWrite)>::argument_t< 0 >
 
using PinStatus_t = AH::function_traits< decltype(::digitalWrite)>::argument_t< 1 >
 
using PinMode_t = AH::function_traits< decltype(::pinMode)>::argument_t< 1 >
 
using BitOrder_t = uint8_t
 

Functions

template<class T >
ArduinoPin_t arduino_pin_cast (T t)
 

Variables

constexpr static auto tmp_HIGH = HIGH
 
constexpr static auto tmp_LOW = LOW
 
constexpr static auto tmp_INPUT = INPUT
 
constexpr static auto tmp_OUTPUT = OUTPUT
 
constexpr static auto tmp_INPUT_PULLUP = INPUT_PULLUP
 
constexpr PinStatus_t HIGH = AH_pin_detail::tmp_HIGH
 
constexpr PinStatus_t LOW = AH_pin_detail::tmp_LOW
 
constexpr PinMode_t INPUT = AH_pin_detail::tmp_INPUT
 
constexpr PinMode_t OUTPUT = AH_pin_detail::tmp_OUTPUT
 
constexpr PinMode_t INPUT_PULLUP = AH_pin_detail::tmp_INPUT_PULLUP
 

Typedef Documentation

◆ ArduinoPin_t

using ArduinoPin_t = AH::function_traits<decltype(::digitalWrite)>::argument_t<0>

Definition at line 23 of file Arduino-Hardware-Types.hpp.

◆ PinStatus_t

using PinStatus_t = AH::function_traits<decltype(::digitalWrite)>::argument_t<1>

Definition at line 25 of file Arduino-Hardware-Types.hpp.

◆ PinMode_t

using PinMode_t = AH::function_traits<decltype(::pinMode)>::argument_t<1>

Definition at line 27 of file Arduino-Hardware-Types.hpp.

◆ BitOrder_t

using BitOrder_t = uint8_t

Definition at line 32 of file Arduino-Hardware-Types.hpp.

Variable Documentation

◆ HIGH

constexpr PinStatus_t HIGH = AH_pin_detail::tmp_HIGH
constexpr

◆ LOW

constexpr PinStatus_t LOW = AH_pin_detail::tmp_LOW
constexpr

◆ INPUT

constexpr PinMode_t INPUT = AH_pin_detail::tmp_INPUT
constexpr
Examples
Keyboard-Matrix-BCD.ino.

Definition at line 64 of file Arduino-Hardware-Types.hpp.

◆ OUTPUT

constexpr PinMode_t OUTPUT = AH_pin_detail::tmp_OUTPUT
constexpr

◆ INPUT_PULLUP

constexpr PinMode_t INPUT_PULLUP = AH_pin_detail::tmp_INPUT_PULLUP
constexpr
Examples
2.DigitalReadSerial.ino, and MCP23017.ino.

Definition at line 66 of file Arduino-Hardware-Types.hpp.