Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2014 Freie Universität Berlin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser General
5
* Public License v2.1. See the file LICENSE in the top level directory for more
6
* details.
7
*/
8
19
#ifndef BOARD_H
20
#define BOARD_H
21
22
#include <stdint.h>
23
24
#include "cpu.h"
25
#include "
periph_conf.h
"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
34
#define XTIMER_WIDTH (16)
35
40
#define LED0_PIN_NUM 9
41
#define LED0_PORT GPIO_PORT_A
42
#define LED0_PORT_NUM PORT_A
43
44
#define LED1_PIN_NUM 10
45
#define LED1_PORT GPIO_PORT_A
46
#define LED1_PORT_NUM PORT_A
47
48
#define LED2_PIN_NUM 8
49
#define LED2_PORT GPIO_PORT_A
50
#define LED2_PORT_NUM PORT_A
51
52
#define LED3_PIN_NUM 13
53
#define LED3_PORT GPIO_PORT_A
54
#define LED3_PORT_NUM PORT_A
61
#define BUTTON1 GPIO_PIN(PORT_B,2)
68
#define CC3000_SPI SPI_DEV(0)
69
#define CC3000_CS GPIO_PIN(PORT_B,12)
70
#define CC3000_EN GPIO_PIN(PORT_B,8)
71
#define CC3000_INT GPIO_PIN(PORT_B,11)
78
#define EXTFLASH_SPI SPI_DEV(0)
79
#define EXTFLASH GPIO_PIN(PORT_B,9)
82
#ifdef __cplusplus
83
}
/* end extern "C" */
84
#endif
85
86
#include "
stm32_leds.h
"
87
88
#endif
/* BOARD_H */
periph_conf.h
Native CPU peripheral configuration.
stm32_leds.h
Common LED macros.
Generated on Sun Dec 22 2024 10:22:27 by
1.9.8