annotate src/i2c.inc @ 562:8b7ea27ea1fa

seperate desat and sat multipliers for GF and Non-GF modes. Set to 100/100 as default in GF mode
author heinrichsweikamp
date Sat, 03 Feb 2018 15:17:01 +0100
parents b7eb98dbd800
children ca4556fb60b9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
heinrichsweikamp
parents:
diff changeset
3 ; File i2c.inc
heinrichsweikamp
parents:
diff changeset
4 ;
heinrichsweikamp
parents:
diff changeset
5 ;
heinrichsweikamp
parents:
diff changeset
6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
heinrichsweikamp
parents:
diff changeset
7 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
8 ; HISTORY
heinrichsweikamp
parents:
diff changeset
9 ; 2012-10-24 : [mH] Creation
heinrichsweikamp
parents:
diff changeset
10
560
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 113
diff changeset
11 extern I2C_RX_accelerometer
b7eb98dbd800 bump to 2.96beta (REFACTORED VERSION)
heinrichsweikamp
parents: 113
diff changeset
12 extern I2C_init_accelerometer
0
heinrichsweikamp
parents:
diff changeset
13 extern I2C_sleep_accelerometer
heinrichsweikamp
parents:
diff changeset
14 extern I2C_init_compass
heinrichsweikamp
parents:
diff changeset
15 extern I2C_sleep_compass
heinrichsweikamp
parents:
diff changeset
16 extern I2C_RX_compass
113
heinrichsweikamp
parents: 0
diff changeset
17 extern lt2942_get_voltage ; Read battery voltage registers
heinrichsweikamp
parents: 0
diff changeset
18 extern lt2942_get_accumulated_charge ; Get battery gauge registers
heinrichsweikamp
parents: 0
diff changeset
19 extern lt2942_init ; Init
heinrichsweikamp
parents: 0
diff changeset
20 extern lt2942_get_status ; Get status