Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions | Variables
Arduino-Hardware-Types.hpp File Reference
#include <AH/Hardware/Hardware-Types.hpp>
#include <AH/Types/FunctionTraits.hpp>
#include <AH/Arduino-Wrapper.h>
#include <AH/STL/type_traits>
+ 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
 
using PinStatus_t
 
using PinMode_t = AH::function_traits<decltype(::pinMode)>::argument_t<1>
 
using BitOrder_t = uint8_t
 

Functions

template<class T >
constexpr ArduinoPin_t arduino_pin_cast (T t)
 
constexpr ArduinoPin_t arduino_pin_cast (pin_t t)
 

Variables

static constexpr auto tmp_HIGH = HIGH
 
static constexpr auto tmp_LOW = LOW
 
static constexpr auto tmp_INPUT = INPUT
 
static constexpr auto tmp_OUTPUT = OUTPUT
 
static constexpr 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
Initial value:
AH::function_traits<decltype(::digitalWrite)>::argument_t<0>

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

◆ PinStatus_t

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

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

◆ PinMode_t

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

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

◆ BitOrder_t

using BitOrder_t = uint8_t

Definition at line 27 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 59 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 61 of file Arduino-Hardware-Types.hpp.