/* This file was auto-generated from wr2le.json using boardgen */ #pragma once // clang-format off // Pins // ---- #define PINS_COUNT 5 // Total GPIO count #define NUM_DIGITAL_PINS 5 // Digital inputs/outputs #define NUM_ANALOG_INPUTS 0 // ADC inputs #define NUM_ANALOG_OUTPUTS 5 // PWM & DAC outputs #define PINS_GPIO_MAX 22 // Last usable GPIO number // Pin function macros // ------------------- #define PIN_MISO0 22u // PA_22 #define PIN_MISO1 22u // PA_22 #define PIN_PA05 5u // PA_5 #define PIN_PA12 12u // PA_12 #define PIN_PA14 14u // PA_14 #define PIN_PA15 15u // PA_15 #define PIN_PA22 22u // PA_22 #define PIN_PWM0 14u // PA_14 #define PIN_PWM1 15u // PA_15 #define PIN_PWM3 12u // PA_12 #define PIN_PWM4 5u // PA_5 #define PIN_PWM5 22u // PA_22 #define PIN_RTS0 22u // PA_22 #define PIN_SCL0 22u // PA_22 // Arduino pin names // ----------------- #define PIN_D0 15u // PA_15 #define PIN_D1 14u // PA_14 #define PIN_D2 5u // PA_5 #define PIN_D3 22u // PA_22 #define PIN_D4 12u // PA_12 // Static pin names // ---------------- static const unsigned char D0 = PIN_D0; static const unsigned char D1 = PIN_D1; static const unsigned char D2 = PIN_D2; static const unsigned char D3 = PIN_D3; static const unsigned char D4 = PIN_D4;