Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BMI160 by
Revision 18:aa7eec9f0484, committed 2017-06-21
- Comitter:
- smatthew
- Date:
- Wed Jun 21 00:55:17 2017 +0000
- Parent:
- 17:0ae99e97bcf5
- Commit message:
- updated register enumeration
Changed in this revision
| bmi160.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/bmi160.h Thu Jan 05 21:11:47 2017 +0000
+++ b/bmi160.h Wed Jun 21 00:55:17 2017 +0000
@@ -152,17 +152,17 @@
MAG_IF_2, ///<Magnetometer address to read
MAG_IF_3, ///<Magnetometer address to write
MAG_IF_4, ///<Magnetometer data to write
- INT_EN_0, ///<Interrupt enable bits
- INT_EN_1, ///<Interrupt enable bits
- INT_EN_2, ///<Interrupt enable bits
- INT_OUT_CTRL, ///<Contains the behavioral configuration of INT pins
- INT_LATCH, ///<Contains the interrupt rest bit and the interrupt
+ INT_EN_0 = 0x50, ///<Interrupt enable bits
+ INT_EN_1 = 0x51, ///<Interrupt enable bits
+ INT_EN_2 = 0x52, ///<Interrupt enable bits
+ INT_OUT_CTRL = 0x53, ///<Contains the behavioral configuration of INT pins
+ INT_LATCH = 0x54, ///<Contains the interrupt rest bit and the interrupt
///<mode selection
- INT_MAP_0, ///<Controls which interrupt signals are mapped to the
+ INT_MAP_0 = 0x55, ///<Controls which interrupt signals are mapped to the
///<INT1 and INT2 pins
- INT_MAP_1, ///<Controls which interrupt signals are mapped to the
+ INT_MAP_1 = 0x56, ///<Controls which interrupt signals are mapped to the
///<INT1 and INT2 pins
- INT_MAP_2, ///<Controls which interrupt signals are mapped to the
+ INT_MAP_2 = 0x57, ///<Controls which interrupt signals are mapped to the
///<INT1 and INT2 pins
INT_DATA_0, ///<Contains the data source definition for the two
///<interrupt groups
@@ -181,8 +181,8 @@
///<no motion interrupts
INT_MOTION_3, ///<Contains the configuration for the any motion and
///<no motion interrupts
- INT_TAP_0, ///<Contains the configuration for the tap interrupts
- INT_TAP_1, ///<Contains the configuration for the tap interrupts
+ INT_TAP_0 = 0x63, ///<Contains the configuration for the tap interrupts
+ INT_TAP_1 = 0x64, ///<Contains the configuration for the tap interrupts
INT_ORIENT_0, ///<Contains the configuration for the oeientation
///<interrupt
INT_ORIENT_1, ///<Contains the configuration for the oeientation
