freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

單片機外文翻譯---單片機休眠-復位運行方式提高抗干擾能力-單片機(留存版)

2025-03-20 07:56上一頁面

下一頁面
  

【正文】 志 Td=1500。初上電時,對內部RAM 做全部清零,令試送電計時 Ts=25 后休眠。如果給系統(tǒng)設立一個復位按鈕,也就是常見的手動復位,這個按鈕不是連接在復位端,而是并聯(lián)在上述引腳對地的電容兩端。也就是說,復位信號的低電平 Td期間是可供程序執(zhí)行的時間,這個時間要大于每次程序的執(zhí)行周期。這種定時復位相對于看門狗電 路的優(yōu)點,一是把等待時間改為休眠狀態(tài) ,縮短可能受干擾的時間;二是避免了恰好包含看門狗控制環(huán)節(jié)的死循環(huán)。 Hope too every colleague explore together, improve our design level together. 單片機休眠 復位運行方式提高抗干 擾能力 摘要:介紹一種用休眠 復位運行方式提高單片機抗干擾能力的方法;分析其適用范圍,給出具體應用電路;結合實例,分析這種運行方式下硬件和軟件設計的特點。 ③ In measure and control cycle among the long system, onechip puter spend wait for the peripheral hardware a large amount of time, will be interfered too when carry out and wait for the order. To these situations, we have tried the method restored to the throne voluntarily in practice, alternate pulse of adopting etc or restore to the throne waking according to external terms to the onechip puter up. After being restored to the throne each time, the onechip puter carries out the corresponding procedure, enters dormancy in time after finishing carrying out the task, wait to be restored to the throne nextly. Have solved abovementioned problems well with this method , and has got better result in the agricultural voltage transformer prehensive protector experiment. Now take 51 serial onechip puters as an example and probe into the concrete principle and implementation method, restored to the throne the signal as the high level. principle and implementation method Restored to the throne the law regularly unconditionally Use timer, specialpurpose clock chip or other pulse generator, produce signal of restoring to the throne regularly according to interval that set for. This kind of method is especially suitable for the measuring instrument. In not running actually, sample the analog quantity of introduction with A/D converter often, then store showing. This course is very fast, but steady for reading, the data per second are only upgraded 1 2 times, a large amount of time of CPU is used for waiting. Let CPU carry out and enter dormancy directly after the task , restore to the throne and wake by external world up It carry out the next operation, this is to restore to the throne the law regularly In this way can make antiinterference ability strengthen greatly , have 2 points mainly: ① . At the dormancy, procedure stop run, can appear PC indicator disorderly procedure that causes run and fly. Work time in dormancy proportion 1:9, that is to say 1 s have time of s used for measuring, sending off showing, there is time dormancy of , the probability that the procedure is interfered is 1/10 while running at full speed, whole antiinterference ability raise by 10 times. ② Because every 1s is restored to the throne once unconditionally, once present the system halted during a job, can certainly resume when restored to the throne next time. As to only instrument that show, some reading mistake that 1s appear accidentally there is no memory to the next measurement, be could bear , belong to “pass” mistake. This kind is restored to the throne the advantage of dog39。 For writing down the instrument of the biggest or minimum, can use the window parator. In order to realize the electronization that is regulated, can use the electronic electric potential device, establish upper and lower limits with the order of the onechip puter. Reduce cycle and restored to the throne the high electricity at ordinary times In Fig3, restored to the throne the signal during high level Tr, the onechip puter is in the state of restoring to the throne, the procedure does not run, antiinterference ability is the strongest。每次復位后,單片機執(zhí)行相應的程序,執(zhí)行完任務后及時進入休眠,等待下次復位。這種方法的復位間隔不是固定的,而是根據外部條件確定的。 輸出端子的處理 (1)復位期間的正脈沖 I/O 口變成高電平。 實現(xiàn)跨越定時復位間隔的時序控制 用復位方式工作,每次從頭開始反復執(zhí)行同一程序。當程序再次由復位開始時,檢測到 Ts=0 但是 Td≠0,表明已經越過了試送電,現(xiàn)在正處于停電等待 30s 的過程中。試送電的 延時是對復位進行 25 次計數實現(xiàn)的,因為每次復位時間是 20ms。在某引腳對地接一個 1μF的電容,復位后檢測該引腳,如果是低電平就是初上電。 復位周期與復位高電平時間 3 中,復位信號在
點擊復制文檔內容
環(huán)評公示相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1