#include <WVariant.h>
Macros | |
#define | ARDUINO_SAMD_VARIANT_COMPLIANCE 10610 |
#define | VARIANT_MAINOSC (32768ul) |
#define | VARIANT_MCK (48000000ul) |
#define | PINS_COUNT (PINCOUNT_fn()) |
#define | NUM_DIGITAL_PINS (15u) |
#define | NUM_ANALOG_INPUTS (7u) |
#define | NUM_ANALOG_OUTPUTS (1u) |
#define | digitalPinToPort(P) (&(PORT->Group[g_APinDescription[P].ulPort])) |
#define | digitalPinToBitMask(P) (1 << g_APinDescription[P].ulPin) |
#define | portOutputRegister(port) (&(port->OUT.reg)) |
#define | portInputRegister(port) (&(port->IN.reg)) |
#define | portModeRegister(port) (&(port->DIR.reg)) |
#define | digitalPinHasPWM(P) (g_APinDescription[P].ulPWMChannel != NOT_ON_PWM || g_APinDescription[P].ulTCChannel != NOT_ON_TIMER) |
#define | ADC_BATTERY (32u) |
#define | PIN_LED (6u) |
#define | LED_BUILTIN PIN_LED |
#define | LORA_RESET (30u) |
#define | LORA_BOOT0 (33u) |
#define | PIN_A0 (15u) |
#define | PIN_A1 (16u) |
#define | PIN_A2 (17u) |
#define | PIN_A3 (18u) |
#define | PIN_A4 (19u) |
#define | PIN_A5 (20u) |
#define | PIN_A6 (21u) |
#define | ADC_RESOLUTION 12 |
#define | SPI_INTERFACES_COUNT 2 |
#define | PIN_SPI_MISO (10u) |
#define | PIN_SPI_MOSI (8u) |
#define | PIN_SPI_SCK (9u) |
#define | PIN_SPI_SS (4u) |
#define | PERIPH_SPI sercom1 |
#define | PAD_SPI_TX SPI_PAD_0_SCK_1 |
#define | PAD_SPI_RX SERCOM_RX_PAD_3 |
#define | PIN_SPI1_MISO (38u) |
#define | PIN_SPI1_MOSI (36u) |
#define | PIN_SPI1_SCK (37u) |
#define | LORA_IRQ_DUMB (28u) |
#define | PERIPH_SPI1 sercom4 |
#define | PAD_SPI1_TX SPI_PAD_0_SCK_1 |
#define | PAD_SPI1_RX SERCOM_RX_PAD_3 |
#define | WIRE_INTERFACES_COUNT 1 |
#define | PIN_WIRE_SDA (11u) |
#define | PIN_WIRE_SCL (12u) |
#define | PERIPH_WIRE sercom2 |
#define | WIRE_IT_HANDLER SERCOM2_Handler |
#define | PIN_USB_DM (22ul) |
#define | PIN_USB_DP (23ul) |
#define | PIN_USB_HOST_ENABLE (24ul) |
#define | I2S_INTERFACES_COUNT 1 |
#define | I2S_DEVICE 0 |
#define | I2S_CLOCK_GENERATOR 3 |
#define | PIN_I2S_SD (PIN_A6) |
#define | PIN_I2S_SCK (2u) |
#define | PIN_I2S_FS (3u) |
#define | SERIAL_PORT_USBVIRTUAL SerialUSB |
#define | SERIAL_PORT_MONITOR SerialUSB |
#define | SERIAL_PORT_HARDWARE Serial1 |
#define | SERIAL_PORT_HARDWARE_OPEN Serial1 |
#define | Serial SerialUSB |
#define | SerialLoRa Serial2 |
Fonctions | |
unsigned int | PINCOUNT_fn () |
#define ADC_BATTERY (32u) |
#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_CLOCK_GENERATOR 3 |
#define I2S_DEVICE 0 |
#define I2S_INTERFACES_COUNT 1 |
#define LED_BUILTIN PIN_LED |
#define LORA_BOOT0 (33u) |
#define LORA_IRQ_DUMB (28u) |
#define LORA_RESET (30u) |
#define NUM_ANALOG_INPUTS (7u) |
#define NUM_ANALOG_OUTPUTS (1u) |
#define NUM_DIGITAL_PINS (15u) |
#define PAD_SPI1_RX SERCOM_RX_PAD_3 |
#define PAD_SPI1_TX SPI_PAD_0_SCK_1 |
#define PAD_SPI_RX SERCOM_RX_PAD_3 |
#define PAD_SPI_TX SPI_PAD_0_SCK_1 |
#define PERIPH_SPI sercom1 |
#define PERIPH_SPI1 sercom4 |
#define PERIPH_WIRE sercom2 |
#define PIN_A0 (15u) |
#define PIN_A1 (16u) |
#define PIN_A2 (17u) |
#define PIN_A3 (18u) |
#define PIN_A4 (19u) |
#define PIN_A5 (20u) |
#define PIN_A6 (21u) |
#define PIN_I2S_FS (3u) |
#define PIN_I2S_SCK (2u) |
#define PIN_I2S_SD (PIN_A6) |
#define PIN_LED (6u) |
#define PIN_SPI1_MISO (38u) |
#define PIN_SPI1_MOSI (36u) |
#define PIN_SPI1_SCK (37u) |
#define PIN_SPI_MISO (10u) |
#define PIN_SPI_MOSI (8u) |
#define PIN_SPI_SCK (9u) |
#define PIN_SPI_SS (4u) |
#define PIN_USB_DM (22ul) |
#define PIN_USB_DP (23ul) |
#define PIN_USB_HOST_ENABLE (24ul) |
#define PIN_WIRE_SCL (12u) |
#define PIN_WIRE_SDA (11u) |
#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 SerialLoRa Serial2 |
#define SPI_INTERFACES_COUNT 2 |
#define VARIANT_MAINOSC (32768ul) |
#define VARIANT_MCK (48000000ul) |
#define WIRE_INTERFACES_COUNT 1 |
#define WIRE_IT_HANDLER SERCOM2_Handler |
unsigned int PINCOUNT_fn | ( | ) |