#include "peripheral.h"
Include dependency graph for Esp32/Core/pins_arduino.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Macros | |
| #define | EXTERNAL_NUM_INTERRUPTS 16 |
| #define | NUM_DIGITAL_PINS 40 |
| #define | NUM_ANALOG_INPUTS 16 |
| #define | analogInputToDigitalPin(p) (((p) < 20) ? (esp32_adc2gpio[(p)]) : -1) |
| #define | digitalPinToInterrupt(p) (((p) < 40) ? (p) : -1) |
| #define | digitalPinHasPWM(p) (p < 34) |
| #define | GPIO_REG_TYPE uint32_t |
| #define | digitalPinToPort(pin) (0) |
| #define | digitalPinToBitMask(pin) (1UL << (pin)) |
| #define | digitalPinToTimer(pin) (NOT_ON_TIMER) |
| #define | portOutputRegister(port) ((volatile uint32_t*)&GPO) |
| #define | portInputRegister(port) ((volatile uint32_t*)&GPI) |
Variables | |
| constexpr uint8_t | A0 {36} |
Macro Definition Documentation
◆ analogInputToDigitalPin
| #define analogInputToDigitalPin | ( | p | ) | (((p) < 20) ? (esp32_adc2gpio[(p)]) : -1) |
◆ digitalPinHasPWM
| #define digitalPinHasPWM | ( | p | ) | (p < 34) |
◆ digitalPinToBitMask
| #define digitalPinToBitMask | ( | pin | ) | (1UL << (pin)) |
◆ digitalPinToInterrupt
| #define digitalPinToInterrupt | ( | p | ) | (((p) < 40) ? (p) : -1) |
◆ digitalPinToPort
| #define digitalPinToPort | ( | pin | ) | (0) |
◆ digitalPinToTimer
| #define digitalPinToTimer | ( | pin | ) | (NOT_ON_TIMER) |
◆ EXTERNAL_NUM_INTERRUPTS
| #define EXTERNAL_NUM_INTERRUPTS 16 |
◆ GPIO_REG_TYPE
| #define GPIO_REG_TYPE uint32_t |
◆ NUM_ANALOG_INPUTS
| #define NUM_ANALOG_INPUTS 16 |
◆ NUM_DIGITAL_PINS
| #define NUM_DIGITAL_PINS 40 |
◆ portInputRegister
| #define portInputRegister | ( | port | ) | ((volatile uint32_t*)&GPI) |
◆ portOutputRegister
| #define portOutputRegister | ( | port | ) | ((volatile uint32_t*)&GPO) |
Variable Documentation
◆ A0
|
constexpr |
1.8.17