tmp88cs34ng TOSHIBA Semiconductor CORPORATION, tmp88cs34ng Datasheet - Page 63

no-image

tmp88cs34ng

Manufacturer Part Number
tmp88cs34ng
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp88cs34ng-6F41
Manufacturer:
TOSHIBA
Quantity:
329
2.5.3
Table 2.5.1 Source Clock (internal clock) for Timer/Counter 1 (Example: at fc = 16.0 MHz)
(1) Timer mode
TC1CK
are compared with the contents of up-counter. If a match is found, an INTTC1 interrupt is
generated, and the counter is cleared to “0”. Counting up resumes after the counter is
cleared. The current contents of up-counter can be transferred to TC1DRB by setting
ACAP1 (bit 6 in TC1CR) to “1” (software capture function). (Auto-capture function)
Function
window, pulse width measurement.
Example 1: Sets the timer mode with source clock fc/2
Example 2: Auto-capture
00
01
10
In this mode, counting up is performed using the internal clock. The contents of TC1DRA
Timer/counter 1 has five operating modes: timer, external trigger timer, event counter,
Resolution [μs]
later (at fc = 16 MHz)
128.0
LDW
DI
SET
EI
LD
LD
LD
:
LD
8.0
0.5
DV1CK = 0
(TC1DRA), 1E84H
(EIRL). 4
(TC1CR), 00000000B
(TC1CR), 00010000B
(TC1CR), 01010000B
:
WA, (TC1DRB)
Maximum time
setting [s]
32.77 m
88CS34-63
NORMAL, IDLE mode
8.39
0.524
Resolution [μs]
256.0
16.0
1.0
;
;
;
;
;
;
;
11
DV1CK = 1
(1 s ÷ 2
Enable INTTC1
Selects the source clock and mode
Starts TC1
ACAP1 ← 1 (Capture)
Wait at least one cycle of the
internal source clock
Reads the capture value
Sets the timer register
[Hz] and generates an interrupt 1
Maximum time
11
/fc = 1E84H)
setting [s]
16.78
65.54 m
1.049
TMP88CS34/CP34
2007-09-12

Related parts for tmp88cs34ng