ISSDK  1.8
IoT Sensing Software Development Kit
frdm_stbc_agm01_shield.h
Go to the documentation of this file.
1 /*
2  * Copyright 2018 NXP
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 /**
9  * @file frdm_stbc_agm01_shield.h
10  * @brief The 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_AGM01_SHIELD_H_
15 #define _FRDM_STBC_AGM01_SHIELD_H_
16 
17 /* The shield name */
18 #define SHIELD_NAME "FRDM-STBC-AGM01"
19 
20 // FXOS8700 Sensor Information
21 #define FXOS8700_I2C_ADDR 0x1E
22 #define FXOS8700_INT1 D2
23 #define FXOS8700_INT2 D4
24 #define FXOS8700_CS A2
25 
26 // FXAS21002 Sensor Information
27 #define FXAS21002_I2C_ADDR 0x20
28 #define FXAS21002_INT1 D5
29 #define FXAS21002_CS D10
30 
31 // FRDM-STBC-AGM01 Shield Reset
32 #define RESET_GPIO A3
33 
34 ///@name Shield Parameters
35 /// Use this section to define the shield board: 3 bit code 0 to 7 inclusive
36 /// transmitted in bits 7-5 for display purposes only.
37 ///@{
38 #define SHIELD_MULTIB 0
39 #define SHIELD_NONE 1
40 #define SHIELD_AGM01 2
41 #define SHIELD_AGM02 3
42 #define SHIELD_AGMP03 4
43 #define SHIELD_AGM04 5
44 #define THIS_SHIELD SHIELD_AGM01
45 
46 // spare 5 to 7 inclusive
47 ///@}
48 
49 #endif /* _FRDM_STBC_AGM01_SHIELD_H_ */