数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

TMP86FS49AIUG 数据表(PDF) 147 Page - Toshiba Semiconductor

部件名 TMP86FS49AIUG
功能描述  8 Bit Microcontroller
PDF  296 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  TOSHIBA [Toshiba Semiconductor]
网页  http://www.semicon.toshiba.co.jp/eng
标志 TOSHIBA - Toshiba Semiconductor

TMP86FS49AIUG 数据表(HTML) 147 Page - Toshiba Semiconductor

Back Button TMP86FS49AIUG Datasheet HTML 143Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 144Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 145Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 146Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 147Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 148Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 149Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 150Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 151Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 147 / 296 page
background image
Page 131
TMP86FS49AIUG
11.3.5 16-Bit Timer Mode (TC5 and 6)
In the timer mode, the up-counter counts up using the internal clock. The TimerCounter 5 and 6 are cascad-
able to form a 16-bit timer.
When a match between the up-counter and the timer register (TTREG5, TTREG6) value is detected after the
timer is started by setting TC6CR<TC6S> to 1, an INTTC6 interrupt is generated and the up-counter is cleared.
After being cleared, the up-counter continues counting. Program the upper byte and lower byte in this order in
the timer register. (Programming only the upper or lower byte should not be attempted.)
Note 1: In the timer mode, fix TCjCR<TFFj> to 0. If not fixed, the PDOj, PWMj, and PPGj pins may output a pulse.
Note 2: In the timer mode, do not change the TTREGj setting while the timer is running. Since TTREGj is not in the
shift register configuration in the timer mode, the new value programmed in TTREGj is in effect immediately
after programming of TTREGj. Therefore, if TTREGj is changed while the timer is running, an expected
operation may not be obtained.
Note 3: j = 5, 6
Figure 11-6 16-Bit Timer Mode Timing Chart (TC5 and TC6)
Table 11-6 Source Clock for 16-Bit Timer Mode
Source Clock
Resolution
Repeated Cycle
NORMAL1/2, IDLE1/2 mode
SLOW1/2,
SLEEP1/2
mode
fc = 16 MHz
fs = 32.768 kHz
fc = 16 MHz
fs = 32.768 kHz
DV7CK = 0
DV7CK = 1
fc/211
fs/23
fs/23
128
µs244.14 µs
8.39 s
16 s
fc/27
fc/27
–8
µs
524.3 ms
fc/25
fc/25
–2
µs
131.1 ms
fc/23
fc/23
500 ns
32.8 ms
Example :Setting the timer mode with source clock fc/27 Hz, and generating an interrupt 300 ms later
(fc = 16.0 MHz)
LDW
(TTREG5), 927CH
: Sets the timer register (300 ms
÷27/fc = 927CH).
DI
SET
(EIRE). 2
: Enables INTTC6 interrupt.
EI
LD
(TC5CR), 13H
:Sets the operating cock to fc/27, and 16-bit timer mode
(lower byte).
LD
(TC6CR), 04H
: Sets the 16-bit timer mode (upper byte).
LD
(TC6CR), 0CH
: Starts the timer.
1
0
2
3
mn-1 mn 0
1
mn-1 mn
2
0
1
2
0
n
?
m
?
Internal
source clock
Counter
Match
detect
Counter
clear
Match
detect
Counter
clear
TC6CR<TC6S>
TTREG5
(Lower byte)
INTTC6 interrupt request
TTREG6
(Upper byte)



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


链接网址



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