annotate src/i2c.inc @ 353:573f2251cf49

NEW: Quit Simulator automatically when starting a real dive
author heinrichsweikamp
date Tue, 28 Jul 2015 16:32:55 +0200
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