CC2650STK

SimpleLinkā„¢ CC2650 sensor tag. More...

Detailed Description

Files

file  cc2650stk/include/board.h
 Board configuration for the CC2650STK.
 
file  boards/cc2650stk/include/periph_conf.h
 Peripheral MCU configuration for the CC2650STK board.
 

Functions

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

Xtimer configuration

#define XTIMER_WIDTH   (16)
 

On-board button configuration

#define BTN0_PIN   GPIO_PIN(0, 4)
 
#define BTN0_MODE   GPIO_IN_PU
 
#define BTN1_PIN   GPIO_PIN(0, 0)
 
#define BTN1_MODE   GPIO_IN_PU
 

Macros for controlling the on-board LEDs

#define LED0_PIN   GPIO_PIN(0, 10)
 
#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)