cc2650-launchpad/include/board.h File Reference

Board specific definitions for TI CC2650 LaunchPad. More...

Detailed Description

Board specific definitions for TI CC2650 LaunchPad.

Author
Nicholas Jackson nicho.nosp@m.las..nosp@m.jacks.nosp@m.on@g.nosp@m.riffi.nosp@m.thun.nosp@m.i.edu.nosp@m..au
Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t

Definition in file cc2650-launchpad/include/board.h.

#include "periph/gpio.h"
+ Include dependency graph for cc2650-launchpad/include/board.h:

Go to the source code of this file.

Macros

xtimer configuration
#define XTIMER_WIDTH   (16)
 
#define XTIMER_BACKOFF   (25)
 
#define XTIMER_ISR_BACKOFF   (20)
 
On-board button configuration
#define BTN0_PIN   GPIO_PIN(0, 13)
 
#define BTN0_MODE   GPIO_IN_PU
 
#define BTN1_PIN   GPIO_PIN(0, 14)
 
#define BTN1_MODE   GPIO_IN_PU
 
#define LED0_PIN   GPIO_PIN(0, 6)
 On-board LED configuration and controlling. More...
 
#define LED1_PIN   GPIO_PIN(0, 7)
 green
 
#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.
 

Macro Definition Documentation

◆ LED0_PIN

#define LED0_PIN   GPIO_PIN(0, 6)

On-board LED configuration and controlling.

red

Definition at line 54 of file cc2650-launchpad/include/board.h.