51 lines
1.2 KiB
C
51 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2015, Freescale Semiconductor, Inc.
|
|
* Copyright 2016-2017 NXP
|
|
* All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
/**
|
|
* @file frdm_stbc_agm01_shield.h
|
|
* @brief The frdm_stbc_agm01_shield.h file declares mapping of the Kinetis
|
|
Device peripherals to the lpcxpresso54114 and frmd-stbc-agm01 shield
|
|
*/
|
|
|
|
#ifndef _FRDM_STBC_AGM01_SHIELD_H_
|
|
#define _FRDM_STBC_AGM01_SHIELD_H_
|
|
|
|
/* The shield name */
|
|
#define SHIELD_NAME "FRDM-STBC-AGM01"
|
|
|
|
// FXOS8700 Sensor Information
|
|
#define FXOS8700_I2C_ADDR 0x1E
|
|
#define FXOS8700_INT1 D2
|
|
#define FXOS8700_INT2 D4
|
|
#define FXOS8700_CS A2
|
|
|
|
// FXAS21002 Sensor Information
|
|
#define FXAS21002_I2C_ADDR 0x20
|
|
#define FXAS21002_INT1 D5
|
|
#define FXAS21002_CS D10
|
|
|
|
// FRDM-STBC-AGM01 Shield Reset
|
|
#define RESET_GPIO A3
|
|
|
|
///@name Shield Parameters
|
|
/// Use this section to define the shield board: 3 bit code 0 to 7 inclusive
|
|
/// transmitted in bits 7-5 for display purposes only.
|
|
///@{
|
|
#define SHIELD_MULTIB 0
|
|
#define SHIELD_NONE 1
|
|
#define SHIELD_AGM01 2
|
|
#define SHIELD_AGM02 3
|
|
#define SHIELD_AGMP03 4
|
|
#define SHIELD_AGM04 5
|
|
#define THIS_SHIELD SHIELD_AGM01
|
|
|
|
// spare 5 to 7 inclusive
|
|
///@}
|
|
|
|
#endif /* _FRDM_STBC_AGM01_SHIELD_H_ */
|