поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

HT68F03 датащи(PDF) 25 Page - Holtek Semiconductor Inc

номер детали HT68F03
подробное описание детали  Small Package Enhanced Flash Type 8-Bit MCU with EEPROM
PDF  139 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  HOLTEK [Holtek Semiconductor Inc]
домашняя страница  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT68F03 датащи(HTML) 25 Page - Holtek Semiconductor Inc

Back Button HT68F03 Datasheet HTML 21Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 22Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 23Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 24Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 25Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 26Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 27Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 28Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 29Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 139 page
background image
HT66F03/HT66F04/HT68F03/HT68F04
Rev. 1.00
25
April 16, 2010
Reading Data from the EEPROM
To read data from the EEPROM, the read enable bit,
RDEN, in the EEC register must first be set high to en-
able the read function. The EEPROM address of the
data to be read must then be placed in the EEA register.
If the RD bit in the EEC register is now set high, a read
cycle will be initiated. Setting the RD bit high will not initi-
ate a read operation if the RDEN bit has not been set.
When the read cycle terminates, the RD bit will be auto-
matically cleared to zero, after which the data can be
read from the EED register. The data will remain in the
EED register until another read or write operation is exe-
cuted. The application program can poll the RD bit to de-
termine when the data is valid for reading.
Writing Data to the EEPROM
To write data to the EEPROM, the write enable bit,
WREN, in the EEC register must first be set high to en-
able the write function. The EEPROM address of the
data to be written must then be placed in the EEA regis-
ter and the data placed in the EED register. If the WR bit
in the EEC register is now set high, an internal write cy-
cle will then be initiated. Setting the WR bit high will not
initiate a write cycle if the WREN bit has not been set. As
the EEPROM write cycle is controlled using an internal
timer whose operation is asynchronous to
microcontroller system clock, a certain time will elapse
before the data will have been written into the EEPROM.
Detecting when the write cycle has finished can be im-
plemented either by polling the WR bit in the EEC regis-
ter or by using the EEPROM interrupt. When the write
cycle terminates, the WR bit will be automatically
cleared to zero by the microcontroller, informing the user
that the data has been written to the EEPROM. The ap-
plication program can therefore poll the WR bit to deter-
mine when the write cycle has ended.
Write Protection
Protection against inadvertent write operation is pro-
vided in several ways. After the device is powered-on
the Write Enable bit in the control register will be cleared
preventing any write operations. Also at power-on the
Bank Pointer, BP, will be reset to zero, which means that
Data Memory Bank 0 will be selected. As the EEPROM
control register is located in Bank 1, this adds a further
measure of protection against spurious write opera-
tions. During normal program operation, ensuring that
the Write Enable bit in the control register is cleared will
safeguard against incorrect write operations.
EEPROM Interrupt
The EEPROM write or read interrupt is generated when
an EEPROM write or read cycle has ended. The
EEPROM interrupt must first be enabled by setting the
DEE bit in the relevant interrupt register. However as the
EEPROM is contained within a Multi-function Interrupt,
the associated multi-function interrupt enable bit must
also be set. When an EEPROM write cycle ends, the
DEF request flag and its associated multi-function inter-
rupt request flag will both be set. If the global, EEPROM
and Multi-function interrupts are enabled and the stack
is not full, a jump to the associated Multi-function Inter-
rupt vector will take place. When the interrupt is serviced
only the Multi-function interrupt flag will be automatically
reset, the EEPROM interrupt flag must be manually re-
set by the application program. More details can be ob-
tained in the Interrupt section.
Programming Considerations
Care must be taken that data is not inadvertently written
to the EEPROM. Protection can be enhanced by ensur-
ing that the Write Enable bit is normally cleared to zero
when not writing. Also the Bank Pointer could be nor-
mally cleared to zero as this would inhibit access to
Bank 1 where the EEPROM control register exist. Al-
though certainly not necessary, consideration might be
given in the application program to the checking of the
validity of new write data by a simple read back process.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com