1 / 16

ch05

ch05. 系統時脈與看門狗. 特殊功能暫存器. 特殊功能暫存器 (SFR) S pecial F unction R egister 學微控制器,重點:知道不同的 micro-controller 有哪些 SFR ,每一 bit 的功能與用法 P_IOA_Data P_IOB_Data P_IOA_Dir, P_IOA_Attrib P_Watchdog_Clear. 本章相關的 SFR. P_SystemClock P_LVD_Ctrl P_Watchdog_Clear. 系統時脈產生. 鎖相迴路電路圖.

varen
Download Presentation

ch05

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ch05 系統時脈與看門狗

  2. 特殊功能暫存器 • 特殊功能暫存器(SFR) • Special Function Register • 學微控制器,重點:知道不同的micro-controller有哪些SFR,每一bit的功能與用法 • P_IOA_Data • P_IOB_Data • P_IOA_Dir, P_IOA_Attrib • P_Watchdog_Clear • ............

  3. 本章相關的SFR • P_SystemClock • P_LVD_Ctrl • P_Watchdog_Clear

  4. 系統時脈產生

  5. 鎖相迴路電路圖

  6. 低電壓監測(LVD)/低電壓重設(LVR)

  7. 重置電路

  8. P_SystemClock

  9. CPU 時脈頻率(CPUCLK)選擇

  10. PLL 頻率 (Fosc)的選擇

  11. P_LVD_Ctrl

  12. P_Watchdog_Clear

  13. CPU Clock內建常數

  14. OSC Frequency內建常數 • C_Fosc_24M  24.576M (預設值) • C_Fosc_20M  20.480M • C_Fosc_32M  32.768M • C_Fosc_40M  40.960M • C_Fosc_49M  49.152M

  15. Voltage Level內建常數 • C_LVD24V  LVD = 2.4V (預設值) • C_LVD28V  LVD = 2.8V • C_LVD32V  LVD = 3.2V

  16. 範例 • 5-1 watchdog 觀察 • 5-2 系統系脈設定

More Related