tmp86c408idmg TOSHIBA Semiconductor CORPORATION, tmp86c408idmg Datasheet - Page 97

no-image

tmp86c408idmg

Manufacturer Part Number
tmp86c408idmg
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
Example :Setting the timer mode with source clock fc/2
9.3 Function
9.3.1 8-Bit Timer Mode (TC3 and 4)
Table 9-4 Source Clock for TimerCounter 3, 4 (Internal Clock)
bit pulse width modulation (PWM) output modes. The TimerCounter 3 and 4 (TC3, 4) are cascadable to form a 16-
bit timer. The 16-bit timer has the operating modes such as the 16-bit timer, 16-bit event counter, warm-up counter,
16-bit pulse width modulation (PWM) output and 16-bit programmable pulse generation (PPG) modes.
DV7CK = 0
fc/2
The TimerCounter 3 and 4 have the 8-bit timer, 8-bit event counter, 8-bit programmable divider output (PDO), 8-
(TimerCounter4, fc = 16.0 MHz)
NORMAL1/2, IDLE1/2 mode
fc/2
fc/2
fc/2
11
and the timer register j (TTREGj) value is detected, an INTTCj interrupt is generated and the up-counter is
cleared. After being cleared, the up-counter restarts counting.
[Hz]
7
5
3
In the timer mode, the up-counter counts up using the internal clock. When a match between the up-counter
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
shift register configuration in the timer mode, the new value programmed in TTREGj is in effect immediately
after the programming. Therefore, if TTREGi is changed while the timer is running, an expected operation
may not be obtained.
Source Clock
DV7CK = 1
fs/2
fc/2
fc/2
fc/2
3
[Hz]
7
5
3
LD
DI
SET
EI
LD
LD
(TTREG4), 0AH
(EIRH). 3
(TC4CR), 00010000B
(TC4CR), 00011000B
SLOW1/2,
SLEEP1/2
fs/2
mode
3
[Hz]
7
fc = 16 MHz
Hz and generating an interrupt 80 µs later
Page 87
500 ns
128 µs
8 µs
2 µs
Resolution
: Sets the timer register (80 µs
: Enables INTTC4 interrupt.
: Sets the operating clock to fc/2
: Starts TC4.
fs = 32.768 kHz
PDOj
244.14 µs
,
PWMj
and
PPGj
fc = 16 MHz
÷
127.5 µs
pins may output pulses.
32.6 ms
510 µs
2.0 ms
2
7
7
, and 8-bit timer mode.
Maximum Time Setting
/fc = 0AH).
TMP86C408IDMG
fs = 32.768 kHz
62.3 ms

Related parts for tmp86c408idmg