ISSDK
1.8
IoT Sensing Software Development Kit
boardkit
lpcxpresso54114
frdm-stbc-agmp03
frdm_stbc_agmp03_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
/*! @file: frdm_stbc_agmp03_shield.h
10
* @brief The frdm_stbc_agmp03_shield.h file declares mapping of the Kinetis
11
Device peripherals to the lpcxpresso54114 and frmd-stbc-agmp03 shield.
12
*/
13
14
#ifndef _FRDM_STBC_AGMP03_SHIELD_H_
15
#define _FRDM_STBC_AGMP03_SHIELD_H_
16
17
/* The shield name */
18
#define SHIELD_NAME "FRDM-STBC-AGMP03"
19
20
// FXLS8962 Sensor Information
21
#define FXLS8962_I2C_ADDR 0x18
22
#define FXLS8962_CS D10
23
#define FXLS8962_MOSI D11
24
#define FXLS8962_MISO D12
25
#define FXLS8962_SCLK D13
26
#define FXLS8962_INT1 D2
27
#define FXLS8962_INT2 A0
28
29
// FXAS21002 Sensor Information
30
#define FXAS21002_I2C_ADDR 0x20
31
#define FXAS21002_INT1 D8
32
#define FXAS21002_INT2 A2
33
#define FXAS21002_CS A1
34
35
// MPL3115 Sensor Information
36
#define MPL3115_I2C_ADDR 0x60
37
#define MPL3115_INT1 D7
38
39
// MAG3110 Sensor Information
40
#define MAG3110_I2C_ADDR 0x0E
41
#define MAG3110_INT1 D5
42
43
// FRDM-STBC-AGMP03 Shield Reset
44
#define RESET_GPIO A3
45
46
///@name Shield Parameters
47
/// Use this section to define the shield board: 3 bit code 0 to 7 inclusive
48
/// transmitted in bits 7-5 for display purposes only.
49
///@{
50
#define SHIELD_MULTIB 0
51
#define SHIELD_NONE 1
52
#define SHIELD_AGM01 2
53
#define SHIELD_AGM02 3
54
#define SHIELD_AGMP03 4
55
#define SHIELD_AGM04 5
56
#define THIS_SHIELD SHIELD_AGMP03
57
58
// spare 5 to 7 inclusive
59
///@}
60
61
#endif
/* _FRDM_STBC_AGMP03_SHIELD_H_ */
© Copyright 2016-2020 NXP. All Rights Reserved.