#include "WVariant.h"
#define ADC_RESOLUTION 12 |
#define analogInputToDigitalPin | ( | p | ) | ((p < 6u) ? (p) + 24u : -1) |
#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 LED_BUILTIN PIN_LED_13 |
#define NUM_ANALOG_INPUTS (0u) |
#define NUM_ANALOG_OUTPUTS (0u) |
#define NUM_DIGITAL_PINS (48u) |
#define PAD_SERIAL1_RX (SERCOM_RX_PAD_0) |
#define PAD_SERIAL1_TX (UART_TX_PAD_2) |
#define PAD_SERIAL2_RX (SERCOM_RX_PAD_0) |
#define PAD_SERIAL2_TX (UART_TX_PAD_2) |
#define PAD_SERIAL3_RX (SERCOM_RX_PAD_0) |
#define PAD_SERIAL3_TX (UART_TX_PAD_2) |
#define PAD_SERIAL4_RX (SERCOM_RX_PAD_0) |
#define PAD_SERIAL4_TX (UART_TX_PAD_2) |
#define PAD_SPI1_RX SERCOM_RX_PAD_0 |
#define PAD_SPI1_TX SPI_PAD_2_SCK_3 |
#define PAD_SPI2_RX SERCOM_RX_PAD_0 |
#define PAD_SPI2_TX SPI_PAD_2_SCK_3 |
#define PAD_SPI3_RX SERCOM_RX_PAD_0 |
#define PAD_SPI3_TX SPI_PAD_2_SCK_3 |
#define PAD_SPI_RX SERCOM_RX_PAD_0 |
#define PAD_SPI_TX SPI_PAD_2_SCK_3 |
#define PERIPH_SPI sercom4 |
#define PERIPH_SPI1 sercom0 |
#define PERIPH_SPI2 sercom1 |
#define PERIPH_SPI3 sercom2 |
#define PERIPH_WIRE sercom3 |
#define PIN_A0 (14ul) |
#define PIN_A1 (15ul) |
#define PIN_A2 (16ul) |
#define PIN_A3 (17ul) |
#define PIN_A4 (18ul) |
#define PIN_A5 (19ul) |
#define PIN_ATN (38ul) |
#define PIN_DAC0 (14ul) |
#define PIN_LED PIN_LED_13 |
#define PIN_LED2 PIN_LED_RXL |
#define PIN_LED3 PIN_LED_TXL |
#define PIN_LED_13 (13u) |
#define PIN_SERIAL1_RX (41u) |
#define PIN_SERIAL1_TX (46u) |
#define PIN_SERIAL2_RX (4ul) |
#define PIN_SERIAL2_TX (11ul) |
#define PIN_SERIAL3_RX (6ul) |
#define PIN_SERIAL3_TX (1ul) |
#define PIN_SERIAL4_RX (43ul) |
#define PIN_SERIAL4_TX (36ul) |
#define PIN_SPI1_MISO (4u) |
#define PIN_SPI1_MOSI (11u) |
#define PIN_SPI1_SCK (10u) |
#define PIN_SPI2_MISO (6u) |
#define PIN_SPI2_MOSI (1u) |
#define PIN_SPI2_SCK (7u) |
#define PIN_SPI3_MISO (43u) |
#define PIN_SPI3_MOSI (36u) |
#define PIN_SPI3_SCK (37u) |
#define PIN_SPI_MISO (41u) |
#define PIN_SPI_MOSI (46u) |
#define PIN_SPI_SCK (40u) |
#define PIN_USB_DM (33ul) |
#define PIN_USB_DP (34ul) |
#define PIN_USB_HOST_ENABLE (32ul) |
#define PIN_WIRE_SCL (17u) |
#define PIN_WIRE_SDA (16u) |
#define PINS_COUNT (48u) |
#define portInputRegister | ( | port | ) | ( &(port->IN.reg) ) |
#define portModeRegister | ( | port | ) | ( &(port->DIR.reg) ) |
#define portOutputRegister | ( | port | ) | ( &(port->OUT.reg) ) |
#define SERIAL_PORT_MONITOR Serial |
#define SERIAL_PORT_USBVIRTUAL Serial |
#define SPI_INTERFACES_COUNT 4 |
#define TGZ_NB_COL 6 |
#define TGZ_NB_LIG 8 |
#define VARIANT_MAINOSC (32768ul) |
Frequency of the board main oscillator
#define VARIANT_MCK (48000000ul) |
Master clock frequency
#define WIRE_INTERFACES_COUNT 1 |
#define WIRE_IT_HANDLER SERCOM3_Handler |