tmp88fw45afg TOSHIBA Semiconductor CORPORATION, tmp88fw45afg Datasheet - Page 135

no-image

tmp88fw45afg

Manufacturer Part Number
tmp88fw45afg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
TimerCounter 6 Timer Register
TimerCounter 6 Control Register
(0025H) R/
PWREG6
TTREG6
(0023H)
(0021H)
TC6CR
(TTREG6 and PWREG6).
R/W
W
The TimerCounter 6 is controlled by the TimerCounter 6 control register (TC6CR) and two 8-bit timer registers
Note 1: Do not change the timer register (TTREG6) setting while the timer is running.
Note 2: Do not change the timer register (PWREG6) setting in the operating mode except the 8-bit and 16-bit PWM modes while
Note 1: fc: High-frequency clock [Hz]
Note 2: Do not change the TC6M, TC6CK and TFF6 settings while the timer is running.
Note 3: To stop the timer operation (TC6S= 1 → 0), do not change the TC6M, TC6CK and TFF6 settings.
Note 4: When TC6M= 1** (upper byte in the 16-bit mode), the source clock becomes the TC6 overflow signal regardless of the
Note 5: To use the TimerCounter in the 16-bit mode, select the operating mode by programming TC6M, where TC5CR<TC5 M>
Note 6: To the TimerCounter in the 16-bit mode, select the source clock by programming TC5CR<TC5CK>. Set the timer start
TFF6
the timer is running.
To start the timer operation (TC6S= 0 → 1), TC6M, TC6CK and TFF6 can be programmed.
TC5CK setting.
must be set to 011.
control and timer F/F control by programming TC6S and TFF6, respectively.
7
7
7
TC6CK
6
6
6
TC6M
TC6S
TFF6
TC6CK
5
5
5
Timer F/F6 control
Operating clock selection [Hz]
TC6 start control
TC6M operating mode select
4
4
4
TC6S
3
3
3
Page 121
2
2
2
000:
001:
010:
011:
100:
101:
110:
111:
TC6M
0:
1:
0:
1:
1
1
1
000
001
010
011
100
101
110
111
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
0
0
0
(Initial value: 1111 1111)
(Initial value: 1111 1111)
(Initial value: 0000 0000)
DV1CK = 0
fc/2
fc/2
fc/2
fc/2
-
-
-
11
7
5
3
NORMAL, IDLE mode
TC6 pin input
TMP88FW45AFG
DV1CK = 1
fc/2
fc/2
fc/2
fc/2
-
-
-
12
8
5
3
R/W
R/W
R/W
R/W

Related parts for tmp88fw45afg