Re: 中斷所需時間
|
||||
---|---|---|---|---|
資深會員
|
中斷產生需要時間反應,但返回程式沒有延遲問題,手冊上也沒提到。所以應只有RETFIE的時間。
發表於: 2005/6/6 10:37
|
|||
|
Re: 中斷所需時間
|
||||
---|---|---|---|---|
中級會員
|
謝謝,我在MID RANGE FAMILY找到了,第8.3節
從中斷回到主程式 2Tcy 就只是單純的RETFIE嗎
發表於: 2005/6/6 9:35
|
|||
|
Re: 中斷所需時間
|
||||
---|---|---|---|---|
中級會員
|
PDF檔P.155
是這個嗎? For external interrupt events, such as the INT pin or PORTB change interrupt, the interrupt latency will be three or four instruction cycles. The exact latency depends when the interrupt event occurs. The latency is the same for one or two-cycle instructions. Individual interrupt flag bits are set regardless of the status of their corresponding mask bit, PEIE bit or GIE bit. 好像是又好像不是......
發表於: 2005/6/5 13:56
|
|||
|
Re: 中斷所需時間
|
||||
---|---|---|---|---|
資深會員
|
進入中斷 4Tcy ,跳到中斷副程式 goto 需 2Tcy 。
從中斷回到主程式 2Tcy 請善用DataSheet,這些在DataSheet都找的到。
發表於: 2005/6/5 13:22
|
|||
|
中斷所需時間
|
||||
---|---|---|---|---|
中級會員
|
請問877A
由程式跳到中斷副程式(還沒紀錄進中斷前暫存器的狀態)需花多少時間 做完中斷副程式(已還原中斷前暫存器的狀態)跳回原程式需花多少時間
發表於: 2005/6/5 2:34
|
|||
|