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

X  

TMP86FS49AIUG 数据表(PDF) 96 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) 96 Page - Toshiba Semiconductor

Back Button TMP86FS49AIUG Datasheet HTML 92Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 93Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 94Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 95Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 96Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 97Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 98Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 99Page - Toshiba Semiconductor TMP86FS49AIUG Datasheet HTML 100Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 96 / 296 page
background image
Page 80
8. 16-Bit TimerCounter 1 (TC1)
8.3 Function
TMP86FS49AIUG
8.3
Function
TimerCounter 1 has six types of operating modes: timer, external trigger timer, event counter, window, pulse
width measurement, programmable pulse generator output modes.
8.3.1
Timer mode
In the timer mode, the up-counter counts up using the internal clock. When a match between the up-counter and the timer
register 1A (TC1DRA) value is detected, an INTTC1 interrupt is generated and the up-counter is cleared. After being
cleared, the up-counter restarts counting. Setting TC1CR<ACAP1> to “1” captures the up-counter value into the timer reg-
ister 1B (TC1DRB) with the auto-capture function. Use the auto-capture function in the operative condition of TC1. A cap-
tured value may not be fixed if it's read after the execution of the timer stop or auto-capture disable. Read the capture value
in a capture enabled condition. Since the up-counter value is captured into TC1DRB by the source clock of up-counter after
setting TC1CR<ACAP1> to "1". Therefore, to read the captured value, wait at least one cycle of the internal source clock
before reading TC1DRB for the first time.
Note: Since the up-counter value is captured into TC1DRB by the source clock of up-counter after setting TC1CR<ACAP1> to "1".
Therefore, to read the captured value, wait at least one cycle of the internal source clock before reading TC1DRB for the first
time.
Table 8-1
Internal Source Clock for TimerCounter 1 (Example: fc
= 16 MHz, fs = 32.768 kHz)
TC1CK
NORMAL1/2, IDLE1/2 mode
SLOW, SLEEP mode
DV7CK = 0
DV7CK = 1
Resolution
[
µs]
Maximum Time Setting
[s]
Resolution
[
µs]
Maximum Time Setting
[s]
Resolution
[
µs]
Maximum
Time Set-
ting [s]
00
128
8.39
244.14
16.0
244.14
16.0
01
8.0
0.524
8.0
0.524
10
0.5
32.77 m
0.5
32.77 m
Example 1 :Setting the timer mode with source clock fc/211 [Hz] and generating an interrupt 1 second later
(fc
= 16 MHz, TBTCR<DV7CK> = “0”)
LDW
(TC1DRA), 1E84H
; Sets the timer register (1 s
÷ 211/fc = 1E84H)
DI
; IMF
= “0”
SET
(EIRL). 5
; Enables INTTC1
EI
; IMF
= “1”
LD
(TC1CR), 00000000B
; Selects the source clock and mode
LD
(TC1CR), 00010000B
; Starts TC1
Example 2 :Auto-capture
LD
(TC1CR), 01010000B
; ACAP1
← 1
:
:
LD
WA, (TC1DRB)
; Reads the capture value



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