periph_conf.h File Reference
#include "periph_cpu.h"
#include "macros/units.h"
+ Include dependency graph for periph_conf.h:

Go to the source code of this file.

Define the nominal CPU core clock in this board

#define CLK80   1
 
#define CLK50   2
 
#define CLK40   3
 
#define CLK16   4
 
#define CLK1   5
 
#define CLOCK_SOURCE   CLK40
 
#define CLOCK_CORECLOCK   MHZ(80)
 

Timer configuration

#define TIMER_NUMOF   ARRAY_SIZE(timer_config)
 
#define TIMER_0_ISR   isr_wtimer0a
 
#define TIMER_1_ISR   isr_wtimer1a
 
static const timer_conf_t timer_config []
 

UART configuration

#define UART_NUMOF   (1U)
 
#define UART_IRQ_PRIO   1
 
#define UART_CLK   ROM_SysCtlClockGet()
 
#define UART_0_DEV   UART0_BASE
 
#define UART_0_CLK   (40000000)
 
#define UART_0_IRQ_CHAN   UART0_IRQn
 
#define UART_0_ISR   isr_uart0
 
#define UART_0_PORT   GPIOA
 
#define UART_0_TX_PIN   UART_PA1_U0TX
 
#define UART_0_RX_PIN   UART_PA0_U0RX
 

ADC configuration

#define ADC_NUMOF   (12)
 

SPI configuration

#define SPI_NUMOF   ARRAY_SIZE(spi_confs)
 
static const spi_conf_t spi_confs []
 

Variable Documentation

◆ timer_config

const timer_conf_t timer_config[]
static
Initial value:
= {
{
.dev = WTIMER0_BASE,
.max = 0xffffffff,
.irqn = Timer0A_IRQn,
.sysctl = SYSCTL_PERIPH_WTIMER0,
.intbase = INT_WTIMER0A,
.channels = 1
},
{
.dev = WTIMER1_BASE,
.max = 0xffffffff,
.irqn = Timer1A_IRQn,
.sysctl = SYSCTL_PERIPH_WTIMER1,
.intbase = INT_WTIMER1A,
.channels = 1
},
}

Definition at line 46 of file periph_conf.h.