annotate src/eeprom_rs232.inc @ 628:cd58f7fc86db

3.05 stable work
author heinrichsweikamp
date Thu, 19 Sep 2019 12:01:29 +0200
parents c40025d8e750
children 237931377539
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
3 ; File eeprom_rs232.inc combined next generation V3.03.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
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
29 IFDEF _external_sensor
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
30 extern enable_ir_s8
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
31 extern disable_ir_s8
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
32 ENDIF
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
33
0
heinrichsweikamp
parents:
diff changeset
34 extern write_int_eeprom_1
heinrichsweikamp
parents:
diff changeset
35 extern read_int_eeprom_1
heinrichsweikamp
parents:
diff changeset
36 extern read_eeprom
heinrichsweikamp
parents:
diff changeset
37 extern write_eeprom
582
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
38 extern update_battery_registers
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
39 extern retrieve_battery_registers
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
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
42 extern do_logoffset_common_write
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
43 extern do_logoffset_common_read
b455b31ce022 work on 2.97 stable
heinrichsweikamp
parents: 224
diff changeset
44 extern eeprom_reset_logbook_pointers
623
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
45
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
46 extern reset_battery_pointer ; reset battery pointer 0x07-0x0C and battery_gauge
c40025d8e750 3.03 beta released
heinrichsweikamp
parents: 582
diff changeset
47 extern reset_battery_internal_only ; reset internal battery registers only