comparison src/eeprom_rs232.inc @ 582:b455b31ce022

work on 2.97 stable
author heinrichsweikamp
date Mon, 26 Feb 2018 16:40:28 +0100 (2018-02-26)
parents 5a4801918be9
children c40025d8e750
comparison
equal deleted inserted replaced
581:f5de1ff88814 582:b455b31ce022
1 ;============================================================================= 1 ;=============================================================================
2 ; 2 ;
3 ; File eeprom_rs232.inc 3 ; File eeprom_rs232.inc V2.98
4 ; 4 ;
5 ; 5 ;
6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. 6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
7 ;============================================================================= 7 ;=============================================================================
8 ; HISTORY 8 ; HISTORY
9 ; 2011-08-03 : [mH] moving from OSTC code 9 ; 2011-08-03 : [mH] moving from OSTC code
10 10
11
11 write_int_eeprom macro eeprom_address 12 write_int_eeprom macro eeprom_address
12 movlw eeprom_address 13 movlw eeprom_address
13 call write_int_eeprom_1 14 call write_int_eeprom_1
14 endm 15 endm
15 16
16 read_int_eeprom macro eeprom_address 17 read_int_eeprom macro eeprom_address
17 movlw eeprom_address 18 movlw eeprom_address
18 call read_int_eeprom_1 19 call read_int_eeprom_1
19 endm 20 endm
21
22
23 extern enable_rs232
24 extern disable_rs232
25 extern rs232_get_byte
26 extern rs232_wait_tx
27 extern rs232_wait_tx2
28 extern enable_ir_s8
29 extern disable_ir_s8
20 30
21 extern write_int_eeprom_1 31 extern write_int_eeprom_1
22 extern read_int_eeprom_1 32 extern read_int_eeprom_1
23 extern read_eeprom 33 extern read_eeprom
24 extern write_eeprom 34 extern write_eeprom
25 extern enable_rs232 35 extern update_battery_registers
26 extern disable_rs232 36 extern vault_decodata_into_eeprom
27 extern rs232_get_byte 37 extern restore_decodata_from_eeprom
28 extern rs232_wait_tx 38 extern do_logoffset_common_write
29 extern rs232_wait_tx2 39 extern do_logoffset_common_read
30 extern enable_ir_s8 40 extern reset_battery_internal_only
31 extern disable_ir_s8 41 extern eeprom_reset_logbook_pointers