MikroElektronika PIC Microcontrollers PIC16 Ficha de datos Pagina 94

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 194
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 93
Programming PIC Microcontrollers in BASIC - mikroElektronika
provide you comfortable work with EEPROM.
Notes:
Be aware that all interrupts will be disabled during execution of EEPROM_Write routine (GIE bit of INTCON register will be
cleared). Routine will set this bit on exit.
Ensure minimum 20ms delay between successive use of routines EEPROM_Write and EEPROM_Read. Although EEPROM will
write the correct value, EEPROM_Read might return undefined result.
5.2.6.1 EEPROM_Read – Reads 1 byte from EEPROM
Prototype
sub function EEprom_Read(dim Address as byte) as byte
Description Function reads byte from <Address>. <Address> is of byte type, which means it can address only 256
locations. For PIC18 MCU models with more EEPROM data locations, it is programmer's responsibility to set
SFR EEADRH register appropriately.
Ensure minimum 20ms delay between successive use of routines EEPROM_Write and EEPROM_Read.
Although EEPROM will write the correct value, EEPROM_Read might return undefined result.
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/05.htm (52 sur 112)05/11/2004 02:20:52
Vista de pagina 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 193 194

Comentarios a estos manuales

Sin comentarios