tmp88cs43fg TOSHIBA Semiconductor CORPORATION, tmp88cs43fg Datasheet - Page 120

no-image

tmp88cs43fg

Manufacturer Part Number
tmp88cs43fg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
12. 8-Bit TimerCounter 5,6(TC5, 6)
12.1 Configuration
12.2 TimerCounter Control
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 oper-
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
TC5CK
TC5M
TC5S
TFF5
the timer is running.
ation (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.
12-1.
TFF5
7
7
7
Time F/F5 control
Operating clock selection [Hz]
TC5 start control
TC5M operating mode select
6
6
6
TC5CK
5
5
5
4
4
4
TC5S
3
3
3
000:
001:
010:
011:
1**:
0:
1:
0:
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
Page 110
2
2
2
TC5M
1
1
1
DV1CK = 0
fc/2
fc/2
fc/2
fc/2
0
0
0
-
-
-
11
7
5
3
NORMAL, IDLE mode
(Initial value: 1111 1111)
(Initial value: 1111 1111)
(Initial value: 0000 0000)
TC5I pin input
DV1CK = 1
fc/2
fc/2
fc/2
fc/2
-
-
-
12
8
6
4
TMP88CS43FG
R/W
R/W
R/W
R/W

Related parts for tmp88cs43fg