7#include <AH/STL/type_traits>
9#if defined(BOARD_HAS_PIN_REMAP) && !defined(BOARD_USES_HW_GPIO_NUMBERS)
11 "This library is not compatible with pin remapping. Please disable it by choosing "Tools > Pin Numbering > By GPIO number (legacy)" in the Arduino IDE. See https://github.com/espressif/arduino-esp32/issues/9150 for details"
14#if defined(ARDUINO_API_VERSION)
29#if defined(ARDUINO_ARCH_SAM) || defined(ARDUINO_ARCH_SAMD)
60#define INPUT_PULLUP INPUT_PULLUP
77#if (defined(NOT_AN_INTERRUPT) || defined(ARDUINO_API_VERSION)) && \
78 !defined(ARDUINO_ARCH_RENESAS)
79using not_an_interrupt_t =
decltype(NOT_AN_INTERRUPT);
82 std::conditional<std::is_enum<not_an_interrupt_t>::value,
83 std::underlying_type<not_an_interrupt_t>,
84 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
A class that reads and filters an analog input.
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.