tmp88ps42ng TOSHIBA Semiconductor CORPORATION, tmp88ps42ng Datasheet - Page 106

no-image

tmp88ps42ng

Manufacturer Part Number
tmp88ps42ng
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
10. 8-Bit TimerCounter 3 (TC3)
10.1 Configuration
10.2 TimerCounter Control
Timer Register and Control Register
TC3DRA
TC3DRB
(001CH)
(001DH)
(001EH)
TC3CR
(TC3DRA and TC3DRB).
The TimerCounter 3 is controlled by the TimerCounter 3 control register (TC3CR) and two 8-bit timer registers
Note 1: fc: High-frequency clock [Hz], *: Don’t care
Note 2: Set the operating mode and source clock when TimerCounter stops (TC3CR<TC3S> = 0).
Note 3: To set the timer registers, the following relationship must be satisfied.
Note 4: Auto-capture (TC3CR<ACAP>) can be used only in the timer and event counter modes.
Note 5: When the read instruction is executed to TC3CR, the bit 5 and 7 are read as a don’t care.
Note 6: Do not program TC3DRA when the timer is running (TC3CR<TC3S> = 1).
Note 7: When the STOP mode is entered, the start control (TC3CR<TC3S>) is cleared to 0 automatically, and the timer
TC3CK
ACAP
TC3M
TC3S
TC3DRA > 1 (Timer/event counter mode)
stops. After the STOP mode is exited, TC3CR<TC3S> must be set again to use the timer counter.
7
7
Auto capture control
TC3 start control
TC3 source clock select
[Hz]
TC3 operating mode
select
ACAP
6
6
5
5
TC3S
4
4
0: –
1: Auto capture
0: Stop and counter clear
1: Start
0: Timer/event counter mode
1: Capture mode
000
001
010
011
100
101
110
111
3
3
Page 96
TC3CK
DV1CK=0
fc/2
fc/2
fc/2
fc/2
fc/2
fc/2
fc/2
2
2
13
12
11
10
9
8
7
External clock (TC3pin input)
NORMAL, IDLE mode
1
1
TC3M
0
0
Read/Write (Initial value: 1111 1111)
Read only (Initial value: 1111 1111)
(Initial value: *0*0 0000)
DV1CK=1
fc/2
fc/2
fc/2
fc/2
fc/2
fc/2
fc/2
14
13
12
10
11
9
8
TMP88PS42NG
R/W
R/W
R/W
R/W

Related parts for tmp88ps42ng