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
90 #ifdef MODULE_PERIPH_UART_HW_FC
103 #ifdef MODULE_PERIPH_UART_HW_FC
114 #define UART_0_RXC_ISR USARTF0_RXC_vect
115 #define UART_0_DRE_ISR USARTF0_DRE_vect
116 #define UART_0_TXC_ISR USARTF0_TXC_vect
118 #define UART_1_RXC_ISR USARTD0_RXC_vect
119 #define UART_1_DRE_ISR USARTD0_DRE_vect
120 #define UART_1_TXC_ISR USARTD0_TXC_vect
122 #define UART_2_RXC_ISR USARTC0_RXC_vect
123 #define UART_2_DRE_ISR USARTC0_DRE_vect
124 #define UART_2_TXC_ISR USARTC0_TXC_vect
126 #define UART_NUMOF ARRAY_SIZE(uart_config)
152 #define I2C_0_ISR TWIF_TWIM_vect
153 #define I2C_1_ISR TWIC_TWIM_vect
155 #define I2C_NUMOF ARRAY_SIZE(i2c_config)
181 #define SPI_NUMOF ARRAY_SIZE(spi_config)
191 static const ebi_conf_t ebi_config = {
193 .flags = (EBI_PORT_SDRAM | EBI_PORT_3PORT),
200 EBI_CS_SDMODE_NORMAL_gc,
201 EBI_SDRAM_CAS_LAT_3CLK,
202 EBI_SDRAM_ROW_BITS_12,
205 EBI_ROWCYCDLY_7CLK_gc,
209 EBI_ROWCOLDLY_7CLK_gc,
211 .cs = { { EBI_CS_MODE_DISABLED_gc,
216 { EBI_CS_MODE_DISABLED_gc,
221 { EBI_CS_MODE_DISABLED_gc,
226 { EBI_CS_MODE_SDRAM_gc,
239 #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