ISSDK  1.8
IoT Sensing Software Development Kit
frdm_stbc_agm01_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_agm01_shield.h
11  * @brief The frdm_stbc_agm01_shield.h file declares mapping of the Kinetis
12  Device peripherals to the lpcxpresso54114 and frmd-stbc-agm01 shield
13  */
14 
15 #ifndef _FRDM_STBC_AGM01_SHIELD_H_
16 #define _FRDM_STBC_AGM01_SHIELD_H_
17 
18 /* The shield name */
19 #define SHIELD_NAME "FRDM-STBC-AGM01"
20 
21 // FXOS8700 Sensor Information
22 #define FXOS8700_I2C_ADDR 0x1E
23 #define FXOS8700_INT1 D2
24 #define FXOS8700_INT2 D4
25 #define FXOS8700_CS A2
26 
27 // FXAS21002 Sensor Information
28 #define FXAS21002_I2C_ADDR 0x20
29 #define FXAS21002_INT1 D5
30 #define FXAS21002_CS D10
31 
32 // FRDM-STBC-AGM01 Shield Reset
33 #define RESET_GPIO A3
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_AGM01
46 
47 // spare 5 to 7 inclusive
48 ///@}
49 
50 #endif /* _FRDM_STBC_AGM01_SHIELD_H_ */