diff src/eeprom_rs232.inc @ 0:11d4fc797f74

init
author heinrichsweikamp
date Wed, 24 Apr 2013 19:22:45 +0200
parents
children f3062a611eef
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eeprom_rs232.inc	Wed Apr 24 19:22:45 2013 +0200
@@ -0,0 +1,30 @@
+;=============================================================================
+;
+;   File eeprom_rs232.inc
+;
+;
+;   Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
+;=============================================================================
+; HISTORY
+;  2011-08-03 : [mH] moving from OSTC code
+
+write_int_eeprom	macro	eeprom_address
+	movlw	eeprom_address
+	call	write_int_eeprom_1
+	endm
+
+read_int_eeprom	macro	eeprom_address
+	movlw	eeprom_address
+	call	read_int_eeprom_1
+	endm
+
+	extern	write_int_eeprom_1
+	extern	read_int_eeprom_1
+	extern	read_eeprom
+	extern	write_eeprom
+	extern	enable_rs232
+	extern	disable_rs232
+	extern	rs232_get_byte
+	extern	rs232_wait_tx
+    extern  enable_ir
+    extern  disable_ir