#include "WVariant.h"
Fonctions | |
unsigned int | PINCOUNT_fn () |
#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 (5u) |
#define NUM_ANALOG_OUTPUTS (1u) |
#define NUM_DIGITAL_PINS (19u) |
#define PAD_SERIAL1_RX (SERCOM_RX_PAD_3) |
#define PAD_SERIAL1_TX (UART_TX_PAD_2) |
#define PAD_SERIAL_RX (SERCOM_RX_PAD_3) |
#define PAD_SERIAL_TX (UART_TX_PAD_2) |
#define PAD_SPI_RX SERCOM_RX_PAD_0 |
#define PAD_SPI_TX SPI_PAD_2_SCK_3 |
#define PERIPH_SPI sercom4 |
#define PERIPH_WIRE sercom3 |
#define PIN_A0 (24ul) |
#define PIN_A1 (25ul) |
#define PIN_A2 (26ul) |
#define PIN_A3 (27ul) |
#define PIN_A4 (28ul) |
#define PIN_A5 (29ul) |
#define PIN_DAC0 (24ul) |
#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_LED_RXL (30u) |
#define PIN_LED_TXL (31u) |
#define PIN_SERIAL1_RX (0ul) |
#define PIN_SERIAL1_TX (1ul) |
#define PIN_SERIAL_RX (36ul) |
#define PIN_SERIAL_TX (35ul) |
#define PIN_SPI_MISO (18u) |
#define PIN_SPI_MOSI (21u) |
#define PIN_SPI_SCK (20u) |
#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 (PINCOUNT_fn()) |
#define portInputRegister | ( | port | ) | ( &(port->IN.reg) ) |
#define portModeRegister | ( | port | ) | ( &(port->DIR.reg) ) |
#define portOutputRegister | ( | port | ) | ( &(port->OUT.reg) ) |
#define Serial5 Serial1 |
#define SERIAL_PORT_HARDWARE Serial1 |
#define SERIAL_PORT_HARDWARE_OPEN Serial1 |
#define SERIAL_PORT_MONITOR Serial |
#define SERIAL_PORT_USBVIRTUAL SerialUSB |
#define SPI_INTERFACES_COUNT 1 |
#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 |
unsigned int PINCOUNT_fn | ( | ) |