Loading...
Searching...
No Matches
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 []
 

Macro Definition Documentation

◆ CLOCK_CORECLOCK

#define CLOCK_CORECLOCK   (72000000U) /* this board runs with 72MHz */

Definition at line 34 of file periph_conf.h.

◆ CLOCK_PCLK

#define CLOCK_PCLK   (CLOCK_CORECLOCK)

Definition at line 36 of file periph_conf.h.

◆ SPI_NUMOF

#define SPI_NUMOF   (1)

Definition at line 80 of file periph_conf.h.

◆ TIMER_NUMOF

#define TIMER_NUMOF   (1U)

Definition at line 43 of file periph_conf.h.

◆ UART_NUMOF

#define UART_NUMOF   (1)

Definition at line 61 of file periph_conf.h.

◆ XTAL_HZ

#define XTAL_HZ   (16000000U) /* the board provides a 16 MHz XTAL */

Definition at line 32 of file periph_conf.h.

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),
},
}
#define BIT8
Bit 8 set define.
Definition bitarithm.h:67
#define BIT17
Bit 17 set define.
Definition bitarithm.h:80
#define BIT9
Bit 9 set define.
Definition bitarithm.h:68
#define BIT14
Bit 14 set define.
Definition bitarithm.h:75
#define BIT16
Bit 16 set define.
Definition bitarithm.h:79
#define BIT15
Bit 15 set define.
Definition bitarithm.h:76

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 BIT4
Bit 4 set define.
Definition bitarithm.h:63
#define BIT6
Bit 6 set define.
Definition bitarithm.h:65
#define UART0
UART0 register bank.

Definition at line 50 of file periph_conf.h.