annotate src/i2c.inc @ 193:901c10831e4e

reset voting logic on sensor switch
author heinrichsweikamp
date Mon, 03 Nov 2014 17:31:03 +0100
parents f3062a611eef
children b7eb98dbd800
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
heinrichsweikamp
parents:
diff changeset
11 extern I2C_RX_accelerometer
heinrichsweikamp
parents:
diff changeset
12 extern I2C_init_accelerometer
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_init_compass_fast
heinrichsweikamp
parents:
diff changeset
16 extern I2C_sleep_compass
heinrichsweikamp
parents:
diff changeset
17 extern I2C_RX_compass
113
heinrichsweikamp
parents: 0
diff changeset
18 extern lt2942_get_voltage ; Read battery voltage registers
heinrichsweikamp
parents: 0
diff changeset
19 extern lt2942_get_accumulated_charge ; Get battery gauge registers
heinrichsweikamp
parents: 0
diff changeset
20 extern lt2942_init ; Init
heinrichsweikamp
parents: 0
diff changeset
21 extern lt2942_get_status ; Get status