Mercurial > public > hwos_code
comparison src/i2c.inc @ 604:ca4556fb60b9
bump to 2.99beta, work on 3.00 stable
author | heinrichsweikamp |
---|---|
date | Thu, 22 Nov 2018 19:47:26 +0100 |
parents | b7eb98dbd800 |
children | b87f23fae743 |
comparison
equal
deleted
inserted
replaced
603:00b24fb4324d | 604:ca4556fb60b9 |
---|---|
1 ;============================================================================= | 1 ;============================================================================= |
2 ; | 2 ; |
3 ; File i2c.inc | 3 ; File i2c.inc V2.99c |
4 ; | 4 ; |
5 ; | 5 ; |
6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. | 6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. |
7 ;============================================================================= | 7 ;============================================================================= |
8 ; HISTORY | 8 ; HISTORY |
9 ; 2012-10-24 : [mH] Creation | 9 ; 2012-10-24 : [mH] Creation |
10 | 10 |
11 extern I2C_RX_accelerometer | 11 extern I2C_RX_accelerometer |
12 extern I2C_init_accelerometer | 12 extern I2C_init_accelerometer |
13 extern I2C_sleep_accelerometer | 13 extern I2C_sleep_accelerometer |
14 extern I2C_init_compass | 14 extern I2C_init_compass |
15 extern I2C_sleep_compass | 15 extern I2C_sleep_compass |
16 extern I2C_RX_compass | 16 extern I2C_RX_compass |
17 extern lt2942_get_voltage ; Read battery voltage registers | 17 extern lt2942_get_voltage ; read battery voltage registers |
18 extern lt2942_get_accumulated_charge ; Get battery gauge registers | 18 extern lt2942_get_accumulated_charge ; get battery gauge registers |
19 extern lt2942_init ; Init | 19 extern lt2942_init ; init |
20 extern lt2942_get_status ; Get status | 20 extern lt2942_get_status ; get status |
21 | |
22 IFDEF _rx_functions | |
23 extern I2C_probe_OSTC_rx ; set ostc_rx_present bit if present | |
24 extern I2C_get_tankdata ; get the tank data | |
25 extern I2C_update_OSTC_rx ; load new firmware into RX processor | |
26 ENDIF |