-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mpu9250 misc cleanup (clang-tidy, posix fixes, header split)
- Loading branch information
Showing
12 changed files
with
183 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
// ak8963 register address and bit definitions | ||
#define AK8963_I2C_ADDR 0x0C | ||
#define AK8963_DEVICE_ID 0x48 | ||
#define AK8963REG_WIA 0x00 | ||
#define AK8963REG_ST1 0x02 | ||
#define AK8963REG_CNTL1_ADDR 0x0A | ||
#define AK8963REG_CNTL2_ADDR 0x0B | ||
#define AK8963_CONTINUOUS_16BIT 0x16 | ||
#define AK8963_SELFTEST_MODE 0x08 | ||
#define AK8963_RESET 0x01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.