| 数据搜索系统,热门电子元器件搜索 |
|
ST20-GP6 数据表(PDF) 87 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20-GP6 数据表(HTML) 87 Page - STMicroelectronics |
|
87 / 123 page ![]() ST20-GP6 87/123 Figure 15.4 ASC status and interrupt registers 15.4.1 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. • RxBufFull 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 han- dler 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. ASCStatus RxBufFull TxEmpty TxHalfEmpty ParityError FrameError OverrunError 0 1 2 3 4 5 TimeoutNotEmpty TimeoutIdle RxHalfFull 6 7 9 TxFull 8 ASCIntEnable RxBufFull IE TxEmpty IE TxHalfEmpty IE ParityError IE FrameError IE OverrunError IE TimeoutNotEmpty IE TimeoutIdle IE RxHalfFull IE ASC_interrupt |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |