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
89 #ifdef MODULE_PERIPH_UART_HW_FC
102 #ifdef MODULE_PERIPH_UART_HW_FC
113 #define UART_0_RXC_ISR USARTF0_RXC_vect
114 #define UART_0_DRE_ISR USARTF0_DRE_vect
115 #define UART_0_TXC_ISR USARTF0_TXC_vect
117 #define UART_1_RXC_ISR USARTD0_RXC_vect
118 #define UART_1_DRE_ISR USARTD0_DRE_vect
119 #define UART_1_TXC_ISR USARTD0_TXC_vect
121 #define UART_2_RXC_ISR USARTC0_RXC_vect
122 #define UART_2_DRE_ISR USARTC0_DRE_vect
123 #define UART_2_TXC_ISR USARTC0_TXC_vect
125 #define UART_NUMOF ARRAY_SIZE(uart_config)
151 #define I2C_0_ISR TWIF_TWIM_vect
152 #define I2C_1_ISR TWIC_TWIM_vect
154 #define I2C_NUMOF ARRAY_SIZE(i2c_config)
180 #define SPI_NUMOF ARRAY_SIZE(spi_config)
190 static const ebi_conf_t ebi_config = {
192 .flags = (EBI_PORT_SDRAM | EBI_PORT_3PORT),
199 EBI_CS_SDMODE_NORMAL_gc,
200 EBI_SDRAM_CAS_LAT_3CLK,
201 EBI_SDRAM_ROW_BITS_12,
204 EBI_ROWCYCDLY_7CLK_gc,
208 EBI_ROWCOLDLY_7CLK_gc,
210 .cs = { { EBI_CS_MODE_DISABLED_gc,
215 { EBI_CS_MODE_DISABLED_gc,
220 { EBI_CS_MODE_DISABLED_gc,
225 { EBI_CS_MODE_SDRAM_gc,
238 #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