Browsing this Thread:
1 Anonymous Users
Topic options
View mode
舊的在前
Re: 請教W201範例7 轉速測量的問題
資深會員
Joined
: 2006/3/7 11:45最後登入時間
: 2019/7/24 11:56
From 台南
Group:
註冊會員
Level : 13
HP : 0 / 307
MP : 67 / 16687
EXP : 28
不知是否有人用過W201範例7 轉速測量 有些地方看不懂..懇請用過的先進 指導一下..謝謝QQ
發表於: 2006/10/17 22:20
請教W201範例7 轉速測量的問題
資深會員
Joined
: 2006/3/7 11:45最後登入時間
: 2019/7/24 11:56
From 台南
Group:
註冊會員
Level : 13
HP : 0 / 307
MP : 67 / 16687
EXP : 28
請教W201範例7 轉速測量的問題 以下有很多都看不懂,墾請賜教QQ,文章程式沒貼上全部QQ 問一 程式取自LAB7.ASM movf CCPR2L,W movwf CapL movf CCPR2H,W movwf CapH 由CCPR2L 和 CCPR2H 抓取CLOCK 放到 CAPL 和CAPH 但我不知道,CCPR2H&L 是如何動作,CCP2用擷取MODE,每個上升緣,CCP2抓到CLOCK,如何呈現在CCPR2H&H暫存器裡面??是每抓到一個CLOCK,CCPR2L 就+1 是這樣嗎?? 那CCP2H&L 會抓CLOCK抓到破表嗎? 也就是超過0XFF。 ********************************** 問二 程式取自LAB7.ASM Initialize the registers to perform a division of 01C9C380h by the capture value. 擷取值01C9C380h,是依據什麼來定義此量?? ******************************** 問三 程式取自MATH.ASM AARGB0:AARGB3分別放 擷取值01C9C380h rlf AARGB0,W 不懂的是,為什麼要用RLF 左移一個BIT 用意何在? 懇請賜教,謝謝QQ
發表於: 2006/10/12 11:12
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.