diff options
author | Ash Charles <ashcharles@gmail.com> | 2014-05-13 09:51:37 -0700 |
---|---|---|
committer | Ash Charles <ashcharles@gmail.com> | 2014-05-13 10:01:17 -0700 |
commit | 3b72e31e83d1075096a7ee99896885998bd3d6fd (patch) | |
tree | 027cc393177845b3a4e00b477b3f11fabce719af /src/drivers/drv_gps.h | |
parent | e5508a1aa07fb4a0e76dfd077c5beaa114f21695 (diff) | |
download | px4-firmware-3b72e31e83d1075096a7ee99896885998bd3d6fd.tar.gz px4-firmware-3b72e31e83d1075096a7ee99896885998bd3d6fd.tar.bz2 px4-firmware-3b72e31e83d1075096a7ee99896885998bd3d6fd.zip |
[l3gd20] Add support for L3G4200D chip
The L3G4200D chip is very similar to the L3GD20[H] parts and can use
the same driver with minor adjustments. There are four differences:
* WHO_AM_I register is 0xD3 (not 0xD4 or 0xD7):
- added an extra case to the driver probe
* Sampling rates are marginally different:
- setting sampling rate now depends on the detected chip
* I2C address range is different:
- no changes as the driver doesn't support i2c access
* the L3G4200D has a self-test function:
- no changes---chose not to implement feature in driver
Signed-off-by: Ash Charles <ashcharles@gmail.com>
Diffstat (limited to 'src/drivers/drv_gps.h')
0 files changed, 0 insertions, 0 deletions