30 #include "periph_cpu.h"
57 #define TIMER_0_ISRA TCC1_CCA_vect
59 #define TIMER_1_ISRA TCC0_CCA_vect
60 #define TIMER_1_ISRB TCC0_CCB_vect
61 #define TIMER_1_ISRC TCC0_CCC_vect
62 #define TIMER_1_ISRD TCC0_CCD_vect
64 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
77 #ifdef MODULE_PERIPH_UART_HW_FC
88 #define UART_0_RXC_ISR USARTE0_RXC_vect
89 #define UART_0_DRE_ISR USARTE0_DRE_vect
90 #define UART_0_TXC_ISR USARTE0_TXC_vect
92 #define UART_NUMOF ARRAY_SIZE(uart_config)
110 #define I2C_0_ISR TWIC_TWIM_vect
112 #define I2C_NUMOF ARRAY_SIZE(i2c_config)
130 #define SPI_NUMOF ARRAY_SIZE(spi_config)
140 static const ebi_conf_t ebi_config = {
142 .flags = (EBI_PORT_LPC | EBI_PORT_CS2),
147 { EBI_CS_MODE_DISABLED_gc,
152 { EBI_CS_MODE_DISABLED_gc,
157 { EBI_CS_MODE_LPC_gc,
158 EBI_CS_ASIZE_256KB_gc,
162 { EBI_CS_MODE_DISABLED_gc,
175 #include "periph_conf_common.h"
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
#define PWR_RED_REG(reg, dev)
Define a CPU specific Power Reduction index macro.
@ CPU_INT_LVL_OFF
Interrupt Disabled
@ CPU_INT_LVL_LOW
Interrupt Low Level
static const uart_conf_t uart_config[]
UART configuration.
static const spi_conf_t spi_config[]
SPI configuration.
static const i2c_conf_t i2c_config[]
I2C configuration.
static const timer_conf_t timer_config[]
All timers on board.
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
Mutex for thread synchronization.
I2C configuration structure.
TWI_t * dev
Pointer to hardware module registers.
SPI device configuration.
SPI_t * dev
pointer to the used SPI device
Timer device configuration.
TC0_t * dev
Pointer to the used as Timer device.
UART device configuration.
USART_t * dev
pointer to the used UART device