| 전자부품 데이터시트 검색엔진 |
|
H8/3003 데이터시트(PDF) 476 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3003 데이터시트(HTML) 476 Page - Renesas Technology Corp |
|
476 / 715 page ![]() Receiving Serial Data (Asynchronous Mode): Figure 13-7 shows a sample flowchart for receiving serial data and indicates the procedure to follow. Figure 13-7 Sample Flowchart for Receiving Serial Data (1) Start receiving Read RDRF flag in SSR RDRF = 1? Read receive data from RDR, and clear RDRF flag to 0 in SSR PER RER ORER = 1? Clear RE bit to 0 in SCR Finished receiving? End Error handling (continued on next page) 1 4 No Yes Yes No No Yes 1. 2., 3. 4. 5. SCI initialization: the receive data function of the RxD pin is selected automatically. Receive error handling and break detection: if a receive error occurs, read the ORER, PER, and FER flags in SSR to identify the error. After executing the necessary error handling, clear the ORER, PER, and FER flags all to 0. Receiving cannot resume if any of the ORER, PER, and FER flags remains set to 1. When a framing error occurs, the RxD pin can be read to detect the break state. SCI status check and receive data read: read SSR, check that RDRF is set to 1, then read receive data from RDR and clear the RDRF flag to 0. Notification that the RDRF flag has changed from 0 to 1 can also be given by the RXI interrupt. To continue receiving serial data: check the RDRF flag, read RDR, and clear the RDRF flag to 0 before the stop bit of the current frame is received. If the DMAC is activated by an RXI interrupt to read the RDR value, the RDRF flag is cleared automatically. Read ORER, PER, and FER flags in SSR 2 5 Initialize ∨∨ 3 458 |
|
링크 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 |