periph_cpu.h File Reference

CPU specific definitions for internal peripheral handling. More...

Detailed Description

CPU specific definitions for internal peripheral handling.

CPU specific definitions for internal peripheral handling

Author
Benjamin Valentin benja.nosp@m.min..nosp@m.valen.nosp@m.tin@.nosp@m.ml-pa.nosp@m..com

Definition in file periph_cpu.h.

#include <limits.h>
#include "periph_cpu_common.h"
+ Include dependency graph for periph_cpu.h:

Go to the source code of this file.

#define SAM0_DFLL_FREQ_HZ   (48000000U)
 DFLL runs at at fixed frequency of 48 MHz.
 
#define SAM0_DPLL_FREQ_MIN_HZ   (96000000U)
 DPLL must run with at least 96 MHz.
 
#define SAM0_DPLL_FREQ_MAX_HZ   (200000000U)
 DPLL frequency must not exceed 200 MHz.
 
#define SPI_HWCS(x)   (UINT_MAX - 1)
 Override SPI hardware chip select macro. More...
 
static const int8_t exti_config [4][32]
 Mapping of pins to EXTI lines, -1 means not EXTI possible. More...
 

Macro Definition Documentation

◆ SPI_HWCS

#define SPI_HWCS (   x)    (UINT_MAX - 1)

Override SPI hardware chip select macro.

As of now, we do not support HW CS, so we always set it to a fixed value

Definition at line 78 of file periph_cpu.h.

Variable Documentation

◆ exti_config

const int8_t exti_config[4][32]
static
Initial value:
= {
}

Mapping of pins to EXTI lines, -1 means not EXTI possible.

Definition at line 49 of file periph_cpu.h.