| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
TMP19A71CYFG Datasheet(PDF) 21 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP19A71CYFG Datasheet(HTML) 21 Page - Toshiba Semiconductor |
|
21 / 402 page ![]() TMP19A71 3.4.4 When the SYNC Instruction Is Invalidated by an Interrupt Even if the SYNC instruction is inserted to prevent possible problems as described in the above examples, the SYNC instruction may be invalidated by an interrupt. The following shows such a case occurring in the above example 2 (exiting standby mode). Example 4: An interrupt invalidating the SYNC instruction (Problem example) ori r26, r0, 0x0d lui r27, hi(TB0RUN) sb r26, lo(TB0RUN)(r27) ; Bit0 (TRUN) = 1 (timer start) sync ; Stall until the timer starts counting. ; Omitted ; <---An interrupt occurs here. ---- lui r27, hi(TB0RUN) lb r26, lo(TB0RUN)(r27) ; Save TB0RUN on the stack. sb r0 , lo(TB0RUN)(r27) ; Bit 0 (TRUN) = 0 (timer stop) (Required processing) sb r26, lo(TB0RUN)(r27) ; Restore TB0RUN (timer restart). ERET ; Omitted ; <---End of interrupt service routine---- wait ; Enter standby mode nop This problem can be avoided by inserting the SYNC instruction at the end of the interrupt service routine (immediately before the ERET instruction). TMP19A71 3-8 |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |