Mercurial > public > hwos_code
comparison src/i2c.inc @ 628:cd58f7fc86db
3.05 stable work
author | heinrichsweikamp |
---|---|
date | Thu, 19 Sep 2019 12:01:29 +0200 |
parents | c40025d8e750 |
children | 185ba2f91f59 |
comparison
equal
deleted
inserted
replaced
627:bf5fee575701 | 628:cd58f7fc86db |
---|---|
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 | |
13 extern I2C_sleep_accelerometer | |
14 extern I2C_init_compass | 12 extern I2C_init_compass |
15 extern I2C_sleep_compass | 13 extern I2C_sleep_compass |
16 | 14 |
17 extern lt2942_init ; init gauge IC | 15 extern lt2942_init ; init gauge IC |
18 extern lt2942_get_status ; read gauge IC status | 16 extern lt2942_get_status ; read gauge IC status |
22 extern lt2942_charge_done ; set battery gauge register to fully charged | 20 extern lt2942_charge_done ; set battery gauge register to fully charged |
23 | 21 |
24 IFDEF _rx_functions | 22 IFDEF _rx_functions |
25 extern I2C_probe_OSTC_rx ; set ostc_rx_present bit if present | 23 extern I2C_probe_OSTC_rx ; set ostc_rx_present bit if present |
26 extern I2C_get_tankdata ; get the tank data | 24 extern I2C_get_tankdata ; get the tank data |
25 ENDIF | |
26 | |
27 IFDEF _rx_update | |
27 extern I2C_update_OSTC_rx ; load new firmware into RX processor | 28 extern I2C_update_OSTC_rx ; load new firmware into RX processor |
28 ENDIF | 29 ENDIF |
29 | 30 |
30 IFDEF _compass | 31 IFDEF _compass |
31 extern I2C_RX_compass | 32 extern I2C_RX_compass |