ISSDK
1.7
IoT Sensing Software Development Kit
boardkit
frdm-k22f
frdm-fxs-mult2-b
frdm_fxs_mult2b_shield.h
Go to the documentation of this file.
1
/*
2
* The Clear BSD License
3
* Copyright (c) 2016, Freescale Semiconductor, Inc.
4
* All rights reserved.
5
*
6
*
7
* Redistribution and use in source and binary forms, with or without modification,
8
* are permitted (subject to the limitations in the disclaimer below) provided
9
* that the following conditions are met:
10
*
11
* o Redistributions of source code must retain the above copyright notice, this list
12
* of conditions and the following disclaimer.
13
*
14
* o Redistributions in binary form must reproduce the above copyright notice, this
15
* list of conditions and the following disclaimer in the documentation and/or
16
* other materials provided with the distribution.
17
*
18
* o Neither the name of Freescale Semiconductor, Inc. nor the names of its
19
* contributors may be used to endorse or promote products derived from this
20
* software without specific prior written permission.
21
*
22
* NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE.
23
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
24
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
27
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
30
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
*/
34
35
/*! File: frdm_fxs_mult2b_shield.h
36
* @brief The \b frdm_fxs_mult2b_shield.h file declares mapping of the Kinetis
37
Device peripherals to the frmd-k64f and frdm-fxs-mult2-b shield
38
*/
39
40
#ifndef _FRDM_FXS_MULT2B_SHIELD_H_
41
#define _FRDM_FXS_MULT2B_SHIELD_H_
42
43
/* The shield name */
44
#define SHIELD_NAME "FRDM-FXS-MULT2-B"
45
46
// FXOS8700 Sensor Information
47
/*
48
In order to route INT1 signal from FXOS8700 to the K64F,
49
Pins 1-2 of Jumper J3 on the FRDM-FXS-MULT2-B should be connected.
50
In order to route INT2 signal from FXOS8700 to the K64F,
51
Pins 1-2 of Jumper J4 on the FRDM-FXS-MULT2-B should be connected.
52
*/
53
#define FXOS8700_I2C_ADDR 0x1E
54
#define FXOS8700_INT1 D2
55
#define FXOS8700_INT2 D4
56
57
// FXAS21002 Sensor Information
58
/*
59
In order to route INT1 signal from FXAS21002 to the K64F,
60
Pins 1-2 of Jumper J6 on the FRDM-FXS-MULT2-B should be connected.
61
*/
62
#define FXAS21002_I2C_ADDR 0x20
63
#define FXAS21002_INT1 D5
64
65
// MAG3110 Sensor Information
66
/*
67
In order to route INT1 signal from MAG3110 to the K64F,
68
Pins 2-3 of Jumper J3 on the FRDM-FXS-MULT2-B should be connected.
69
*/
70
#define MAG3110_I2C_ADDR 0x0E
71
#define MAG3110_INT1 D2
72
73
// MPL3115 Sensor Information
74
/*
75
In order to route INT1 signal from MPL3115 to the K64F,
76
Pins 2-3 of Jumper J5 on the FRDM-FXS-MULT2-B should be connected.
77
*/
78
#define MPL3115_I2C_ADDR 0x60
79
#define MPL3115_INT1 D8
80
81
// MMA8652 Sensor Information
82
/*
83
In order to route INT1 signal from MMA8652 to the K64F,
84
Pins 2-3 of Jumper J4 on the FRDM-FXS-MULT2-B should be connected.
85
*/
86
#define MMA8652_I2C_ADDR 0x1D
87
#define MMA8652_INT1 D4
88
89
// FXLS8471Q Sensor Information
90
/*
91
In order to route INT1 signal from FXLS8471Q to the FRDM-K64F,
92
Pins 2-3 of Jumper J6 on the FRDM-FXS-MULT2-B should be connected.
93
*/
94
#define FXLS8471_INT1 D5
95
#define FXLS8471_SPI_CS D10
96
97
///@name Shield Parameters
98
/// Sensor Fusion specific defines
99
/// Use this section to define the shield board: 3 bit code 0 to 7 inclusive
100
/// transmitted in bits 7-5 for display purposes only.
101
///@{
102
#define SHIELD_MULTIB 0
103
#define SHIELD_NONE 1
104
#define SHIELD_AGM01 2
105
#define SHIELD_AGM02 3
106
#define THIS_SHIELD SHIELD_MULTIB
107
108
// spare 5 to 7 inclusive
109
///@}
110
111
#endif
/* _FRDM_FXS_MULT2B_SHIELD_H_ */
© Freescale Semiconductor, Inc. 2016-2017. All Rights Reserved.