| 전자부품 데이터시트 검색엔진 |
|
TMP19A71CYFG 데이터시트(PDF) 21 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP19A71CYFG 데이터시트(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 |
|
링크 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 |