ISSDK
1.8
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
* Copyright (c) 2016, Freescale Semiconductor, Inc.
3
* All rights reserved.
4
*
5
*
6
* SPDX-License-Identifier: BSD-3-Clause
7
*/
8
9
/*! File: frdm_fxs_mult2b_shield.h
10
* @brief The \b frdm_fxs_mult2b_shield.h file declares mapping of the Kinetis
11
Device peripherals to the frmd-k64f and frdm-fxs-mult2-b shield
12
*/
13
14
#ifndef _FRDM_FXS_MULT2B_SHIELD_H_
15
#define _FRDM_FXS_MULT2B_SHIELD_H_
16
17
/* The shield name */
18
#define SHIELD_NAME "FRDM-FXS-MULT2-B"
19
20
// FXOS8700 Sensor Information
21
/*
22
In order to route INT1 signal from FXOS8700 to the K64F,
23
Pins 1-2 of Jumper J3 on the FRDM-FXS-MULT2-B should be connected.
24
In order to route INT2 signal from FXOS8700 to the K64F,
25
Pins 1-2 of Jumper J4 on the FRDM-FXS-MULT2-B should be connected.
26
*/
27
#define FXOS8700_I2C_ADDR 0x1E
28
#define FXOS8700_INT1 D2
29
#define FXOS8700_INT2 D4
30
31
// FXAS21002 Sensor Information
32
/*
33
In order to route INT1 signal from FXAS21002 to the K64F,
34
Pins 1-2 of Jumper J6 on the FRDM-FXS-MULT2-B should be connected.
35
*/
36
#define FXAS21002_I2C_ADDR 0x20
37
#define FXAS21002_INT1 D5
38
39
// MAG3110 Sensor Information
40
/*
41
In order to route INT1 signal from MAG3110 to the K64F,
42
Pins 2-3 of Jumper J3 on the FRDM-FXS-MULT2-B should be connected.
43
*/
44
#define MAG3110_I2C_ADDR 0x0E
45
#define MAG3110_INT1 D2
46
47
// MPL3115 Sensor Information
48
/*
49
In order to route INT1 signal from MPL3115 to the K64F,
50
Pins 2-3 of Jumper J5 on the FRDM-FXS-MULT2-B should be connected.
51
*/
52
#define MPL3115_I2C_ADDR 0x60
53
#define MPL3115_INT1 D8
54
55
// MMA8652 Sensor Information
56
/*
57
In order to route INT1 signal from MMA8652 to the K64F,
58
Pins 2-3 of Jumper J4 on the FRDM-FXS-MULT2-B should be connected.
59
*/
60
#define MMA8652_I2C_ADDR 0x1D
61
#define MMA8652_INT1 D4
62
63
// FXLS8471Q Sensor Information
64
/*
65
In order to route INT1 signal from FXLS8471Q to the FRDM-K64F,
66
Pins 2-3 of Jumper J6 on the FRDM-FXS-MULT2-B should be connected.
67
*/
68
#define FXLS8471_INT1 D5
69
#define FXLS8471_SPI_CS D10
70
71
///@name Shield Parameters
72
/// Sensor Fusion specific defines
73
/// Use this section to define the shield board: 3 bit code 0 to 7 inclusive
74
/// transmitted in bits 7-5 for display purposes only.
75
///@{
76
#define SHIELD_MULTIB 0
77
#define SHIELD_NONE 1
78
#define SHIELD_AGM01 2
79
#define SHIELD_AGM02 3
80
#define THIS_SHIELD SHIELD_MULTIB
81
82
// spare 5 to 7 inclusive
83
///@}
84
85
#endif
/* _FRDM_FXS_MULT2B_SHIELD_H_ */
© Copyright 2016-2020 NXP. All Rights Reserved.