0
|
1 ;=============================================================================
|
|
2 ;
|
|
3 ; File i2c.inc
|
|
4 ;
|
|
5 ;
|
|
6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
|
|
7 ;=============================================================================
|
|
8 ; HISTORY
|
|
9 ; 2012-10-24 : [mH] Creation
|
|
10
|
560
|
11 extern I2C_RX_accelerometer
|
|
12 extern I2C_init_accelerometer
|
0
|
13 extern I2C_sleep_accelerometer
|
|
14 extern I2C_init_compass
|
|
15 extern I2C_sleep_compass
|
|
16 extern I2C_RX_compass
|
113
|
17 extern lt2942_get_voltage ; Read battery voltage registers
|
|
18 extern lt2942_get_accumulated_charge ; Get battery gauge registers
|
|
19 extern lt2942_init ; Init
|
|
20 extern lt2942_get_status ; Get status |