Go to the documentation of this file.
26 #include "periph_cpu_common.h"
35 #define SAM0_DFLL_FREQ_HZ MHZ(48)
40 #define SAM0_XOSC_FREQ_HZ (XOSC0_FREQUENCY ? XOSC0_FREQUENCY : XOSC1_FREQUENCY)
45 #define SAM0_DPLL_FREQ_MIN_HZ MHZ(96)
50 #define SAM0_DPLL_FREQ_MAX_HZ MHZ(20)
56 #define PM_NUM_MODES (3)
75 #define SAM0_GCLK_8MHZ SAM0_GCLK_TIMER
76 #define SAM0_GCLK_48MHZ SAM0_GCLK_PERIPH
84 #define SPI_HWCS(x) (UINT_MAX - 1)
87 #define HAVE_ADC_RES_T
102 #define DAC_RES_BITS (12)
107 #define DAC_NUMOF (2)
113 #define RTT_MAX_VALUE (0xffffffff)
114 #define RTT_CLOCK_FREQUENCY (32768U)
115 #define RTT_MIN_FREQUENCY (RTT_CLOCK_FREQUENCY / 1024U)
116 #define RTT_MAX_FREQUENCY (RTT_CLOCK_FREQUENCY)
uint32_t smart_eeprom_blocks
NVM Blocks per SmartEEPROM sector
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.
uint32_t reserved_3
Factory settings - do not change.
@ ADC_RES_6BIT
ADC resolution: 6 bit.
@ SAM0_GCLK_MAIN
48 MHz main clock
NVM User Row Mapping - Dedicated Entries Config values will be applied at power-on.
@ SAM0_GCLK_PERIPH
12-48 MHz (DFLL) clock
@ ADC_RES_14BIT
ADC resolution: 14 bit.
adc_res_t
Possible ADC resolution settings.
uint32_t bod33_level
BOD33 threshold level at power-on.
uint32_t user_page
User page
uint32_t bod33_action
BOD33 Action at power-on.
@ ADC_RES_16BIT
ADC resolution: 16 bit.
@ SAM0_GCLK_TIMER
4-8 MHz clock for xTimer
uint32_t user_pages[3]
User pages
@ ADC_RES_8BIT
ADC resolution: 8 bit.
@ SAM0_GCLK_32KHZ
32 kHz clock
uint32_t reserved_2
Factory settings - do not change.
uint32_t wdt_period
WDT Period at power-on.
uint32_t reserved_1
Factory settings - do not change.
const uint32_t bod12_calibration
Factory settings - do not change.
uint32_t wdt_window_enable
WDT Window mode enabled on power-on
uint32_t wdt_window
WDT Window at power-on.
uint32_t reserved_0
Factory settings - do not change.
uint32_t wdt_enable
WDT Enable at power-on.
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
uint32_t ram_eccdis
RAM ECC Disable
@ ADC_RES_10BIT
ADC resolution: 10 bit.
@ ADC_RES_12BIT
ADC resolution: 12 bit.
uint32_t smart_eeprom_page_size
SmartEEPROM Page Size
uint32_t nvm_boot_size
NVM Bootloader Size
uint32_t wdt_always_on
WDT Always-On at power-on.
uint32_t nvm_locks
NVM Region Lock Bits.
uint32_t bod33_disable
BOD33 Disable at power-on.
uint32_t bod33_hysteresis
BOD33 Hysteresis configuration
uint32_t wdt_ewoffset
WDT Early Warning Interrupt Offset