annotate src/eeprom_rs232.inc @ 618:7b3903536213

work on new battery menu
author heinrichsweikamp
date Mon, 04 Feb 2019 22:57:24 +0100
parents b455b31ce022
children c40025d8e750
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
3 ; File eeprom_rs232.inc V2.98
0
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 ; 2011-08-03 : [mH] moving from OSTC code
heinrichsweikamp
parents:
diff changeset
10
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
11
0
heinrichsweikamp
parents:
diff changeset
12 write_int_eeprom macro eeprom_address
heinrichsweikamp
parents:
diff changeset
13 movlw eeprom_address
heinrichsweikamp
parents:
diff changeset
14 call write_int_eeprom_1
heinrichsweikamp
parents:
diff changeset
15 endm
heinrichsweikamp
parents:
diff changeset
16
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
17 read_int_eeprom macro eeprom_address
0
heinrichsweikamp
parents:
diff changeset
18 movlw eeprom_address
heinrichsweikamp
parents:
diff changeset
19 call read_int_eeprom_1
heinrichsweikamp
parents:
diff changeset
20 endm
heinrichsweikamp
parents:
diff changeset
21
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
22
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
23 extern enable_rs232
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
24 extern disable_rs232
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
25 extern rs232_get_byte
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
26 extern rs232_wait_tx
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
27 extern rs232_wait_tx2
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
28 extern enable_ir_s8
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
29 extern disable_ir_s8
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
30
0
heinrichsweikamp
parents:
diff changeset
31 extern write_int_eeprom_1
heinrichsweikamp
parents:
diff changeset
32 extern read_int_eeprom_1
heinrichsweikamp
parents:
diff changeset
33 extern read_eeprom
heinrichsweikamp
parents:
diff changeset
34 extern write_eeprom
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
35 extern update_battery_registers
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
36 extern vault_decodata_into_eeprom
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
37 extern restore_decodata_from_eeprom
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
38 extern do_logoffset_common_write
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
39 extern do_logoffset_common_read
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
40 extern reset_battery_internal_only
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
41 extern eeprom_reset_logbook_pointers