annotate src/eeprom_rs232.inc @ 248:afe73e1a0181

support hardware_flag for all possible hardware combinations
author heinrichsweikamp
date Mon, 16 Mar 2015 15:58:51 +0100
parents 5a4801918be9
children b455b31ce022
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
heinrichsweikamp
parents:
diff changeset
3 ; File eeprom_rs232.inc
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
heinrichsweikamp
parents:
diff changeset
11 write_int_eeprom macro eeprom_address
heinrichsweikamp
parents:
diff changeset
12 movlw eeprom_address
heinrichsweikamp
parents:
diff changeset
13 call write_int_eeprom_1
heinrichsweikamp
parents:
diff changeset
14 endm
heinrichsweikamp
parents:
diff changeset
15
heinrichsweikamp
parents:
diff changeset
16 read_int_eeprom macro eeprom_address
heinrichsweikamp
parents:
diff changeset
17 movlw eeprom_address
heinrichsweikamp
parents:
diff changeset
18 call read_int_eeprom_1
heinrichsweikamp
parents:
diff changeset
19 endm
heinrichsweikamp
parents:
diff changeset
20
heinrichsweikamp
parents:
diff changeset
21 extern write_int_eeprom_1
heinrichsweikamp
parents:
diff changeset
22 extern read_int_eeprom_1
heinrichsweikamp
parents:
diff changeset
23 extern read_eeprom
heinrichsweikamp
parents:
diff changeset
24 extern write_eeprom
heinrichsweikamp
parents:
diff changeset
25 extern enable_rs232
heinrichsweikamp
parents:
diff changeset
26 extern disable_rs232
heinrichsweikamp
parents:
diff changeset
27 extern rs232_get_byte
heinrichsweikamp
parents:
diff changeset
28 extern rs232_wait_tx
113
heinrichsweikamp
parents: 0
diff changeset
29 extern rs232_wait_tx2
187
669b5d00706d CHANGE: Longer timeout (4 min) for calibration menu
heinrichsweikamp
parents: 113
diff changeset
30 extern enable_ir_s8
224
5a4801918be9 temporally disable "Copy disable flags from digital input" routine
heinrichsweikamp
parents: 187
diff changeset
31 extern disable_ir_s8