view src/eeprom_rs232.inc @ 360:5f142cff43f6

hardware support
author heinrichsweikamp
date Mon, 03 Aug 2015 22:47:39 +0200
parents 5a4801918be9
children b455b31ce022
line wrap: on
line source

;=============================================================================
;
;   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	rs232_wait_tx2
    extern  enable_ir_s8
    extern  disable_ir_s8