annotate src/eeprom_rs232.inc @ 59:3e65636a8462

Backlight level in eco mode
author heinrichsweikamp
date Sun, 01 Dec 2013 09:08:31 +0100
parents 11d4fc797f74
children f3062a611eef
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
heinrichsweikamp
parents:
diff changeset
29 extern enable_ir
heinrichsweikamp
parents:
diff changeset
30 extern disable_ir