Peripheral MCU configuration for the ATxmegaA1 Xplained board.  
More...
Peripheral MCU configuration for the ATxmegaA1 Xplained 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.
 | 
| 
#define  | TIMER_0_ISRA   TCC1_CCA_vect | 
|   | 
| 
#define  | TIMER_1_ISRA   TCC0_CCA_vect | 
|   | 
| 
#define  | TIMER_1_ISRB   TCC0_CCB_vect | 
|   | 
| 
#define  | TIMER_1_ISRC   TCC0_CCC_vect | 
|   | 
| 
#define  | TIMER_1_ISRD   TCC0_CCD_vect | 
|   | 
| 
#define  | TIMER_NUMOF   ARRAY_SIZE(timer_config) | 
|   | 
| static const timer_conf_t  | timer_config [] | 
|   | 
 | 
| 
#define  | UART_0_RXC_ISR   USARTF0_RXC_vect    /* Reception Complete Interrupt */ | 
|   | 
| 
#define  | UART_0_DRE_ISR   USARTF0_DRE_vect    /* Data Register Empty Interrupt */ | 
|   | 
| 
#define  | UART_0_TXC_ISR   USARTF0_TXC_vect    /* Transmission Complete Interrupt */ | 
|   | 
| 
#define  | UART_1_RXC_ISR   USARTD0_RXC_vect | 
|   | 
| 
#define  | UART_1_DRE_ISR   USARTD0_DRE_vect | 
|   | 
| 
#define  | UART_1_TXC_ISR   USARTD0_TXC_vect | 
|   | 
| 
#define  | UART_2_RXC_ISR   USARTC0_RXC_vect | 
|   | 
| 
#define  | UART_2_DRE_ISR   USARTC0_DRE_vect | 
|   | 
| 
#define  | UART_2_TXC_ISR   USARTC0_TXC_vect | 
|   | 
| 
#define  | UART_NUMOF   ARRAY_SIZE(uart_config) | 
|   | 
| 
static const uart_conf_t  | uart_config [] | 
|   | 
 | 
For more information, see ebi_conf_t structure.  
 | 
| 
static const ebi_conf_t  | ebi_config | 
|   | 
◆ i2c_config
Initial value:= {
    {
        .dev                = &TWIF,
    },
    {
        .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.
 
@ CPU_INT_LVL_LOW
Interrupt Low Level
 
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
 
 
Definition at line 129 of file periph_conf.h.
 
 
◆ spi_config
Initial value:= {
    {
        .dev            = &SPIF,
    },
    {
        .dev            = &SPIC,
    },
}
 
Definition at line 158 of file periph_conf.h.
 
 
◆ 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 32 of file periph_conf.h.