annotate src/eeprom_rs232.inc @ 185:f515712d8cd6

BUGFIX: Check min and max values after PC configuration properly
author heinrichsweikamp
date Sat, 18 Oct 2014 10:03:28 +0200
parents f3062a611eef
children 669b5d00706d
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
0
heinrichsweikamp
parents:
diff changeset
30 extern enable_ir
heinrichsweikamp
parents:
diff changeset
31 extern disable_ir