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

X  

STR720 bảng dữ liệu(PDF) 176 Page - STMicroelectronics

tên linh kiện STR720
Giải thích chi tiết về linh kiện  ARM720T 16/32-BIT MCU WITH 16K RAM, USB, CAN, 3 TIMERS, ADC, 6 COMMUNICATIONS INTERFACES
PDF  401 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STR720 bảng dữ liệu(HTML) 176 Page - STMicroelectronics

Back Button STR720 Datasheet HTML 172Page - STMicroelectronics STR720 Datasheet HTML 173Page - STMicroelectronics STR720 Datasheet HTML 174Page - STMicroelectronics STR720 Datasheet HTML 175Page - STMicroelectronics STR720 Datasheet HTML 176Page - STMicroelectronics STR720 Datasheet HTML 177Page - STMicroelectronics STR720 Datasheet HTML 178Page - STMicroelectronics STR720 Datasheet HTML 179Page - STMicroelectronics STR720 Datasheet HTML 180Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 176 / 401 page
background image
STR720 - UART
176/401
16.3.7
Using the ASC interrupts when fifos are disabled
When fifos are disabled, the ASC provides three interrupt requests to control data exchange
via the serial channel:
• TxHalfEmpty is activated when data is moved from ASCTxBuffer to the txshift register.
• TxEmpty is activated before the stop bit is transmitted.
• RxBufNotEmpty is activated when the received frame is moved to ASCRxBuffer.
For single transfers it is sufficient to use the transmitter interrupt (TxEmpty), which indicates
that the previously loaded data has been transmitted, except for the stop bit.
For multiple back-to-back transfers using TxEmpty would leave just one stop bit time for the
handler to respond to the interrupt and initiate another transmission. Using the transmit buffer
interrupt (TxHalfEmpty) to reload transmit data allows the time to transmit a complete frame
for the service routine, as ASCTxBuffer may be reloaded while the previous data is still being
transmitted.
TxHalfEmpty is an early trigger for the reload routine, while TxEmpty indicates the
completed transmission of the data field of the frame. Therefore, software using handshake
should rely on TxEmpty at the end of a data block to make sure that all data has really been
transmitted.
16.3.8
Using the ASC interrupts when fifos are enabled
To transmit a large number of characters back to back, the driver routine would write 16
characters to ASCTxBuffer, then every time a TxHalfEmpty interrupt fired, it would write 8
more. When it had nothing more to send, a TxEmpty interrupt would tell it when everything
has been transmitted.
When receiving, the driver could use RxBufNotEmpty to interrupt every time a character
came in. Alternatively, if data is coming in back-to-back, it could use RxHalfFull to interrupt it
when there was at least 8 characters in the rxfifo to read. It would have as long as it takes to
receive 8 characters to respond to this interrupt before data would overrun. If less than eight
character streamed in, and no more were received for at least a timeout period, the driver
could be woken up by one of the two timeout interrupts, TimeoutNotEmpty or TimeoutIdle.
1



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


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