periph_conf.h File Reference

Peripheral configuration for the avsextrem. More...

Detailed Description

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"
+ Include dependency graph for periph_conf.h:

Go to the source code of this file.

Clock configuration

#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)
 

Timer configuration, select a number from 1 to 4

#define TIMER_NUMOF   (1U)
 

UART configuration

#define UART_NUMOF   (1)
 
static const uart_conf_t uart_config []
 

SPI configuration

#define SPI_NUMOF   (1)
 
static const spi_conf_t spi_config []
 

Variable Documentation

◆ spi_config

const spi_conf_t spi_config[]
static
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

const uart_conf_t uart_config[]
static
Initial value:
= {
{
.dev = UART0,
.irq_prio_rx = 6,
.pinsel_rx = 0,
.pinsel_tx = 0,
.pinsel_msk_rx = BIT4,
.pinsel_msk_tx = BIT6,
}
}
#define UART0
UART0 register bank.

Definition at line 50 of file periph_conf.h.