Re: 16F84A 睡眠模式喚醒方式
|
||||
---|---|---|---|---|
資深會員
|
我也用過PIC的睡眠模式,
我是用INT外部中斷喚醒的, 睡覺之前把GIE位元關掉, 這樣喚醒之後就會從SLEEP指令的下一行開始執行, 之後再把GIE位元打開,這樣就恢復總中斷了。
發表於: 2009/12/29 10:05
|
|||
|
16F84A 睡眠模式喚醒方式
|
||||
---|---|---|---|---|
初級會員
|
目前小弟接觸到睡眠模式
我希望PIC 在通電後 先到睡眠模式準備工作 然後醒來再繼續我所要的工作目前我知道喚醒的方式 透過外部中斷INT 或 WDT 計時溢位 或是重製RESET 這幾種方式 PIC 在睡眠時好像算停擺狀態更不會去做掃描其他按鍵的動作 有辦法利用其他I/O來喚醒嗎?
發表於: 2009/12/28 23:48
|
|||
|