Peripheral configuration for the avsextrem.
More...
Peripheral configuration for the avsextrem.
- Author
- Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Definition in file periph_conf.h.
#include "periph_cpu.h"
Go to the source code of this file.
|
#define | XTAL_HZ (16000000U) /* the board provides a 16 MHz XTAL */ |
|
#define | CLOCK_CORECLOCK (72000000U) /* this board runs with 72MHz */ |
|
#define | CLOCK_PCLK (CLOCK_CORECLOCK) |
|
|
#define | UART_NUMOF (1) |
|
static const uart_conf_t | uart_config [] |
|
|
#define | SPI_NUMOF (1) |
|
static const spi_conf_t | spi_config [] |
|
◆ spi_config
Initial value:= {
{
.dev = SPI0,
.pinsel_mosi = 3,
.pinsel_miso = 3,
.pinsel_clk = 3,
.pinsel_msk_mosi = (BIT16 | BIT17),
.pinsel_msk_miso = (BIT14 | BIT15),
.pinsel_msk_clk = (BIT8 | BIT9),
},
}
Definition at line 68 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.irq_prio_rx = 6,
.pinsel_rx = 0,
.pinsel_tx = 0,
.pinsel_msk_rx = BIT4,
.pinsel_msk_tx = BIT6,
}
}
Definition at line 50 of file periph_conf.h.