Esp8266/Core/pins_arduino.h File Reference
#include "esp8266_peri.h"
Include dependency graph for Esp8266/Core/pins_arduino.h:

Go to the source code of this file.

Macros

#define NOT_A_PIN   0
 
#define NOT_A_PORT   0
 
#define NOT_ON_TIMER   0
 
#define PA   1
 
#define PB   2
 
#define PC   3
 
#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)
 
#define portModeRegister(port)   ((volatile uint32_t*)&GPE)
 

Variables

const unsigned int A0
 

Macro Definition Documentation

◆ digitalPinToBitMask

#define digitalPinToBitMask (   pin)    (1UL << (pin))

◆ digitalPinToPort

#define digitalPinToPort (   pin)    (0)

◆ digitalPinToTimer

#define digitalPinToTimer (   pin)    (NOT_ON_TIMER)

◆ GPIO_REG_TYPE

#define GPIO_REG_TYPE   uint32_t

◆ NOT_A_PIN

#define NOT_A_PIN   0

◆ NOT_A_PORT

#define NOT_A_PORT   0

◆ NOT_ON_TIMER

#define NOT_ON_TIMER   0

◆ PA

#define PA   1

◆ PB

#define PB   2

◆ PC

#define PC   3

◆ portInputRegister

#define portInputRegister (   port)    ((volatile uint32_t*)&GPI)

◆ portModeRegister

#define portModeRegister (   port)    ((volatile uint32_t*)&GPE)

◆ portOutputRegister

#define portOutputRegister (   port)    ((volatile uint32_t*)&GPO)

Variable Documentation

◆ A0

const unsigned int A0