#include <WVariant.h>
#define ADC_RESOLUTION 12 |
#define ARDUINO_SAMD_VARIANT_COMPLIANCE 10610 |
#define digitalPinHasPWM | ( | P | ) | (g_APinDescription[P].ulPWMChannel != NOT_ON_PWM || g_APinDescription[P].ulTCChannel != NOT_ON_TIMER) |
#define digitalPinToBitMask | ( | P | ) | (1 << g_APinDescription[P].ulPin) |
#define digitalPinToPort | ( | P | ) | (&(PORT->Group[g_APinDescription[P].ulPort])) |
#define I2S_INTERFACES_COUNT 0 |
#define LED_BUILTIN PIN_LED |
#define NINA_ACK (28u) |
#define NINA_GPIO0 (26u) |
#define NINA_RESETN (27u) |
#define NUM_ANALOG_INPUTS (8u) |
#define NUM_ANALOG_OUTPUTS (1u) |
#define NUM_DIGITAL_PINS (31u) |
#define PAD_SPI1_RX SERCOM_RX_PAD_1 |
#define PAD_SPI1_TX SPI_PAD_0_SCK_3 |
#define PAD_SPI_RX SERCOM_RX_PAD_3 |
#define PAD_SPI_TX SPI_PAD_0_SCK_1 |
#define PERIPH_SPI sercom1 |
#define PERIPH_SPI1 sercom2 |
#define PERIPH_WIRE sercom4 |
#define PIN_A0 (14ul) |
#define PIN_A1 (PIN_A0 + 1) |
#define PIN_A2 (PIN_A0 + 2) |
#define PIN_A3 (PIN_A0 + 3) |
#define PIN_A4 (PIN_A0 + 4) |
#define PIN_A5 (PIN_A0 + 5) |
#define PIN_A6 (PIN_A0 + 6) |
#define PIN_A7 (PIN_A0 + 7) |
#define PIN_DAC0 (PIN_A0) |
#define PIN_LED PIN_LED_13 |
#define PIN_LED_13 (13u) |
#define PIN_SPI1_MISO (23u) |
#define PIN_SPI1_MOSI (22u) |
#define PIN_SPI1_SCK (25u) |
#define PIN_SPI1_SS (24u) |
#define PIN_SPI_MISO (12u) |
#define PIN_SPI_MOSI (11u) |
#define PIN_SPI_SCK (13u) |
#define PIN_SPI_SS (10u) |
#define PIN_USB_DM (31ul) |
#define PIN_USB_DP (32ul) |
#define PIN_WIRE_SCL (19u) |
#define PIN_WIRE_SDA (18u) |
#define PINS_COUNT (PINCOUNT_fn()) |
#define portInputRegister | ( | port | ) | (&(port->IN.reg)) |
#define portModeRegister | ( | port | ) | (&(port->DIR.reg)) |
#define portOutputRegister | ( | port | ) | (&(port->OUT.reg)) |
#define Serial SerialUSB |
#define SERIAL_PORT_HARDWARE Serial1 |
#define SERIAL_PORT_HARDWARE_OPEN Serial1 |
#define SERIAL_PORT_MONITOR SerialUSB |
#define SERIAL_PORT_USBVIRTUAL SerialUSB |
#define SerialNina Serial2 |
#define SPI_INTERFACES_COUNT 2 |
#define SPIWIFI SPI1 |
#define SPIWIFI_ACK NINA_ACK |
#define SPIWIFI_RESET NINA_RESETN |
#define SPIWIFI_SS PIN_SPI1_SS |
#define VARIANT_MAINOSC (32768ul) |
#define VARIANT_MCK (48000000ul) |
#define WIRE_INTERFACES_COUNT 1 |
#define WIRE_IT_HANDLER SERCOM4_Handler |