전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

TMP89FS60 데이터시트(PDF) 212 Page - Toshiba Semiconductor

부품명 TMP89FS60
상세설명  8 Bit Microcontroller
PDF  410 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  TOSHIBA [Toshiba Semiconductor]
홈페이지  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TMP89FS60 데이터시트(HTML) 212 Page - Toshiba Semiconductor

Back Button TMP89FS60 Datasheet HTML 208Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 209Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 210Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 211Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 212Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 213Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 214Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 215Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 216Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 212 / 410 page
background image
Page 198
14. 8-bit Timer Counter (TC0)
TMP89FS60
RA002
When write instructions are executed on T00PWM and T01PWM in this order while the
timer is stopped, the set value is immediately stored in T01+00PWM.
Figure 14-15 12-bit PWM Mode Timing Chart
(Example)
Operate TC00 and TC01 in the 12-bit PWM mode with the operation clock of fcgck/2 and output a duty pulse nearly equiva-
lent to 14.0625
µs in 64µs cycles (fcgck = 8 MHz)
(Actually, output a duty pulse of 225
µs in total in 16 cycles (1024 µs))
SET
(P7FC).1
; Sets P7FC1 to "1"
SET
(P7CR).1
; Sets P7CR1 to "1"
LD
(POFFCR0),0x10
; Sets TC001EN to "1"
DI
; Sets the interrupt master enable flag to "disable"
SET
(EIRH).4
; Sets the INTTC00 interrupt enable register to "1"
EI
; Sets the interrupt master enable flag to "enable"
LD
(T01MOD),0xF2
; Selects the 16-bit PWM mode and fcgck/2
LD
(T00PWM),0x84
; Sets the timer register (duty pulse)
; (14.0625
µs × 16) / (2/fcgck) = 0x384
LD
(T00PWM),0x03
; Sets the timer register (duty pulse)
LD
(T001CR),0x06
; Starts TC00 and TC01
Source clock
Counter
Timer start
1
0
km (0001)
km
km
(Duty pulse)
256 counts
(Cycle 1)
256 counts
(Cycle 2)
256 counts
(Cycle 9)
256 counts
(Cycle 16)
(Cycle 17)
rs (0011)
rs
Write to T00PWM
Double buffer
Match detection
Write m (0001)
Write s (0011)
Becomes the level selected at
TFF0 while the timer is stopped
Interrupt request
Interrupt reques
Interrupt request
Write to T01PWM
Write k
Write r
INTT00 interrupt request
INTT00 interrupt request
1
km
+1
km
km
+1
km
km
+1
km
km
+1
km
0
0001
0011
PWMDUTY
PWMAD3 ~ 0
T001CR<T00RUN>
256
Match detection
1
0
256
1
0
256
rs
1
0
256
Match detection
Match detection
Counter
clear
Overflow
Overflow
Overflow
Counter
clear
Counter
clear
Counter
clear
T00MOD<TFF0>
PWM0 pin output
When the double buffer is enabled (T01MOD<DBE1>=”1”)
km
(Duty pulse)
km
(Duty pulse)
km+1
(Duty pulse)
rs
(Duty pulse)
Additional pulse
Interrupt request



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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