42#define NUM_ANALOG_REFERENCE_PINS 14
43#define NUM_ANALOG_IN_PINS 6
150#define IO_PMODA1 IO_RBPI07
151#define IO_PMODA2 IO_RBPI29
152#define IO_PMODA3 IO_RBPI27
153#define IO_PMODA4 IO_RBPI28
154#define IO_PMODA7 IO_RBPI31
155#define IO_PMODA8 IO_RBPI26
160#define PIN_CHECK(pin) \
162 if (pin >= IO_NUM_PINS) { \
163 pynq_error("pin %u is invalid, must be 0..%u-1.\n", pin, IO_NUM_PINS); \
char *const pin_names[64]
Pin names.
@ IO_LD4B
The RGB adresses for IO_LD4 and IO_LD5.
@ IO_AR0
Analog reference pins (Arduino header).
@ IO_SW0
Switch input pins.
@ IO_A0
Analog input pins (Arduino header).
@ IO_RBPI40
The RaspberryPi header-pin indexing.
@ IO_BTN0
Button input pins.