TMP86FS49AFG Toshiba Semiconductor, TMP86FS49AFG Datasheet - Page 127

no-image

TMP86FS49AFG

Manufacturer Part Number
TMP86FS49AFG
Description
8-Bit Microcontroller
Manufacturer
Toshiba Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP86FS49AFG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Company:
Part Number:
TMP86FS49AFG
Quantity:
3 200
Part Number:
TMP86FS49AFG(Z)
Manufacturer:
Toshiba
Quantity:
10 000
Example :Setting the timer mode with source clock fc/2
www.DataSheet4U.com
TC4CR<TC4S>
TTREG3
(Lower byte)
TTREG4
(Upper byte)
INTTC4 interrupt request
10.3.5 16-Bit Timer Mode (TC3 and 4)
Table 10-6 Source Clock for 16-Bit Timer Mode
Internal
source clock
Counter
DV7CK = 0
(fc = 16.0 MHz)
NORMAL1/2, IDLE1/2 mode
fc/2
fc/2
fc/2
fc/2
able to form a 16-bit timer.
timer is started by setting TC4CR<TC4S> to 1, an INTTC4 interrupt is generated and the up-counter is cleared.
After being cleared, the up-counter continues counting. Program the lower byte and upper byte in this order in
the timer register. (Programming only the upper or lower byte should not be attempted.)
11
7
5
3
In the timer mode, the up-counter counts up using the internal clock. The TimerCounter 3 and 4 are cascad-
When a match between the up-counter and the timer register (TTREG3, TTREG4) value is detected after the
Note 1: In the timer mode, fix TCjCR<TFFj> to 0. If not fixed, the
Note 2: In the timer mode, do not change the TTREGj setting while the timer is running. Since TTREGj is not in the
Note 3: j = 3, 4
Figure 10-6 16-Bit Timer Mode Timing Chart (TC3 and TC4)
?
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.
?
Source Clock
DV7CK = 1
0
fs/2
fc/2
fc/2
fc/2
n
m
3
7
5
3
LDW
DI
SET
EI
LD
LD
LD
1
2
SLOW1/2,
SLEEP1/2
(TTREG3), 927CH
(EIRH). 1
(TC3CR), 13H
(TC4CR), 04H
(TC4CR), 0CH
mode
fs/2
3
3
Match
detect
7
mn-1
fc = 16 MHz
Page 111
Hz, and generating an interrupt 300 ms later
128 µs
500 ns
8 µs
2 µs
mn
0
Resolution
Counter
clear
: Sets the timer register (300 ms
: Enables INTTC4 interrupt.
:Sets the operating clock to fc/2
: Sets the 16-bit timer mode (upper byte).
: Starts the timer.
(lower byte).
1
fs = 32.768 kHz
PDOj
244.14 µs
2
,
PWMj
, and
Match
detect
mn-1
PPGj
fc = 16 MHz
mn
524.3 ms
131.1 ms
32.8 ms
pins may output a pulse.
7
8.39 s
÷
, and 16-bit timer mode
0
2
Maximum Time Setting
7
/fc = 927CH).
Counter
clear
1
2
TMP86FS49AFG
fs = 32.768 kHz
16 s
0

Related parts for TMP86FS49AFG