Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/i2c_eeprom.asm @ 83:3e351e25f5d1
adding anti-aliased fonts frame and merging some patches from Jeando
| author | heinrichsweikamp |
|---|---|
| date | Tue, 07 Dec 2010 22:36:19 +0100 |
| parents | 31fa973a70fd |
| children | a1960295433b |
comparison
equal
deleted
inserted
replaced
| 82:bc3092c41335 | 83:3e351e25f5d1 |
|---|---|
| 86 | 86 |
| 87 clrf eeprom_address+0 ; Clear eeprom address | 87 clrf eeprom_address+0 ; Clear eeprom address |
| 88 clrf eeprom_address+1 | 88 clrf eeprom_address+1 |
| 89 bsf eeprom_overflow ; and set overflow bit | 89 bsf eeprom_overflow ; and set overflow bit |
| 90 return | 90 return |
| 91 | |
| 91 write_external_eeprom_block: ; Writes a block of 64Byte (one page in external EEPROM without stop condition | 92 write_external_eeprom_block: ; Writes a block of 64Byte (one page in external EEPROM without stop condition |
| 92 #ifdef TESTING | 93 #ifdef TESTING |
| 93 ; When Simulating with MPLabSIM, there is no way to emulate external EEPROM... | 94 ; When Simulating with MPLabSIM, there is no way to emulate external EEPROM... |
| 94 return | 95 return |
| 95 #endif | 96 #endif |
