Peripheral MCU configuration for the ATxmegaA1U Xplained Pro board.
More...
Peripheral MCU configuration for the ATxmegaA1U Xplained Pro board.
- Author
- Gerson Fernando Budke nando.nosp@m.jve@.nosp@m.gmail.nosp@m..com
Definition in file periph_conf.h.
#include "mutex.h"
#include <stdint.h>
#include <avr/io.h>
#include "periph_cpu.h"
#include "periph_conf_common.h"
Go to the source code of this file.
|
For more information, see ebi_conf_t structure.
|
static const ebi_conf_t | ebi_config |
|
◆ I2C_0_ISR
#define I2C_0_ISR TWIC_TWIM_vect |
◆ I2C_NUMOF
◆ SPI_NUMOF
◆ TIMER_0_ISRA
#define TIMER_0_ISRA TCC1_CCA_vect |
◆ TIMER_1_ISRA
#define TIMER_1_ISRA TCC0_CCA_vect |
◆ TIMER_1_ISRB
#define TIMER_1_ISRB TCC0_CCB_vect |
◆ TIMER_1_ISRC
#define TIMER_1_ISRC TCC0_CCC_vect |
◆ TIMER_1_ISRD
#define TIMER_1_ISRD TCC0_CCD_vect |
◆ TIMER_NUMOF
◆ UART_0_DRE_ISR
#define UART_0_DRE_ISR USARTE0_DRE_vect /* Data Register Empty Interrupt */ |
◆ UART_0_RXC_ISR
#define UART_0_RXC_ISR USARTE0_RXC_vect /* Reception Complete Interrupt */ |
◆ UART_0_TXC_ISR
#define UART_0_TXC_ISR USARTE0_TXC_vect /* Transmission Complete Interrupt */ |
◆ UART_NUMOF
◆ ebi_config
const ebi_conf_t ebi_config |
|
static |
Initial value:= {
.addr_bits = 18,
.flags = (EBI_PORT_LPC | EBI_PORT_CS2),
.sram_ale = 0,
.lpc_ale = 2,
.sdram = { 0 },
.cs = {
{ EBI_CS_MODE_DISABLED_gc,
0,
EBI_CS_SRWS_0CLK_gc,
0x0UL,
},
{ EBI_CS_MODE_DISABLED_gc,
0,
EBI_CS_SRWS_0CLK_gc,
0x0UL,
},
{ EBI_CS_MODE_LPC_gc,
EBI_CS_ASIZE_256KB_gc,
EBI_CS_SRWS_1CLK_gc,
0x0UL,
},
{ EBI_CS_MODE_DISABLED_gc,
0,
EBI_CS_SRWS_0CLK_gc,
0x0UL,
},
},
}
Definition at line 140 of file periph_conf.h.
◆ i2c_config
Initial value:= {
{
.dev = &TWIC,
},
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
#define PWR_RED_REG(reg, dev)
Define a CPU specific Power Reduction index macro.
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
@ CPU_INT_LVL_LOW
Interrupt Low Level
Definition at line 99 of file periph_conf.h.
◆ spi_config
◆ timer_config
Initial value:= {
{
.dev = (void *)&TCC1,
.type = TC_TYPE_1,
},
{
.dev = (void *)&TCC0,
.type = TC_TYPE_0,
}
}
@ CPU_INT_LVL_OFF
Interrupt Disabled
Definition at line 36 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = &USARTE0,
},
}
Definition at line 71 of file periph_conf.h.