công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

HT48CU80 bảng dữ liệu(PDF) 28 Page - Holtek Semiconductor Inc

tên linh kiện HT48CU80
Giải thích chi tiết về linh kiện  I/O Type 8-Bit MCU
PDF  54 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  HOLTEK [Holtek Semiconductor Inc]
Trang chủ  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT48CU80 bảng dữ liệu(HTML) 28 Page - Holtek Semiconductor Inc

Back Button HT48CU80 Datasheet HTML 24Page - Holtek Semiconductor Inc HT48CU80 Datasheet HTML 25Page - Holtek Semiconductor Inc HT48CU80 Datasheet HTML 26Page - Holtek Semiconductor Inc HT48CU80 Datasheet HTML 27Page - Holtek Semiconductor Inc HT48CU80 Datasheet HTML 28Page - Holtek Semiconductor Inc HT48CU80 Datasheet HTML 29Page - Holtek Semiconductor Inc HT48CU80 Datasheet HTML 30Page - Holtek Semiconductor Inc HT48CU80 Datasheet HTML 31Page - Holtek Semiconductor Inc HT48CU80 Datasheet HTML 32Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 54 page
background image
HT48RU80/HT48CU80
Rev. 1.00
28
April 12, 2006
S t a r t B i t
B i t 0
B i t 1
B i t 2
B i t 3
B i t 4
B i t 5
B i t 6
B i t 7
S t o p B i t
N e x t
S t a r t
B i t
P a r i t y B i t
8 - B i t D a t a F o r m a t
S t a r t B i t
B i t 0
B i t 1
B i t 2
B i t 3
B i t 4
B i t 5
B i t 6
B i t 7
S t o p B i t
N e x t
S t a r t
B i t
P a r i t y B i t
9 - B i t D a t a F o r m a t
B i t 8
Clearing the UARTEN bit will disable the TX and RX
pins and allow these two pins to be used as normal
I/O pins. When the UART function is disabled the
buffer will be reset to an empty condition, at the
same time discarding any remaining residual data.
Disabling the UART will also reset the error and sta-
tus flags with bits TXEN, RXEN, TXBRK, RXIF,
OERR, FERR, PERR and NF being cleared while
bits TIDLE, TXIF and RIDLE will be set. The re-
maining control bits in the UCR1, UCR2 and BRG
registers will remain unaffected. If the UARTEN bit
in the UCR1 register is cleared while the UART is
active, then all pending transmissions and recep-
tions will be immediately suspended and the UART
will be reset to a condition as defined above. If the
UART is then subsequently re-enabled, it will restart
again in the same configuration.
¨ Data, parity and stop bit selection
The format of the data to be transferred, is com-
posed of various factors such as data bit length,
parity on/off, parity type, address bits and the num-
ber of stop bits. These factors are determined by
the setup of various bits within the UCR1 register.
The BNO bit controls the number of data bits which
can be set to either 8 or 9, the PRT bit controls the
choice of odd or even parity, the PREN bit controls
the parity on/off function and the STOPS bit decides
whether one or two stop bits are to be used. The fol-
lowing table shows various formats for data trans-
mission. The address bit identifies the frame as an
address character. The number of stop bits, which
can be either one or two, is independent of the data
length.
Start
Bit
Data
Bits
Address
Bits
Parity
Bits
Stop
Bit
Example of 8-bit Data Formats
1
800
1
1
701
1
171
1
01
Example of 9-bit Data Formats
1
900
1
1
801
1
181
1
01
Transmitter Receiver Data Format
The following diagram shows the transmit and receive
waveforms for both 8-bit and 9-bit data formats.
· UART transmitter
Data word lengths of either 8 or 9 bits, can be selected
by programming the BNO bit in the UCR1 register.
When BNO bit is set, the word length will be set to 9
bits. In this case the 9th bit, which is the MSB, needs
to be stored in the TX8 bit in the UCR1 register. At the
transmitter core lies the Transmitter Shift Register,
more commonly known as the TSR, whose data is ob-
tained from the transmit data register, which is known
as the TXR register. The data to be transmitted is
loaded into this TXR register by the application pro-
gram. The TSR register is not written to with new data
until the stop bit from the previous transmission has
been sent out. As soon as this stop bit has been trans-
mitted, the TSR can then be loaded with new data
from the TXR register, if it is available. It should be
noted that the TSR register, unlike many other regis-
ters, is not directly mapped into the Data Memory area
and as such is not available to the application program
for direct read/write operations. An actual transmis-
sion of data will normally be enabled when the TXEN
bit is set, but the data will not be transmitted until the
TXR register has been loaded with data and the baud
rate generator has defined a shift clock source. How-
ever, the transmission can also be initiated by first
loading data into the TXR register, after which the
TXEN bit can be set. When a transmission of data be-
gins, the TSR is normally empty, in which case a
transfer to the TXR register will result in an immediate
transfer to the TSR. If during a transmission the TXEN
bit is cleared, the transmission will immediately cease
and the transmitter will be reset. The TX output pin will
then return to having a normal general purpose I/O pin
function.
¨ Transmitting data
When the UART is transmitting data, the data is
shifted on the TX pin from the shift register, with the
least significant bit first. In the transmit mode, the
TXR register forms a buffer between the internal
bus and the transmitter shift register. It should be
noted that if 9-bit data format has been selected,
then the MSB will be taken from the TX8 bit in the
UCR1 register. The steps to initiate a data transfer
can be summarized as follows:
- Make the correct selection of the BNO, PRT,
PREN and STOPS bits to define the required
word length, parity type and number of stop bits.
- Setup the BRG register to select the desired baud
rate.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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