tmp88ps42ng TOSHIBA Semiconductor CORPORATION, tmp88ps42ng Datasheet - Page 107

no-image

tmp88ps42ng

Manufacturer Part Number
tmp88ps42ng
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
10.3 Function
10.3.1 Timer mode
TimerCounter 3 has three types of operating modes: timer, event counter and capture modes.
and the timer register 3A (TC3DRA) value is detected, an INTTC3 interrupt is generated and the up-counter is
cleared. After being cleared, the up-counter restarts counting. Setting TC3CR<ACAP> to 1 captures the up-
counter value into the timer register 3B (TC3DRB) with the auto-capture function. The count value during
timer operation can be checked by executing the read instruction to TC3DRB.
In the timer mode, the up-counter counts up using the internal clock. When a match between the up-counter
Note:00H which is stored in the up-counter immediately after detection of a match is not captured into TC3DRB.
(Figure 10-2)
Table 10-1 Source Clock for TimerCounter 3 (Example: fc = 20 MHz)
TC3CK
000
001
010
011
100
101
110
Clock
TC3DRA
Up-counter
TC3DRB
Resolution
409.6
204.8
102.4
51.2
25.6
12.8
[μs]
6.4
Figure 10-2 Auto-Capture Function
DV1CK = 0
Maximum Time Setting
C6
104.45
52.22
26.11
13.06
[ms]
6.53
3.06
1.63
C6
Note: In the case that TC3DRB is C8H
NORMAL, IDLE mode
Page 97
Match detect
C7
C7
Resolution
819.2
409.6
204.8
102.4
C8
51.2
25.6
12.8
[μs]
C8
00
C8
DV1CK = 1
Maximum Time Setting
01
208.90
104.45
52.22
13.06
26.11
[ms]
6.53
3.06
01
TMP88PS42NG

Related parts for tmp88ps42ng