Macros | |
#define | BOARD_RS232_0 AVR32_USART1 |
#define | BOARD_RS232_0_RX { AVR32_USART1_RXD_0_0_PIN, AVR32_USART1_RXD_0_0_FUNCTION } |
#define | BOARD_RS232_0_TX { AVR32_USART1_TXD_0_0_PIN, AVR32_USART1_TXD_0_0_FUNCTION } |
#define | BOARD_RS232_1 AVR32_USART0 |
#define | BOARD_RS232_1_RX { AVR32_USART0_RXD_0_0_PIN, AVR32_USART0_RXD_0_0_FUNCTION }, |
#define | BOARD_RS232_1_TX { AVR32_USART0_TXD_0_0_PIN, AVR32_USART0_TXD_0_0_FUNCTION } |
#define | CONFIG_CONSOLE_PORT BOARD_RS232_0 |
#define | FCPU_HZ FMCK_HZ |
#define | FHSB_HZ FCPU_HZ |
#define | FMCK_HZ ((FOSC * (PLL_MUL + 1)) / 2) |
#define | FOSC FOSC0 /* 12 MHz */ |
#define | FPBA_HZ FMCK_HZ |
#define | FPBB_HZ FMCK_HZ |
#define | OSC 0 |
#define | PLL_MUL 10 |
#define | USE_PLL |
#define | WL_PDCA_PID_RX AVR32_PDCA_PID_SPI1_RX |
#define | WL_PDCA_PID_TX AVR32_PDCA_PID_SPI1_TX |
#define | WL_SPI AVR32_SPI1 /* Pin 8 NC, so no irq support if using SD-slot */ |
#define | WL_SPI_CLOCK_DIVIDER 3 /* due to adapter */ |
#define | WL_SPI_CS 1 |
#define | WL_SPI_MISO { AVR32_SPI1_MISO_0_0_PIN, AVR32_SPI1_MISO_0_0_FUNCTION } |
#define | WL_SPI_MOSI { AVR32_SPI1_MOSI_0_0_PIN, AVR32_SPI1_MOSI_0_0_FUNCTION } |
#define | WL_SPI_NPCS { AVR32_SPI1_NPCS_1_0_PIN, AVR32_SPI1_NPCS_1_0_FUNCTION } |
#define | WL_SPI_NPCS0 { AVR32_SPI1_NPCS_0_0_PIN, AVR32_SPI1_NPCS_0_0_FUNCTION } |
#define | WL_SPI_SCK { AVR32_SPI1_SCK_0_0_PIN, AVR32_SPI1_SCK_0_0_FUNCTION } |
Functions | |
void | board_init (void) |
#define BOARD_RS232_0 AVR32_USART1 |
#define BOARD_RS232_0_RX { AVR32_USART1_RXD_0_0_PIN, AVR32_USART1_RXD_0_0_FUNCTION } |
Referenced by init_rs232().
#define BOARD_RS232_0_TX { AVR32_USART1_TXD_0_0_PIN, AVR32_USART1_TXD_0_0_FUNCTION } |
Referenced by init_rs232().
#define BOARD_RS232_1 AVR32_USART0 |
#define BOARD_RS232_1_RX { AVR32_USART0_RXD_0_0_PIN, AVR32_USART0_RXD_0_0_FUNCTION }, |
Referenced by init_rs232().
#define BOARD_RS232_1_TX { AVR32_USART0_TXD_0_0_PIN, AVR32_USART0_TXD_0_0_FUNCTION } |
Referenced by init_rs232().
#define CONFIG_CONSOLE_PORT BOARD_RS232_0 |
Referenced by board_putchar(), init_printk(), and io_getc().
#define FCPU_HZ FMCK_HZ |
#define FHSB_HZ FCPU_HZ |
Referenced by aic23b_dac_setup(), board_init(), com_task(), com_task_init(), and main().
Referenced by aic23b_dac_setup(), and init_sys_clocks().
#define FOSC FOSC0 /* 12 MHz */ |
#define FPBA_HZ FMCK_HZ |
#define FPBB_HZ FMCK_HZ |
Referenced by aic23b_dac_setup(), com_task(), com_task_init(), and main().
#define OSC 0 |
Referenced by init_sys_clocks().
#define PLL_MUL 10 |
Referenced by init_sys_clocks().
#define USE_PLL |
#define WL_PDCA_PID_RX AVR32_PDCA_PID_SPI1_RX |
#define WL_PDCA_PID_TX AVR32_PDCA_PID_SPI1_TX |
#define WL_SPI AVR32_SPI1 /* Pin 8 NC, so no irq support if using SD-slot */ |
Referenced by init_spi().
#define WL_SPI_CLOCK_DIVIDER 3 /* due to adapter */ |
#define WL_SPI_CS 1 |
#define WL_SPI_MISO { AVR32_SPI1_MISO_0_0_PIN, AVR32_SPI1_MISO_0_0_FUNCTION } |
Referenced by init_spi().
#define WL_SPI_MOSI { AVR32_SPI1_MOSI_0_0_PIN, AVR32_SPI1_MOSI_0_0_FUNCTION } |
Referenced by init_spi().
#define WL_SPI_NPCS { AVR32_SPI1_NPCS_1_0_PIN, AVR32_SPI1_NPCS_1_0_FUNCTION } |
Referenced by init_spi().
#define WL_SPI_NPCS0 { AVR32_SPI1_NPCS_0_0_PIN, AVR32_SPI1_NPCS_0_0_FUNCTION } |
Referenced by init_spi().
#define WL_SPI_SCK { AVR32_SPI1_SCK_0_0_PIN, AVR32_SPI1_SCK_0_0_FUNCTION } |
Referenced by init_spi().
void board_init | ( | void | ) |