Mercurial > public > hwos_code
comparison src/eeprom_rs232.inc @ 0:11d4fc797f74
init
| author | heinrichsweikamp |
|---|---|
| date | Wed, 24 Apr 2013 19:22:45 +0200 |
| parents | |
| children | f3062a611eef |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:11d4fc797f74 |
|---|---|
| 1 ;============================================================================= | |
| 2 ; | |
| 3 ; File eeprom_rs232.inc | |
| 4 ; | |
| 5 ; | |
| 6 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. | |
| 7 ;============================================================================= | |
| 8 ; HISTORY | |
| 9 ; 2011-08-03 : [mH] moving from OSTC code | |
| 10 | |
| 11 write_int_eeprom macro eeprom_address | |
| 12 movlw eeprom_address | |
| 13 call write_int_eeprom_1 | |
| 14 endm | |
| 15 | |
| 16 read_int_eeprom macro eeprom_address | |
| 17 movlw eeprom_address | |
| 18 call read_int_eeprom_1 | |
| 19 endm | |
| 20 | |
| 21 extern write_int_eeprom_1 | |
| 22 extern read_int_eeprom_1 | |
| 23 extern read_eeprom | |
| 24 extern write_eeprom | |
| 25 extern enable_rs232 | |
| 26 extern disable_rs232 | |
| 27 extern rs232_get_byte | |
| 28 extern rs232_wait_tx | |
| 29 extern enable_ir | |
| 30 extern disable_ir |
