Rp2040/Core/pins_arduino.h File Reference

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 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 uint8_t A0 {26}
 

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

◆ 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 uint8_t A0 {26}