Electronic Components Datasheet Search
  English  ▼

X  

HT66F20 Datasheet(PDF) 203 Page - Holtek Semiconductor Inc

Part # HT66F20
Description  Enhanced A/D Flash Type MCU 8-Bit MCU with EEPROM
PDF  250 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT66F20 Datasheet(HTML) 203 Page - Holtek Semiconductor Inc

Back Button HT66F20 Datasheet HTML 199Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 200Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 201Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 202Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 203Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 204Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 205Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 206Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 207Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 203 / 250 page
background image
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
Rev. 1.20
203
June 4, 2010
· Address detect mode
Setting the Address Detect function enable control bit,
ADDEN, in the UCR2 register, enables this special
function. If this bit is set to
²1², then an additional qual-
ifier will be placed on the generation of a Receiver
Data Available interrupt, which is requested by the
RXIF flag. If the ADDEN bit is equal to
²1², then when
the data is available, an interrupt will only be gener-
ated, if the highest received bit has a high value. Note
that the related interrupt enable control bit and the
EMI bit of the microcontroller must also be enabled for
correct interrupt generation. The highest address bit is
the 9th bit if the bit BNO=1 or the 8th bit if the bit
BNO=0. If the highest bit is high, then the received
word will be defined as an address rather than data. A
Data Available interrupt will be generated every time
the last bit of the received word is set. If the ADDEN bit
is equal to
²0², then a Receive Data Available interrupt
will be generated each time the RXIF flag is set, irre-
spective of the data last but status. The address de-
tect and parity functions are mutually exclusive
functions. Therefore if the address detect function is
enabled, then to ensure correct operation, the parity
function should be disabled by resetting the parity
function enable bit PREN to zero.
ADDEN
Bit 9 if BNO=1,
Bit 8 if BNO=0
UART Interrupt
Generated
0
0
Ö
1
Ö
1
0X
1
Ö
ADDEN Bit Function
UART Module Power-down and Wake-up
The MCU and UART Module are powered down inde-
pendently of each other. The method of powering down
the MCU is covered in the previous MCU section of the
datasheet. The UART Module must be powered down
before the MCU is powered down. This is implemented
by first clearing the UARTEN bit in the UCR1 register to
disable the UART Module circuitry after which the SCS
internal line can be set high to disable the SPI interface
circuits. When the UART and SPI interfaces are pow-
ered down, the SCK and CLKI clock sources to the
UART module will be disabled. The UART Module can
be powered up by the MCU by first clearing the SCS line
to zero and then setting the UARTEN bit. If the UART
circuits is powered down while a transmission is still in
progress, then the transmission will be terminated and
the external TX transmit pin will be forced to a logic high
level. In a similar way, if the UART circuits is powered
down while receiving data, then the reception of data will
likewise be terminated. When the UART circuits is pow-
ered down, note that the USR, UCR1, UCR2, UCR3,
transmit and receive registers, as well as the BRG regis-
ter will not be affected.
The UART Module contains a receiver RX pin wake-up
function, which is enabled or disabled by the WAKE bit
in the UCR2 register. If this bit, along with the UART en-
able bit named UARTEN, the receiver enable bit named
RXEN and the receiver interrupt enable bit named RIE,
are all set before the MCU and UART module are is
powered down, then a falling edge on the RX pin will
wake up the MCU from its power down condition. Note
U S R R e g i s t e r
T r a n s m i t t e r E m p t y
F l a g T X I F
T r a n s m i t t e r I d l e
F l a g T I D L E
R e c e i v e r D a t a
A v a i l a b l e R X I F
R e c e i v e r O v e r r u n
F l a g O E R R
R X 7 i f B N O = 0
R X 8 i f B N O = 1
A D D E N
0
1
0
1
R X P i n
W a k e - u p
W A K E
0
1
U C R 2 R e g i s t e r
T E I E
T I I E
R I E
U C R 2 R e g i s t e r
0
1
0
1
0
1
O R
T o M C U P I N T i n t e r r u p t i n p u t
I N T
UART Module Interrupt Structure



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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