ISSDK  1.8
IoT Sensing Software Development Kit
frdm_stbc_agm02_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_stbc_agm01_shield.h
10 * @brief The \b frdm_stbc_agm01_shield.h file declares mapping of the Kinetis
11  Device peripherals to the frmd-k64f and frmd-stbc-agm01 shield
12 */
13 
14 #ifndef _FRDM_STBC_AGM02_SHIELD_H_
15 #define _FRDM_STBC_AGM02_SHIELD_H_
16 
17 /* The shield name */
18 #define SHIELD_NAME "FRDM-STBC-AGM02"
19 
20 // MAG3110 Sensor Information
21 #define MAG3110_I2C_ADDR 0x0E
22 #define MAG3110_INT1 D4
23 
24 // FXLS8952C Sensor Information
25 #define FXLS8952C_I2C_ADDR 0x18
26 #define FXLS8952C_INT1 D3
27 #define FXLS8952C_INT2 D2
28 
29 // FXAS21002 Sensor Information
30 #define FXAS21002_I2C_ADDR 0x20
31 #define FXAS21002_CS D10
32 #define FXAS21002_INT1 D5
33 #define FXAS21002_INT2 D8
34 
35 // FRDM-STBC-AGM02 Shield Reset
36 #define RESET_GPIO A3
37 
38 ///@name Shield Parameters
39 /// Use this section to define the shield board: 3 bit code 0 to 7 inclusive
40 /// transmitted in bits 7-5 for display purposes only.
41 ///@{
42 #define SHIELD_MULTIB 0
43 #define SHIELD_NONE 1
44 #define SHIELD_AGM01 2
45 #define SHIELD_AGM02 3
46 #define THIS_SHIELD SHIELD_AGM02
47 
48 // spare 5 to 7 inclusive
49 ///@}
50 
51 #endif /* _FRDM_STBC_AGM02_SHIELD_H_ */