board.h File Reference

Board specific definitions for the spark-core board. More...

Detailed Description

Board specific definitions for the spark-core board.

Author
Christian Mehlis mehli.nosp@m.s@in.nosp@m.f.fu-.nosp@m.berl.nosp@m.in.de

Definition in file board.h.

#include <stdint.h>
#include "cpu.h"
#include "periph_conf.h"
#include "stm32_leds.h"
+ Include dependency graph for board.h:

Go to the source code of this file.

Tell the xtimer that we use a 16-bit peripheral timer

#define XTIMER_WIDTH   (16)
 

Macros for controlling the on-board LEDs

#define LED0_PIN_NUM   9
 
#define LED0_PORT   GPIO_PORT_A
 GPIO port of LED 0.
 
#define LED0_PORT_NUM   PORT_A
 
#define LED1_PIN_NUM   10
 
#define LED1_PORT   GPIO_PORT_A
 GPIO port of LED 1.
 
#define LED1_PORT_NUM   PORT_A
 
#define LED2_PIN_NUM   8
 
#define LED2_PORT   GPIO_PORT_A
 GPIO port of LED 2.
 
#define LED2_PORT_NUM   PORT_A
 
#define LED3_PIN_NUM   13
 
#define LED3_PORT   GPIO_PORT_A
 GPIO port of LED 3.
 
#define LED3_PORT_NUM   PORT_A
 

User button configuration

#define BUTTON1   GPIO_PIN(PORT_B,2)
 

CC3000 pin configuration

#define CC3000_SPI   SPI_DEV(0)
 
#define CC3000_CS   GPIO_PIN(PORT_B,12)
 
#define CC3000_EN   GPIO_PIN(PORT_B,8)
 
#define CC3000_INT   GPIO_PIN(PORT_B,11)
 

EXTFLASH pin configuration

#define EXTFLASH_SPI   SPI_DEV(0)
 
#define EXTFLASH   GPIO_PIN(PORT_B,9)