| Motore di ricerca datesheet componenti elettronici |
|
H8/3334Y Scheda tecnica(PDF) 305 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3334Y Scheda tecnica(HTML) 305 Page - Renesas Technology Corp |
|
305 / 747 page ![]() 275 Receiving Serial Data: Follow the procedure in figure 12.15 for receiving serial data. When switching from asynchronous mode to synchronous mode, be sure to check that PER and FER are cleared to 0. If PER or FER is set to 1 the RDRF bit will not be set and both transmitting and receiving will be disabled. Start receiving Read ORER bit in SSR ORER = 1? RDRF = 1? Read RDRF in SSR Finished receiving? Clear RE to 0 in SCR End Error handling 1 2 3 Yes No No Yes No Yes 4 1. 2. 3. 4. SCI initialization: the receive data function of the RxD pin is selected automatically. Receive error handling: if a receive error occurs, read the ORER bit in SSR then, after executing the necessary error handling, clear ORER to 0. Neither transmitting nor receiving can resume while ORER remains set to 1. When clock output mode is selected, receiving can be halted temporarily by receiving one dummy byte and causing an overrun error. When preparations to receive the next data are completed, clear the ORER bit to 0. This causes receiving to resume, so return to the step marked 2 in the flowchart. SCI status check and receive data read: read the serial status register (SSR), check that RDRF is set to 1, then read receive data from the receive data register (RDR) and clear RDRF to 0. Transition of the RDRF bit from 0 to 1 can be reported by an RXI interrupt. To continue receiving serial data: read RDR and clear RDRF to 0 before the MSB (bit 7) of the current frame is received. Clear ORER to 0 in SSR Return Overrun error handling Start error handling Initialize Read receive data from RDR, and clear RDRF bit to 0 in SSR Figure 12.15 Sample Flowchart for Serial Receiving |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore 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 |