annotate src/eeprom_rs232.inc @ 629:237931377539

3.07 stable release
author heinrichsweikamp
date Fri, 29 Nov 2019 18:48:11 +0100
parents c40025d8e750
children 185ba2f91f59
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
629
237931377539 3.07 stable release
heinrichsweikamp
parents: 623
diff changeset
3 ; File eeprom_rs232.inc combined next generation V3.06.1
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
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
28
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
29 extern enable_ir_s8
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
30 extern disable_ir_s8
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
31
0
heinrichsweikamp
parents:
diff changeset
32 extern write_int_eeprom_1
heinrichsweikamp
parents:
diff changeset
33 extern read_int_eeprom_1
heinrichsweikamp
parents:
diff changeset
34 extern read_eeprom
heinrichsweikamp
parents:
diff changeset
35 extern write_eeprom
629
237931377539 3.07 stable release
heinrichsweikamp
parents: 623
diff changeset
36
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
37 extern update_battery_registers
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
38 extern retrieve_battery_registers
629
237931377539 3.07 stable release
heinrichsweikamp
parents: 623
diff changeset
39
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
40 extern vault_decodata_into_eeprom
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
41 extern restore_decodata_from_eeprom
629
237931377539 3.07 stable release
heinrichsweikamp
parents: 623
diff changeset
42
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
43 extern do_logoffset_common_write
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
44 extern do_logoffset_common_read
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
45 extern eeprom_reset_logbook_pointers
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
46
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
47 extern reset_battery_pointer ; reset battery pointer 0x07-0x0C and battery_gauge
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
48 extern reset_battery_internal_only ; reset internal battery registers only