| 전자부품 데이터시트 검색엔진 |
|
UPD6P9 데이터시트(PDF) 19 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
UPD6P9 데이터시트(HTML) 19 Page - Renesas Technology Corp |
|
19 / 45 page ![]() 17 µPD6P9 Data Sheet U15144EJ1V1DS 4.2 Timer Operation The timer starts (counting down) when a value other than 0 is set for the down counter with a timer manipulation instruction. The timer manipulation instructions for making the timer start operation are shown below: MOV T0, A MOV T1, A MOV T, #data10 MOV T, @R0 The down counter is decremented (–1) in the cycle of 64/fX. If the value of the down counter becomes 0, the zero detector generates the timer operation end signal to stop the timer operation. At this time, if the timer is in HALT mode (HALT # ×101B) waiting for the timer to stop its operation, the HALT mode is released and the instruction following the HALT instruction is executed. The output of the timer operation end signal is continued while the down counter is 0 and the timer is stopped. The following relational expression applies between the timer’s output time and the down counter’s set value. (a) µPD6P9M1 Timer output time = (Set value + 1) × 64/fX (b) µPD6P9M3 Timer output time = (Set value + 0.5) × 64/fX An example is shown below. Example When fX = 4 MHz MOV T, #3FFH STTS #05H HALT #05H MOV T, #232H STTS #05H HALT #05H In the case above, the timer output time is as follows. (a) µPD6P9M1 (Set value + 1) × 64/fX + (Set value + 1) × 64/fX = (511 + 1) × 64/4 + (50 + 1) × 64/4 = 9.008 ms (b) µPD6P9M3 (Set value + 0.5) × 64/fX + (Set value + 0.5) × 64/fX = (511 + 0.5) × 64/4 + (50 + 0.5) × 64/4 = 8.992 ms |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |