Loading...
Searching...
No Matches
board.h File Reference

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

Detailed Description

Board specific definitions for TI CC1350 LaunchPad.

Author
Jean Pierre Dudey jeand.nosp@m.udey.nosp@m.@hotm.nosp@m.ail..nosp@m.com

Definition in file board.h.

#include "periph/gpio.h"
+ Include dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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.
 
#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)
 

Macro Definition Documentation

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN_PU

Definition at line 42 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO_PIN(0, 13)

Definition at line 41 of file board.h.

◆ BTN1_MODE

#define BTN1_MODE   GPIO_IN_PU

Definition at line 45 of file board.h.

◆ BTN1_PIN

#define BTN1_PIN   GPIO_PIN(0, 14)

Definition at line 44 of file board.h.

◆ LED0_OFF

#define LED0_OFF   gpio_clear(LED0_PIN)

Definition at line 56 of file board.h.

◆ LED0_ON

#define LED0_ON   gpio_set(LED0_PIN)

Definition at line 55 of file board.h.

◆ LED0_PIN

#define LED0_PIN   GPIO_PIN(0, 6)

On-board LED configuration and controlling.

Red

Definition at line 52 of file board.h.

◆ LED0_TOGGLE

#define LED0_TOGGLE   gpio_toggle(LED0_PIN)

Definition at line 57 of file board.h.

◆ LED1_OFF

#define LED1_OFF   gpio_clear(LED1_PIN)

Definition at line 60 of file board.h.

◆ LED1_ON

#define LED1_ON   gpio_set(LED1_PIN)

Definition at line 59 of file board.h.

◆ LED1_PIN

#define LED1_PIN   GPIO_PIN(0, 7)

Green.

Definition at line 53 of file board.h.

◆ LED1_TOGGLE

#define LED1_TOGGLE   gpio_toggle(LED1_PIN)

Definition at line 61 of file board.h.

◆ XTIMER_BACKOFF

#define XTIMER_BACKOFF   (25)

Definition at line 33 of file board.h.

◆ XTIMER_ISR_BACKOFF

#define XTIMER_ISR_BACKOFF   (20)

Definition at line 34 of file board.h.

◆ XTIMER_WIDTH

#define XTIMER_WIDTH   (16)

Definition at line 32 of file board.h.