The friendly Operating System for the Internet of Things
boards/cc2650stk/include/periph_conf.h File Reference

Peripheral MCU configuration for the CC2650STK board. More...

Detailed Description

#include "periph_cpu.h"
+ Include dependency graph for boards/cc2650stk/include/periph_conf.h:

Go to the source code of this file.


#define CLOCK_CORECLOCK   (48000000U)
 Clock configuration.
UART configuration

The used CC26x0 CPU only supports a single UART device, so all we need to configure are the RX and TX pins.

Optionally we can enable hardware flow control, by setting UART_HW_FLOW_CTRL to 1 and defining pins for UART_CTS_PIN and UART_RTS_PIN.

#define UART_NUMOF   (1)
#define UART_RX_PIN   (28)
#define UART_TX_PIN   (29)

Timer configuration

#define TIMER_0_ISR   isr_timer0_chan0
#define TIMER_1_ISR   isr_timer1_chan0
#define TIMER_NUMOF   (sizeof(timer_config) / sizeof(timer_config[0]))
static const timer_conf_t timer_config []

Variable Documentation

const timer_conf_t timer_config[]
Initial value:
= {
.dev = GPT0,
.num = 0
.dev = GPT1,
.num = 1
#define GPT0
GPT instances.
Definition: cc26x0_gpt.h:79

Definition at line 40 of file boards/cc2650stk/include/periph_conf.h.