| Electronic Components Datasheet Search |
|
ST7LITE39 Datasheet(PDF) 165 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7LITE39 Datasheet(HTML) 165 Page - STMicroelectronics |
|
165 / 167 page ![]() ST7LITE3 165/167 IMPORTANT NOTES (Cont’d) Impact on application Software may execute the interrupt routine twice after header reception. Moreover, in reception mode, as the receiver is no longer in mute mode, an interrupt will be generat- ed on each data byte reception. Workaround The problem can be detected in the LINSCI inter- rupt routine. In case of timeout error (LHE is set and LHLR is loaded with 00h), the software can check the RWU bit in the SCICR2 register. If RWU is cleared, it can be set by software. Refer to Fig- ure 108. Workaround is shown in bold characters. Figure 108. LINSCI Interrupt routine @interrupt void LINSCI_IT ( void ) /* LINSCI interrupt routine */ { /* clear flags */ SCISR_buffer = SCISR; SCIDR_buffer = SCIDR; if ( SCISR_buffer & LHE )/* header error ? */ { if (!LHLR)/* header time-out? */ { if ( !(SCICR2 & RWU) )/* active mode ? */ { _asm("sim");/* disable interrupts */ SCISR; SCIDR;/* Clear RDRF flag */ SCICR2 |= RWU;/* set mute mode */ SCISR; SCIDR;/* Clear RDRF flag */ SCICR2 |= RWU;/* set mute mode */ _asm("rim");/* enable interrupts */ } } } } Example using Cosmic compiler syntax |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |