/* * Copyright (c) 2006-2018, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2015-1-11 RT_learning the first version */ #ifndef __BMI055_H__ #define __BMI055_H__ #include /**************************************************************************************************/ /************************************Register map accelerometer************************************/ #define BMI055_ACC_I2C_ADDR1 0x18 //SDO is low(GND) #define BMI055_ACC_I2C_ADDR2 0x19 //SDO is high(VCC) #define BMI055_ACC_DEFAULT_ADDRESS BMI055_ACC_I2C_ADDR2 //in the LPC54102 SPM-S #define BMI055_ACC_BGW_CHIPID_VALUE 0xFA #define BMI055_ACC_BGW_CHIPID 0x00 /**