Macros | Variables
standard/pins_arduino.h File Reference
#include <avr/pgmspace.h>
Include dependency graph for standard/pins_arduino.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define analogInputToDigitalPin(p)   ((p < 6) ? (p) + 14 : -1)
 
#define digitalPinHasPWM(p)   ((p) == 3 || (p) == 5 || (p) == 6 || (p) == 9 || (p) == 10 || (p) == 11)
 
#define digitalPinToInterrupt(p)   ((p) == 2 ? 0 : ((p) == 3 ? 1 : NOT_AN_INTERRUPT))
 
#define digitalPinToPCICR(p)   (((p) >= 0 && (p) <= 21) ? (&PCICR) : ((uint8_t *)0))
 
#define digitalPinToPCICRbit(p)   (((p) <= 7) ? 2 : (((p) <= 13) ? 0 : 1))
 
#define digitalPinToPCMSK(p)   (((p) <= 7) ? (&PCMSK2) : (((p) <= 13) ? (&PCMSK0) : (((p) <= 21) ? (&PCMSK1) : ((uint8_t *)0))))
 
#define digitalPinToPCMSKbit(p)   (((p) <= 7) ? (p) : (((p) <= 13) ? ((p) - 8) : ((p) - 14)))
 
#define LED_BUILTIN   13
 
#define NUM_ANALOG_INPUTS   6
 
#define NUM_DIGITAL_PINS   20
 
#define PIN_A0   (14)
 
#define PIN_A1   (15)
 
#define PIN_A2   (16)
 
#define PIN_A3   (17)
 
#define PIN_A4   (18)
 
#define PIN_A5   (19)
 
#define PIN_A6   (20)
 
#define PIN_A7   (21)
 
#define PIN_SPI_MISO   (12)
 
#define PIN_SPI_MOSI   (11)
 
#define PIN_SPI_SCK   (13)
 
#define PIN_SPI_SS   (10)
 
#define PIN_WIRE_SCL   (19)
 
#define PIN_WIRE_SDA   (18)
 
#define SERIAL_PORT_HARDWARE   Serial
 
#define SERIAL_PORT_MONITOR   Serial
 

Variables

static const uint8_t A0 = PIN_A0
 
static const uint8_t A1 = PIN_A1
 
static const uint8_t A2 = PIN_A2
 
static const uint8_t A3 = PIN_A3
 
static const uint8_t A4 = PIN_A4
 
static const uint8_t A5 = PIN_A5
 
static const uint8_t A6 = PIN_A6
 
static const uint8_t A7 = PIN_A7
 
static const uint8_t MISO = PIN_SPI_MISO
 
static const uint8_t MOSI = PIN_SPI_MOSI
 
static const uint8_t SCK = PIN_SPI_SCK
 
static const uint8_t SCL = PIN_WIRE_SCL
 
static const uint8_t SDA = PIN_WIRE_SDA
 
static const uint8_t SS = PIN_SPI_SS
 

Macro Definition Documentation

#define analogInputToDigitalPin (   p)    ((p < 6) ? (p) + 14 : -1)

Definition at line 30 of file standard/pins_arduino.h.

#define digitalPinHasPWM (   p)    ((p) == 3 || (p) == 5 || (p) == 6 || (p) == 9 || (p) == 10 || (p) == 11)

Definition at line 35 of file standard/pins_arduino.h.

#define digitalPinToInterrupt (   p)    ((p) == 2 ? 0 : ((p) == 3 ? 1 : NOT_AN_INTERRUPT))

Definition at line 79 of file standard/pins_arduino.h.

#define digitalPinToPCICR (   p)    (((p) >= 0 && (p) <= 21) ? (&PCICR) : ((uint8_t *)0))

Definition at line 74 of file standard/pins_arduino.h.

#define digitalPinToPCICRbit (   p)    (((p) <= 7) ? 2 : (((p) <= 13) ? 0 : 1))

Definition at line 75 of file standard/pins_arduino.h.

