26 #include "periph_cpu.h"
53 #define TIMER_0_ISRA TCC1_CCA_vect
55 #define TIMER_1_ISRA TCC0_CCA_vect
56 #define TIMER_1_ISRB TCC0_CCB_vect
57 #define TIMER_1_ISRC TCC0_CCC_vect
58 #define TIMER_1_ISRD TCC0_CCD_vect
60 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
73 #ifdef MODULE_PERIPH_UART_HW_FC
86 #ifdef MODULE_PERIPH_UART_HW_FC
99 #ifdef MODULE_PERIPH_UART_HW_FC
110 #define UART_0_RXC_ISR USARTF0_RXC_vect
111 #define UART_0_DRE_ISR USARTF0_DRE_vect
112 #define UART_0_TXC_ISR USARTF0_TXC_vect
114 #define UART_1_RXC_ISR USARTD0_RXC_vect
115 #define UART_1_DRE_ISR USARTD0_DRE_vect
116 #define UART_1_TXC_ISR USARTD0_TXC_vect
118 #define UART_2_RXC_ISR USARTC0_RXC_vect
119 #define UART_2_DRE_ISR USARTC0_DRE_vect
120 #define UART_2_TXC_ISR USARTC0_TXC_vect
122 #define UART_NUMOF ARRAY_SIZE(uart_config)
148 #define I2C_0_ISR TWIF_TWIM_vect
149 #define I2C_1_ISR TWIC_TWIM_vect
151 #define I2C_NUMOF ARRAY_SIZE(i2c_config)
177 #define SPI_NUMOF ARRAY_SIZE(spi_config)
187 static const ebi_conf_t ebi_config = {
189 .flags = (EBI_PORT_SDRAM | EBI_PORT_3PORT),
196 EBI_CS_SDMODE_NORMAL_gc,
197 EBI_SDRAM_CAS_LAT_3CLK,
198 EBI_SDRAM_ROW_BITS_12,
201 EBI_ROWCYCDLY_7CLK_gc,
205 EBI_ROWCOLDLY_7CLK_gc,
207 .cs = { { EBI_CS_MODE_DISABLED_gc,
212 { EBI_CS_MODE_DISABLED_gc,
217 { EBI_CS_MODE_DISABLED_gc,
222 { EBI_CS_MODE_SDRAM_gc,
235 #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