tmp86fh46bng TOSHIBA Semiconductor CORPORATION, tmp86fh46bng Datasheet - Page 102

no-image

tmp86fh46bng

Manufacturer Part Number
tmp86fh46bng
Description
8 Bit Microcontroller Tlcs-870/c Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP86FH46BNG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
9.2
TimerCounter Control
TimerCounter 4 Timer Register
TimerCounter 4 Control Register
PWREG4
TTREG4
(001BH)
(0019H)
(0017H)
TC4CR
ters (TTREG4 and PWREG4).
R/W
R/W
The TimerCounter 4 is controlled by the TimerCounter 4 control register (TC4CR) and two 8-bit timer regis-
Note 1: Do not change the timer register (TTREG4) setting while the timer is running.
Note 2: Do not change the timer register (PWREG4) setting in the operating mode except the 8-bit and 16-bit PWM modes
Note 1: fc: High-frequency clock [Hz] fs: Low-frequency clock [Hz]
Note 2: Do not change the TC4M, TC4CK and TFF4 settings while the timer is running.
Note 3: To stop the timer operation (TC4S= 1 → 0), do not change the TC4M, TC4CK and TFF4 settings.
Note 4: When TC4M= 1** (upper byte in the 16-bit mode), the source clock becomes the TC3 overflow signal regardless of
Note 5: To use the TimerCounter in the 16-bit mode, select the operating mode by programming TC4M, where
Note 6: To the TimerCounter in the 16-bit mode, select the source clock by programming TC3CR<TC3CK>. Set the timer
TFF4
TC4CK
TC4M
while the timer is running.
TC4S
To start the timer operation (TC4S= 0 → 1), TC4M, TC4CK and TFF4 can be programmed.
the TC4CK setting.
TC3CR<TC3M> must be set to 011.
start control and timer F/F control by programming TC4S and TFF4, respectively.
TFF4
7
7
7
6
6
6
Timer F/F4 control
(Note 2,3)
Operating clock selection [Hz]
(Note 2,3,7)
TC4 start control
(Note 3)
TC4M operating mode select
(Note 2,3,8)
TC4CK
5
5
5
4
4
4
TC4S
3
3
3
000:
001:
010:
011:
100:
101:
110:
111:
0:
1:
0:
1:
2
2
2
000
001
010
011
100
101
110
111
Page 84
Clear
Set
Operation stop and counter clear
Operation start
8-bit timer/event counter mode
8-bit programmable divider output (PDO) mode
8-bit pulse width modulation (PWM) output mode
Reserved
16-bit timer/event counter mode
Warm-up counter mode
16-bit pulse width modulation (PWM) output mode
16-bit PPG mode
TC4M
1
1
1
DV7CK = 0
fc (Note 9)
NORMAL1/2, IDLE1/2 mode
fc/2
fc/2
fc/2
fc/2
0
0
0
fc/2
fs
11
7
5
3
(Initial value: 1111 1111)
(Initial value: 1111 1111)
(Initial value: 0000 0000)
TC4 pin input
DV7CK = 1
fc (Note 9)
fs/2
fc/2
fc/2
fc/2
fc/2
fs
3
7
5
3
TMP86FH46BNG
SLEEP1/2
SLOW1/2
mode
fs/2
fs
-
-
-
-
-
3
R/W
R/W
R/W
R/W

Related parts for tmp86fh46bng