Electronic Components Datasheet Search
  English  ▼

X  

HT66F20 Datasheet(PDF) 192 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) 192 Page - Holtek Semiconductor Inc

Back Button HT66F20 Datasheet HTML 188Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 189Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 190Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 191Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 192Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 193Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 194Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 195Page - Holtek Semiconductor Inc HT66F20 Datasheet HTML 196Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 192 / 250 page
background image
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
Rev. 1.20
192
June 4, 2010
UART Commands
There are both read and write commands for the UART Module. For reading and writing to registers both command and
address information is contained within a single byte. The format for reading and writing is shown in the following table.
Command Type
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Read FIFO
00000
X
X
X
Read Register
00010
A2
A1
A0
Write FIFO
00001
X
X
X
Write Register
00011
A2
A1
A0
Note:
²X² here stands for ²don¢t care²
UART Status and Control Registers
There are six registers associated with the UART function. The USR, UCR1, UCR2 and UCR3 registers control the
overall function of the UART module, while the BRG register controls the Baud rate. The actual data to be transmitted
and received on the serial interface is managed through the TXR/RXR data register.
A[2:0]
Name
Reset
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
00H
USR
0000 1011
PERR
NF
FERR
OERR
RIDLE
RXIF
TIDLE
TXIF
01H
UCR1
0000 0X00
UARTEN
BNO
PREN
PRT
STOPS
TXBRK
RX8
TX8
02H
UCR2
0000 0000
TXEN
RXEN
BRGH
ADDEN
WAKE
RIE
TIIE
TEIE
03H
BRG
XXXX XXXX
BRG7
BRG6
BRG5
BRG4
BRG3
BRG2
BRG1
BRG0
04H
UCR3
0
--- ----
URST
¾
¾¾¾¾¾
¾
05H~
07H
Unused
---- ----
Reserved
UART Register Summary
· USR Register
The USR register is the status register for the UART, which can be read by the application program to determine the
present status of the UART. All flags within the USR register are read only. Further explanation on each of the flags is
given below:
Bit
76543210
Name
PERR
NF
FERR
OERR
RIDLE
RXIF
TIDLE
TXIF
R/W
RRRRRRRR
POR
00001011
Bit 7
PERR: Parity error flag
0: no parity error is detected
1: parity error is detected
The PERR flag is the parity error flag. When this read only flag is
²0², it indicates a parity error
has not been detected. When the flag is
²1², it indicates that the parity of the received word is
incorrect. This error flag is applicable only if Parity mode (odd or even) is selected. The flag can
also be cleared by a software sequence which involves a read to the status register USR
followed by an access to the RXR data register.
Bit 6
NF: Noise flag
0: no noise is detected
1: noise is detected
The NR flag is the noise flag. When this read only flag is
²0², it indicates no noise condition.
When the flag is
²1², it indicates that the UART has detected noise on the receiver input.
The NF flag is set during the same cycle as the RXIF flag but will not be set in the case of as
overrun. The NF flag can be cleared by a software sequence which will involve a read to the
status register USR followed by an access to the RXR data register.



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