• slider image 442
  • slider image 497
  • slider image 498
  • slider image 499
  • slider image 500
  • slider image 502
:::


Browsing this Thread:   1 Anonymous Users






Re: 請問timer1的設定問題?
#3
版主
版主


查看用戶資訊
簡單的說: 內部震盪就是使用CPU本身的主震盪時脈,外部就是Timer1自行接一低頻震盪器(例如: 32768Hz)

同步模式就是跟主振盪器有關,Timer1 必須與主振盪器運作有關,沒有主振盪器的邊緣觸發 Timer1 是不會計數的。一般操作還是選非同步為主,Timer1 的 Wack-Up mode 是一定要用非同步模式的。

發表於: 2006/7/13 14:50
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問timer1的設定問題?
#2
資深會員
資深會員


查看用戶資訊
12.4 Timer1 Operation in Synchronized Counter Mode

Counter mode is selected by setting the TMR1CS bit. In this mode the timer increments on every
rising edge of clock input on the T1OSI pin when the oscillator enable bit (T1OSCEN) is set, or
the T1OSO/T1CKI pin when the T1OSCEN bit is cleared.

If the #T1SYNC bit is cleared, then the external clock input is synchronized with internal phase
clocks. The synchronization is done after the prescaler stage. The prescaler is an asynchronous
ripple-counter.

In this configuration, during SLEEP mode, Timer1 will not increment even if the external clock is
present, since the synchronization circuit is shut off. The prescaler however will continue to
increment.

發表於: 2006/7/12 22:07
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


請問timer1的設定問題?
#1
新會員
新會員


查看用戶資訊
T1CON: TIMER1 CONTROL REGISTER

TMR1CS = 1; 設定為外部震盪器輸入

T1SYNC: Timer1 External Clock Input Synchronization Select bit

1 = Do not synchronize external clock input
0 = Synchronize external clock input

請問,,與外部震盪器,,同步與非同步,有何不同?

謝謝指教

attira 草

發表於: 2006/7/12 18:04
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------