23#include "periph_cpu_common.h"
33#define PM_NUM_MODES (2)
61#define ADC_INPUTCTRL_MUXPOS_PA02 ADC_INPUTCTRL_MUXPOS_AIN0
62#define ADC_INPUTCTRL_MUXPOS_PA03 ADC_INPUTCTRL_MUXPOS_AIN1
63#define ADC_INPUTCTRL_MUXPOS_PA04 ADC_INPUTCTRL_MUXPOS_AIN2
64#define ADC_INPUTCTRL_MUXPOS_PA05 ADC_INPUTCTRL_MUXPOS_AIN3
65#define ADC_INPUTCTRL_MUXPOS_PA06 ADC_INPUTCTRL_MUXPOS_AIN4
66#define ADC_INPUTCTRL_MUXPOS_PA07 ADC_INPUTCTRL_MUXPOS_AIN5
67#define ADC_INPUTCTRL_MUXPOS_PA08 ADC_INPUTCTRL_MUXPOS_AIN6
68#define ADC_INPUTCTRL_MUXPOS_PA09 ADC_INPUTCTRL_MUXPOS_AIN7
69#define ADC_INPUTCTRL_MUXPOS_PA10 ADC_INPUTCTRL_MUXPOS_AIN8
70#define ADC_INPUTCTRL_MUXPOS_PA11 ADC_INPUTCTRL_MUXPOS_AIN9
72#define ADC_INPUTCTRL_MUXNEG_PA02 ADC_INPUTCTRL_MUXPOS_AIN0
73#define ADC_INPUTCTRL_MUXNEG_PA03 ADC_INPUTCTRL_MUXPOS_AIN1
74#define ADC_INPUTCTRL_MUXNEG_PA04 ADC_INPUTCTRL_MUXPOS_AIN2
75#define ADC_INPUTCTRL_MUXNEG_PA05 ADC_INPUTCTRL_MUXPOS_AIN3
76#define ADC_INPUTCTRL_MUXNEG_PA06 ADC_INPUTCTRL_MUXPOS_AIN4
77#define ADC_INPUTCTRL_MUXNEG_PA07 ADC_INPUTCTRL_MUXPOS_AIN5
78#define ADC_INPUTCTRL_MUXNEG_PA08 ADC_INPUTCTRL_MUXPOS_AIN6
79#define ADC_INPUTCTRL_MUXNEG_PA09 ADC_INPUTCTRL_MUXPOS_AIN7
85#define DAC_RES_BITS (10)
96#define RTT_MAX_VALUE (0xffffffff)
97#define RTT_CLOCK_FREQUENCY (32768U)
98#define RTT_MIN_FREQUENCY (RTT_CLOCK_FREQUENCY / 1024U)
99#define RTT_MAX_FREQUENCY (RTT_CLOCK_FREQUENCY)
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
@ SAM0_GCLK_MAIN
48 MHz main clock
@ SAM0_GCLK_32KHZ
32 kHz clock
static const gpio_t sam0_adc_pins[1][20]
Pins that can be used for ADC input.
static const gpio_t rtc_tamper_pins[RTC_NUM_OF_TAMPERS]
RTC input pins that can be used for tamper detection and wake from Deep Sleep.
NVM User Row Mapping - Dedicated Entries Config values will be applied at power-on.
uint64_t bod33_level
BOD33 threshold level at power-on.
uint32_t secure_flash_as_size
Secure Flash (AS region) Size = AS*0x100.
uint64_t wdt_window
WDT Window at power-on.
uint32_t nonsec_b
Peripherals Non-Secure Status Fuses for Bridge B.
uint32_t data_execute_never
Data Flash is eXecute Never
uint64_t wdt_window_enable
WDT Window mode enabled on power-on
uint64_t bod33_hysteresis
BOD33 Hysteresis configuration
uint32_t reserved_6
Reserved
uint64_t bod33_action
BOD33 Action at power-on.
uint32_t reserved_4
Reserved
uint64_t wdt_period
WDT Period at power-on.
uint32_t non_secure_region_unlock
NVM Non-Secure Region UnLock Bits
uint32_t wdt_run_standby
WDT Runstdby at power-on
uint64_t reserved_2
Factory settings - do not change.
uint32_t secure_flash_data_size
Secure Data Flash Size = DS*0x100
uint64_t wdt_ewoffset
WDT Early Warning Interrupt Offset
uint32_t user_crc
CRC of NVM User Row bits 223:64 (words 2…6)
uint32_t user_row_write_enable
User Row Write Enable
uint64_t reserved_0
Factory settings - do not change.
uint32_t bod33_disable
BOD33 Disable at power-on.
uint64_t reserved_1
Factory settings - do not change.
uint32_t ram_execute_never
RAM is eXecute Never
uint32_t secure_ram_size
Secure SRAM Size = RS*0x80
uint64_t wdt_always_on
WDT Always-On at power-on.
const uint64_t bod12_calibration
Factory settings - do not change.
uint32_t nsc_size
Non-Secure Callable Flash (APPLICATION region) Size = ANSC*0x20.
uint64_t reserved_3
Factory settings - do not change.
uint32_t nonsec_a
Peripherals Non-Secure Status Fuses for Bridge A.
uint32_t nonsec_c
Peripherals Non-Secure Status Fuses for Bridge C.
uint64_t wdt_enable
WDT Enable at power-on.
uint32_t secure_region_unlock
NVM Secure Region UnLock Bits
uint32_t reserved_5
Reserved