công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

TMP89FS60 bảng dữ liệu(PDF) 196 Page - Toshiba Semiconductor

tên linh kiện TMP89FS60
Giải thích chi tiết về linh kiện  8 Bit Microcontroller
PDF  410 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  TOSHIBA [Toshiba Semiconductor]
Trang chủ  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TMP89FS60 bảng dữ liệu(HTML) 196 Page - Toshiba Semiconductor

Back Button TMP89FS60 Datasheet HTML 192Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 193Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 194Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 195Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 196Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 197Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 198Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 199Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 200Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 196 / 410 page
background image
Page 182
14. 8-bit Timer Counter (TC0)
TMP89FS60
RA002
Subsequently, the up counter continues counting up. When the up counter value reaches 128, an over-
flow occurs and the up counter is cleared to "0x00". At the same time, the output of the PWM0 pin is
reversed. When T00MOD<TFF0> is "0", the PWM0 pin changes from the "H" to "L" level. When
T00MOD<TFF0> is "1", the PWM0 pin changes from the "L" to "H" level. If the 2
× n-th overflow occurs
at this time, an INTT00 interrupt request is generated. (No interrupt request is generated at the 2
× n-th -1
overflow.) Subsequently, the up counter continues counting up.
When T001CR<T00RUN> is set to "0" during the timer operation, the up counter is stopped and
cleared to "0x00". The PWM0 pin returns to the level selected at T00MOD<TFF0>.
Figure 14-6 8-bit PWM Mode Timing Chart
(Example) Operate TC00 in the 8-bit PWM mode with the operation clock of fcgck/2 and output a duty pulse nearly equivalent to
11.625
µs (fcgck = 8 MHz)
(Actually, output a total duty pulse of 23.25
µs in 2 cycles (128 µs))
SET
(P7FC).0
; Sets P7FC0 to "1"
SET
(P7CR).0
; Sets P7CR0 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
(T00MOD),0xF2
; Selects the 8-bit PWM mode and fcgck/2
LD
(T00PWM),0x5D
; Sets the timer register (duty pulse)
; (11.625
µs × 2) / (2/fcgck) = 0x5D
SET
(T001CR).0
; Starts TC00
Source clock
Counter
Timer start
1
0
m
m
m
(Duty pulse)
128 counts
(Cycle 1)
128 counts
(Cycle 2)
128 counts
(Cycle 3)
128 counts
(Cycle 4)
rs
rs
Write to T00PWM
Double buffer
Write m
Write r
Write s
Becomes the level selected at
TFF0 while the timer is stopped
Reflected by an
interrupt request
Interrupt request
Reflected by an
interrupt request
Returns to the
level selected
at TFF0
INTT00 interrupt
request
1
m+1
m0
T00PWM
<PWMDUTY>
T00PWM
<PWMAD>
T001CR<T00RUN>
No interrupt request
is generated
No interrupt request
is generated
128
Timer stop
Match detection
m+1
m
1
0
128
r+1
r
1
0
128
r+1
r
1
00
128
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 (T00MOD<DBE0>=”1”)
m
(Duty pulse)
r
(Duty pulse)
r+1
(Duty pulse)
Additional pulse
Match detection



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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