BMI160 Initial
Dependents: MAX32630HSP3_IMU_HelloWorld MAX32630HSP3_IMU_HelloWorld MAX32630HSP3_Pitch_Charles Maxim_Squeeks
bmi160_defs.h File Reference
Copyright (C) 2015 - 2016 Bosch Sensortec GmbH. More...
Go to the source code of this file.
Data Structures | |
| struct | bmi160_int_status_bits |
| bmi160 interrupt status bits structure More... | |
| union | bmi160_int_status |
| bmi160 interrupt status structure More... | |
| struct | bmi160_sensor_data |
| bmi160 sensor data structure which comprises of accel data More... | |
| struct | bmi160_aux_data |
| bmi160 aux data structure which comprises of 8 bytes of accel data More... | |
| struct | bmi160_foc_conf |
| bmi160 FOC configuration structure More... | |
| struct | bmi160_offsets |
| bmi160 accel gyro offsets More... | |
| struct | bmi160_aux_fifo_data |
| FIFO aux. sensor data structure. More... | |
| struct | bmi160_cfg |
| bmi160 sensor configuration structure More... | |
| struct | bmi160_aux_cfg |
| Aux sensor configuration structure. More... | |
| struct | bmi160_fifo_frame |
| This structure holds the information for usage of FIFO by the user. More... | |
UTILITY MACROS | |
| enum | bmi160_int_status_sel |
bmi160 interrupt status selection enum. More... | |
| enum | bmi160_select_sensor |
bmi160 sensor select structure More... | |
| enum | bmi160_step_detect_mode { , BMI160_STEP_DETECT_USER_DEFINE } |
bmi160 sensor step detector mode structure More... | |
| enum | bm160_aux_read_len |
enum for auxiliary burst read selection More... | |
| enum | bmi160_int_channel { BMI160_INT_CHANNEL_NONE, BMI160_INT_CHANNEL_1, BMI160_INT_CHANNEL_2, BMI160_INT_CHANNEL_BOTH } |
bmi160 interrupt channel selection structure More... | |
| enum | bmi160_int_types { BMI160_ACC_ANY_MOTION_INT, BMI160_ACC_SIG_MOTION_INT, BMI160_STEP_DETECT_INT, BMI160_ACC_DOUBLE_TAP_INT, BMI160_ACC_SINGLE_TAP_INT, BMI160_ACC_ORIENT_INT, BMI160_ACC_FLAT_INT, BMI160_ACC_HIGH_G_INT, BMI160_ACC_LOW_G_INT, BMI160_ACC_SLOW_NO_MOTION_INT, BMI160_ACC_GYRO_DATA_RDY_INT, BMI160_ACC_GYRO_FIFO_FULL_INT, BMI160_ACC_GYRO_FIFO_WATERMARK_INT, BMI160_FIFO_TAG_INT_PIN } |
| enum | bmi160_any_sig_motion_active_interrupt_state { BMI160_BOTH_ANY_SIG_MOTION_DISABLED = -1, BMI160_ANY_MOTION_ENABLED, BMI160_SIG_MOTION_ENABLED } |
bmi160 active state of any & sig motion interrupt. More... | |
| typedef int8_t(* | bmi160_com_fptr_t )(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint16_t len) |
| typedef void(* | bmi160_delay_fptr_t )(uint32_t period) |
Detailed Description
Copyright (C) 2015 - 2016 Bosch Sensortec GmbH.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of the copyright holder nor the names of the contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
The information provided is believed to be accurate and reliable. The copyright holder assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of the copyright holder.
- Date:
- 11 Jan 2018
- Version:
- 3.7.5
Definition in file bmi160_defs.h.
Enumeration Type Documentation
| enum bm160_aux_read_len |
enum for auxiliary burst read selection
Definition at line 957 of file bmi160_defs.h.
bmi160 active state of any & sig motion interrupt.
- Enumerator:
BMI160_BOTH_ANY_SIG_MOTION_DISABLED Both any & sig motion are disabled
BMI160_ANY_MOTION_ENABLED Any-motion selected
BMI160_SIG_MOTION_ENABLED Sig-motion selected
Definition at line 1041 of file bmi160_defs.h.
| enum bmi160_int_channel |
bmi160 interrupt channel selection structure
- Enumerator:
BMI160_INT_CHANNEL_NONE Un-map both channels
BMI160_INT_CHANNEL_1 interrupt Channel 1
BMI160_INT_CHANNEL_2 interrupt Channel 2
BMI160_INT_CHANNEL_BOTH Map both channels
Definition at line 996 of file bmi160_defs.h.
bmi160 interrupt status selection enum.
Definition at line 748 of file bmi160_defs.h.
| enum bmi160_int_types |
- Enumerator:
Definition at line 1007 of file bmi160_defs.h.
| enum bmi160_select_sensor |
bmi160 sensor select structure
Definition at line 937 of file bmi160_defs.h.
bmi160 sensor step detector mode structure
Definition at line 946 of file bmi160_defs.h.
Generated on Wed Jul 13 2022 00:38:35 by
1.7.2