a752c7ab
elopes
add first test an...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/*
* Copyright (C) 2015 Freie Universitรคt Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup boards_iotlab-m3
* @{
*
* @file
* @brief L3G4200D board specific configuration
*
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef L3G4200D_PARAMS_H
#define L3G4200D_PARAMS_H
#include "board.h"
#include "saul_reg.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief L3G4200D configuration
*/
static const l3g4200d_params_t l3g4200d_params[] =
{
{
.i2c = L3G4200D_I2C,
.addr = L3G4200D_ADDR,
.int1_pin = L3G4200D_INT,
.int2_pin = L3G4200D_DRDY,
.mode = L3G4200D_MODE_200_25,
.scale = L3G4200D_SCALE_500DPS,
},
};
/**
* @brief Additional meta information to keep in the SAUL registry
*/
static const saul_reg_info_t l3g4200d_saul_info[] =
{
{
.name = "l3g4200d",
},
};
#ifdef __cplusplus
}
#endif
#endif /* L3G4200D_PARAMS_H */
/** @} */
|