#define digitalPinToPCMSK (   p)    (((p) <= 7) ? (&PCMSK2) : (((p) <= 13) ? (&PCMSK0) : (((p) <= 21) ? (&PCMSK1) : ((uint8_t *)0))))

Definition at line 76 of file standard/pins_arduino.h.

#define digitalPinToPCMSKbit (   p)    (((p) <= 7) ? (p) : (((p) <= 13) ? ((p) - 8) : ((p) - 14)))

Definition at line 77 of file standard/pins_arduino.h.

#define LED_BUILTIN   13

Definition at line 54 of file standard/pins_arduino.h.

#define NUM_ANALOG_INPUTS   6

Definition at line 29 of file standard/pins_arduino.h.

#define NUM_DIGITAL_PINS   20

Definition at line 28 of file standard/pins_arduino.h.

#define PIN_A0   (14)

Definition at line 56 of file standard/pins_arduino.h.

#define PIN_A1   (15)

Definition at line 57 of file standard/pins_arduino.h.

#define PIN_A2   (16)

Definition at line 58 of file standard/pins_arduino.h.

#define PIN_A3   (17)

Definition at line 59 of file standard/pins_arduino.h.

#define PIN_A4   (18)

Definition at line 60 of file standard/pins_arduino.h.

#define PIN_A5   (19)

Definition at line 61 of file standard/pins_arduino.h.

#define PIN_A6   (20)

Definition at line 62 of file standard/pins_arduino.h.

#define PIN_A7   (21)

Definition at line 63 of file standard/pins_arduino.h.

#define PIN_SPI_MISO   (12)

Definition at line 40 of file standard/pins_arduino.h.

#define PIN_SPI_MOSI   (11)

Definition at line 39 of file standard/pins_arduino.h.

#define PIN_SPI_SCK   (13)

Definition at line 41 of file standard/pins_arduino.h.

#define PIN_SPI_SS   (10)

Definition at line 38 of file standard/pins_arduino.h.

#define PIN_WIRE_SCL   (19)

Definition at line 49 of file standard/pins_arduino.h.

#define PIN_WIRE_SDA   (18)

Definition at line 48 of file standard/pins_arduino.h.

#define SERIAL_PORT_HARDWARE   Serial

Definition at line 252 of file standard/pins_arduino.h.

#define SERIAL_PORT_MONITOR   Serial

Definition at line 251 of file standard/pins_arduino.h.

Variable Documentation

const uint8_t A0 = PIN_A0
static

Definition at line 65 of file standard/pins_arduino.h.

const uint8_t A1 = PIN_A1
static

Definition at line 66 of file standard/pins_arduino.h.

const uint8_t A2 = PIN_A2
static

Definition at line 67 of file standard/pins_arduino.h.

const uint8_t A3 = PIN_A3
static

Definition at line 68 of file standard/pins_arduino.h.

const uint8_t A4 = PIN_A4
static

Definition at line 69 of file standard/pins_arduino.h.

const uint8_t A5 = PIN_A5
static

Definition at line 70 of file standard/pins_arduino.h.

const uint8_t A6 = PIN_A6
static

Definition at line 71 of file standard/pins_arduino.h.

const uint8_t A7 = PIN_A7
static

Definition at line 72 of file standard/pins_arduino.h.

const uint8_t MISO = PIN_SPI_MISO
static

Definition at line 45 of file standard/pins_arduino.h.

const uint8_t MOSI = PIN_SPI_MOSI
static

Definition at line 44 of file standard/pins_arduino.h.

const uint8_t SCK = PIN_SPI_SCK
static

Definition at line 46 of file standard/pins_arduino.h.

const uint8_t SCL = PIN_WIRE_SCL
static

Definition at line 52 of file standard/pins_arduino.h.

const uint8_t SDA = PIN_WIRE_SDA
static

Definition at line 51 of file standard/pins_arduino.h.

const uint8_t SS = PIN_SPI_SS
static

Definition at line 43 of file standard/pins_arduino.h.



arduino_daq
Author(s):
autogenerated on Mon Jun 10 2019 12:46:03