Loading...
Searching...
No Matches
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_NUM   PORT_A
 
#define LED1_PIN_NUM   10
 
#define LED1_PORT_NUM   PORT_A
 
#define LED2_PIN_NUM   8
 
#define LED2_PORT_NUM   PORT_A
 
#define LED3_PIN_NUM   13
 
#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)
 

Macro Definition Documentation

◆ BUTTON1

#define BUTTON1   GPIO_PIN(PORT_B,2)

Definition at line 57 of file board.h.

◆ CC3000_CS

#define CC3000_CS   GPIO_PIN(PORT_B,12)

Definition at line 65 of file board.h.

◆ CC3000_EN

#define CC3000_EN   GPIO_PIN(PORT_B,8)

Definition at line 66 of file board.h.

◆ CC3000_INT

#define CC3000_INT   GPIO_PIN(PORT_B,11)

Definition at line 67 of file board.h.

◆ CC3000_SPI

#define CC3000_SPI   SPI_DEV(0)

Definition at line 64 of file board.h.

◆ EXTFLASH

#define EXTFLASH   GPIO_PIN(PORT_B,9)

Definition at line 75 of file board.h.

◆ EXTFLASH_SPI

#define EXTFLASH_SPI   SPI_DEV(0)

Definition at line 74 of file board.h.

◆ LED0_PIN_NUM

#define LED0_PIN_NUM   9

Definition at line 40 of file board.h.

◆ LED0_PORT_NUM

#define LED0_PORT_NUM   PORT_A

Definition at line 41 of file board.h.

◆ LED1_PIN_NUM

#define LED1_PIN_NUM   10

Definition at line 43 of file board.h.

◆ LED1_PORT_NUM

#define LED1_PORT_NUM   PORT_A

Definition at line 44 of file board.h.

◆ LED2_PIN_NUM

#define LED2_PIN_NUM   8

Definition at line 46 of file board.h.

◆ LED2_PORT_NUM

#define LED2_PORT_NUM   PORT_A

Definition at line 47 of file board.h.

◆ LED3_PIN_NUM

#define LED3_PIN_NUM   13

Definition at line 49 of file board.h.

◆ LED3_PORT_NUM

#define LED3_PORT_NUM   PORT_A

Definition at line 50 of file board.h.

◆ XTIMER_WIDTH

#define XTIMER_WIDTH   (16)

Definition at line 34 of file board.h.