| 전자부품 데이터시트 검색엔진 |
|
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 |
|
링크 URL |
| 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 |