7#include <AH/STL/type_traits>
9#if defined(ARDUINO_API_VERSION)
24#if defined(ARDUINO_ARCH_SAM) || defined(ARDUINO_ARCH_SAMD)
55#define INPUT_PULLUP INPUT_PULLUP
72#if (defined(NOT_AN_INTERRUPT) || defined(ARDUINO_API_VERSION)) && \
73 !defined(ARDUINO_ARCH_RENESAS)
74using not_an_interrupt_t =
decltype(NOT_AN_INTERRUPT);
77 std::conditional<std::is_enum<not_an_interrupt_t>::value,
78 std::underlying_type<not_an_interrupt_t>,
79 type_identity<not_an_interrupt_t>>::type::type;
#define BEGIN_AH_NAMESPACE
constexpr PinStatus_t LOW
constexpr PinMode_t INPUT
AH::function_traits< decltype(::digitalWrite)>::argument_t< 1 > PinStatus_t
constexpr PinStatus_t HIGH
AH::function_traits< decltype(::pinMode)>::argument_t< 1 > PinMode_t
constexpr PinMode_t INPUT_PULLUP
constexpr PinMode_t OUTPUT
AH::function_traits< decltype(::digitalWrite)>::argument_t< 0 > ArduinoPin_t
pin_t pin(pin_int_t pin) const
Get the extended IO pin number of a given physical pin of this extended IO element.
A class for serial-in/parallel-out shift registers, like the 74HC595 that are connected to the SPI bu...
static constexpr auto tmp_INPUT
static constexpr auto tmp_HIGH
static constexpr auto tmp_OUTPUT
static constexpr auto tmp_LOW
static constexpr auto tmp_INPUT_PULLUP
constexpr ArduinoPin_t arduino_pin_cast(T t)
Type for storing pin numbers of Extended Input/Output elements.