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

Board configuration for the CC2650STK. More...

Detailed Description

#include "periph/gpio.h"
+ Include dependency graph for cc2650stk/include/board.h:

Go to the source code of this file.

Macros

#define XTIMER_WIDTH   (16)
 Xtimer configuration.
 
#define BUTTON1_DIO   GPIO_PIN(0, 4)
 On-board button configuration.
 
#define BUTTON2_DIO   GPIO_PIN(0, 0)
 
#define LED0_PIN   GPIO_PIN(0, 10)
 Macros for controlling the on-board LEDs.
 
#define LED1_PIN   GPIO_PIN(0, 15)
 
#define LED0_ON   gpio_set(LED0_PIN)
 
#define LED0_OFF   gpio_clear(LED0_PIN)
 
#define LED0_TOGGLE   gpio_toggle(LED0_PIN)
 
#define LED1_ON   gpio_set(LED1_PIN)
 
#define LED1_OFF   gpio_clear(LED1_PIN)
 
#define LED1_TOGGLE   gpio_toggle(LED1_PIN)
 

Functions

void board_init (void)
 Initialize board specific hardware, including clock, LEDs, and std-IO.