The friendly Operating System for the Internet of Things
iotlab-a8-m3/include/board.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014-2015 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 
20 #ifndef BOARD_H
21 #define BOARD_H
22 
23 #include <stdint.h>
24 
25 #include "cpu.h"
26 #include "periph_conf.h"
27 #include "board_common.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
37 #define L3G4200D_I2C I2C_0
38 #define L3G4200D_ADDR 0x68
39 #define L3G4200D_DRDY GPIO_PIN(PORT_C,9)
40 #define L3G4200D_INT GPIO_PIN(PORT_C,6)
41 
47 #define LSM303DLHC_I2C I2C_0
48 #define LSM303DLHC_ACC_ADDR (0x19)
49 #define LSM303DLHC_MAG_ADDR (0x1e)
50 #define LSM303DLHC_INT1 GPIO_PIN(PORT_B,12)
51 #define LSM303DLHC_INT2 GPIO_PIN(PORT_B,2)
52 #define LSM303DLHC_DRDY GPIO_PIN(PORT_A,11)
53 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif /* BOARD_H */
60 
Peripheral MCU configuration for the iotlab-m3 board.