tmp88fw45afg TOSHIBA Semiconductor CORPORATION, tmp88fw45afg Datasheet - Page 134

no-image

tmp88fw45afg

Manufacturer Part Number
tmp88fw45afg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
13.2
TimerCounter Control
13.2
TimerCounter 5 Timer Register
TimerCounter 5 Control Register
PWREG5
TTREG5
(0022H)
(0024H)
(0020H)
TC5CR
(TTREG5, PWREG5).
R/W
R/W
The TimerCounter 5 is controlled by the TimerCounter 5 control register (TC5CR) and two 8-bit timer registers
Note 1: Do not change the timer register (TTREG5) setting while the timer is running.
Note 2: Do not change the timer register (PWREG5) 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 TC5M, TC5CK and TFF5 settings while the timer is running.
Note 3: To stop the timer operation (TC5S= 1 → 0), do not change the TC5M, TC5CK and TFF5 settings. To start the timer
Note 4: To use the TimerCounter in the 16-bit mode, set the operating mode by programming TC6CR<TC6M>, where TC5M must
Note 5: To use the TimerCounter in the 16-bit mode, select the source clock by programming TC5CK. Set the timer start control
Note 6: The operating clock settings are limited depending on the timer operating mode. For the detailed descriptions, see Table
Note 7: The timer register settings are limited depending on the timer operating mode. For the detailed descriptions, see Table
TimerCounter Control
TFF5
the timer is running.
operation (TC5S= 0 → 1), TC5M, TC5CK and TFF5 can be programmed.
be fixed to 011.
and timer F/F control by programming TC6CR<TC6S> and TC6CR<TFF6>, respectively.
13-1.
13-2.
7
7
7
TC5CK
6
6
6
TC5M
TC5S
TFF5
TC5CK
5
5
5
Time F/F5 control
Operating clock selection [Hz]
TC5 start control
TC5M operating mode select
4
4
4
TC5S
3
3
3
Page 120
2
2
2
000:
001:
010:
011:
TC5M
1**:
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
16-bit mode
(Each mode is selectable with TC6M.)
Reserved
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
TC5 pin input
TMP88FW45AFG
DV1CK = 1
fc/2
fc/2
fc/2
fc/2
-
-
-
12
8
6
4
R/W
R/W
R/W
R/W

Related parts for tmp88fw45afg