ISSDK  1.8
IoT Sensing Software Development Kit
frdm_stbc_agm04_shield.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016, Freescale Semiconductor, Inc.
3  * Copyright 2016-2017 NXP
4  * All rights reserved.
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 
9 /**
10  * @file frdm_stbc_agm04_shield.h
11  * @brief The frdm_stbc_agm04_shield.h file declares mapping of the Kinetis
12  Device peripherals to the frmd-k64f and frmd-stbc-agm04 shield
13  */
14 
15 #ifndef _FRDM_STBC_AGM04_SHIELD_H_
16 #define _FRDM_STBC_AGM04_SHIELD_H_
17 
18 /* The shield name */
19 #define SHIELD_NAME "FRDM-STBC-AGM04"
20 
21 // MAG3110 Sensor Information
22 #define MAG3110_I2C_ADDR 0x0E
23 #define MAG3110_INT1 D5
24 
25 // MMA8652 Sensor Information
26 #define MMA8652_I2C_ADDR 0x1D
27 #define MMA8652_INT1 D2
28 #define MMA8652_INT2 D8
29 
30 // FXAS21002 Sensor Information
31 #define FXAS21002_I2C_ADDR 0x20
32 #define FXAS21002_INT1 D4
33 #define FXAS21002_INT2 D10
34 
35 ///@name Shield Parameters
36 /// Use this section to define the shield board: 3 bit code 0 to 7 inclusive
37 /// transmitted in bits 7-5 for display purposes only.
38 ///@{
39 #define SHIELD_MULTIB 0
40 #define SHIELD_NONE 1
41 #define SHIELD_AGM01 2
42 #define SHIELD_AGM02 3
43 #define SHIELD_AGMP03 4
44 #define SHIELD_AGM04 5
45 #define THIS_SHIELD SHIELD_AGM04
46 
47 ///@}
48 
49 #endif /* _FRDM_STBC_AGM04_SHIELD_H_ */