Mercurial > public > hwos_code
comparison src/i2c.inc @ 640:8c1f1f334275
3.13 release
author | heinrichsweikamp |
---|---|
date | Thu, 29 Oct 2020 09:29:15 +0100 |
parents | 185ba2f91f59 |
children | 7d8a4c60ec1a |
comparison
equal
deleted
inserted
replaced
639:0ff82370991d | 640:8c1f1f334275 |
---|---|
11 extern I2C_RX_accelerometer | 11 extern I2C_RX_accelerometer |
12 extern I2C_init_compass | 12 extern I2C_init_compass |
13 extern I2C_sleep_compass | 13 extern I2C_sleep_compass |
14 | 14 |
15 extern lt2942_init ; init gauge IC | 15 extern lt2942_init ; init gauge IC |
16 extern lt2942_sleep ; sleep gauge IC | |
16 extern lt2942_get_status ; read gauge IC status | 17 extern lt2942_get_status ; read gauge IC status |
17 extern lt2942_get_voltage ; read battery voltage registers | 18 extern lt2942_get_voltage ; read battery voltage registers |
18 extern lt2942_get_temperature ; read battery temperature | 19 extern lt2942_get_temperature ; read battery temperature |
19 extern lt2942_get_accumulated_charge ; read battery gauge register | 20 extern lt2942_get_accumulated_charge ; read battery gauge register |
20 extern lt2942_charge_done ; set battery gauge register to fully charged | 21 extern lt2942_charge_done ; set battery gauge register to fully charged |