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 "cpu.h"
23
#include "
periph_conf.h
"
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
33
#define CC110X_PARAM_SPI SPI_DEV(0)
34
#define CC110X_PARAM_CS GPIO_PIN(PORT_B, 12)
35
#define CC110X_PARAM_GDO0 GPIO_PIN(PORT_C, 4)
36
#define CC110X_PARAM_GDO2 GPIO_PIN(PORT_C, 5)
37
#define CC110X_PARAM_SPI_CLOCK SPI_CLK_1MHZ
44
#define MPU9X50_PARAM_COMP_ADDR (0x0E)
51
#define LED0_PIN_NUM 8
52
#define LED0_PORT GPIO_PORT_B
53
#define LED0_PORT_NUM PORT_B
55
#define LED1_PIN_NUM 14
56
#define LED1_PORT GPIO_PORT_B
57
#define LED1_PORT_NUM PORT_B
59
#define LED2_PIN_NUM 15
60
#define LED2_PORT GPIO_PORT_B
61
#define LED2_PORT_NUM PORT_B
68
#define BUTTON0_PIN GPIO_PIN(PORT_B, 13)
69
#define BUTTON1_PIN GPIO_PIN(PORT_A, 0)
72
#ifdef __cplusplus
73
}
74
#endif
75
76
#include "
stm32_leds.h
"
77
78
#endif
/* BOARD_H */
periph_conf.h
Native CPU peripheral configuration.
stm32_leds.h
Common LED macros.
Generated on Sat Nov 23 2024 01:58:05 by
1.9.8