29 #include "periph_cpu.h"
56 #define TIMER_0_ISRA TCC1_CCA_vect
58 #define TIMER_1_ISRA TCC0_CCA_vect
59 #define TIMER_1_ISRB TCC0_CCB_vect
60 #define TIMER_1_ISRC TCC0_CCC_vect
61 #define TIMER_1_ISRD TCC0_CCD_vect
63 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
76 #ifdef MODULE_PERIPH_UART_HW_FC
87 #define UART_0_RXC_ISR USARTE0_RXC_vect
88 #define UART_0_DRE_ISR USARTE0_DRE_vect
89 #define UART_0_TXC_ISR USARTE0_TXC_vect
91 #define UART_NUMOF ARRAY_SIZE(uart_config)
109 #define I2C_0_ISR TWIC_TWIM_vect
111 #define I2C_NUMOF ARRAY_SIZE(i2c_config)
129 #define SPI_NUMOF ARRAY_SIZE(spi_config)
139 static const ebi_conf_t ebi_config = {
141 .flags = (EBI_PORT_LPC | EBI_PORT_CS2),
146 { EBI_CS_MODE_DISABLED_gc,
151 { EBI_CS_MODE_DISABLED_gc,
156 { EBI_CS_MODE_LPC_gc,
157 EBI_CS_ASIZE_256KB_gc,
161 { EBI_CS_MODE_DISABLED_gc,
174 #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