Re: timer2中斷後 會跳到哪 ?
|
||||
---|---|---|---|---|
版主
|
發表於: 2007/7/18 10:59
|
|||
|
Re: timer2中斷後 會跳到哪 ?
|
||||
---|---|---|---|---|
資深會員
|
16f877的中斷向量位址在04H,另外中斷之後設定pr2,你確定一定會在bank1???
發表於: 2007/7/17 11:52
|
|||
|
Re: timer2中斷後 會跳到哪 ?
|
||||
---|---|---|---|---|
版主
|
PIC18F 系列要能產生中斷,基本上有項暫存器位元須設定。
1. 高低優先權位元 TMR2IP 2. 中斷智能位元 TMR2IE 3. 中斷總控制位元 GITEH 或 GIEL 息細資料可參考W400 Workshop 教材說明
發表於: 2007/7/17 11:14
|
|||
|