数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

HT66F40 数据表(PDF) 32 Page - Holtek Semiconductor Inc

部件名 HT66F40
功能描述  Enhanced A/D Flash Type MCU 8-Bit MCU with EEPROM
PDF  250 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  HOLTEK [Holtek Semiconductor Inc]
网页  http://www.holtek.com
标志 HOLTEK - Holtek Semiconductor Inc

HT66F40 数据表(HTML) 32 Page - Holtek Semiconductor Inc

Back Button HT66F40 Datasheet HTML 28Page - Holtek Semiconductor Inc HT66F40 Datasheet HTML 29Page - Holtek Semiconductor Inc HT66F40 Datasheet HTML 30Page - Holtek Semiconductor Inc HT66F40 Datasheet HTML 31Page - Holtek Semiconductor Inc HT66F40 Datasheet HTML 32Page - Holtek Semiconductor Inc HT66F40 Datasheet HTML 33Page - Holtek Semiconductor Inc HT66F40 Datasheet HTML 34Page - Holtek Semiconductor Inc HT66F40 Datasheet HTML 35Page - Holtek Semiconductor Inc HT66F40 Datasheet HTML 36Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 250 page
background image
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
Rev. 1.20
32
June 4, 2010
· EEC Register
Bit
76543210
Name
¾¾¾¾
WREN
WR
RDEN
RD
R/W
¾¾¾¾
R/W
R/W
R/W
R/W
POR
¾¾¾¾
0000
Bit7~4
Unimplemented, read as
²0²
Bit 3
WREN: Data EEPROM Write Enable
0: Disable
1: Enable
This is the Data EEPROM Write Enable Bit which must be set high before Data EEPROM write
operations are carried out. Clearing this bit to zero will inhibit Data EEPROM write operations.
Bit 2
WR: EEPROM Write Control
0: Write cycle has finished
1: Activate a write cycle
This is the Data EEPROM Write Control Bit and when set high by the application program will
activate a write cycle. This bit will be automatically reset to zero by the hardware after the write
cycle has finished. Setting this bit high will have no effect if the WREN has not first been set high.
Bit 1
RDEN: Data EEPROM Read Enable
0: Disable
1: Enable
This is the Data EEPROM Read Enable Bit which must be set high before Data EEPROM read
operations are carried out. Clearing this bit to zero will inhibit Data EEPROM read operations.
Bit 0
RD: EEPROM Read Control
0: Read cycle has finished
1: Activate a read cycle
This is the Data EEPROM Read Control Bit and when set high by the application program will
activate a read cycle. This bit will be automatically reset to zero by the hardware after the read
cycle has finished. Setting this bit high will have no effect if the RDEN has not first been set high.
Note: The WREN, WR, RDEN and RD can not be set to
²1² at the same time in one instruction. The WR and RD can
not be set to
²1² at the same time.
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
application program can therefore poll the WR bit to de-
termine when the write cycle has ended.



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


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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