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_NUM PORT_A
42
43
#define LED1_PIN_NUM 10
44
#define LED1_PORT_NUM PORT_A
45
46
#define LED2_PIN_NUM 8
47
#define LED2_PORT_NUM PORT_A
48
49
#define LED3_PIN_NUM 13
50
#define LED3_PORT_NUM PORT_A
57
#define BUTTON1 GPIO_PIN(PORT_B,2)
64
#define CC3000_SPI SPI_DEV(0)
65
#define CC3000_CS GPIO_PIN(PORT_B,12)
66
#define CC3000_EN GPIO_PIN(PORT_B,8)
67
#define CC3000_INT GPIO_PIN(PORT_B,11)
74
#define EXTFLASH_SPI SPI_DEV(0)
75
#define EXTFLASH GPIO_PIN(PORT_B,9)
78
#ifdef __cplusplus
79
}
/* end extern "C" */
80
#endif
81
82
#include "
stm32_leds.h
"
83
84
#endif
/* BOARD_H */
periph_conf.h
Native CPU peripheral configuration.
stm32_leds.h
Common LED macros.
Generated on Thu Apr 18 2024 14:06:37 by
1.9.8