Epson S1C88650 Technical Manual page 96

Hewlett-packard cmos 8-bit single chip microcomputer technical manual
Table of Contents

Advertisement

5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer)
[8-bit mode]
8-bit data
Timer 0
input clock
Timer 1
input clock
8-bit data
Fig. 5.10.2.1 Counter configuration in 8- and 16-bit mode (example of Timers 0 and 1)
Table 5.10.2.1(a) Control registers in 8-bit mode (example of Timers 0 and 1)
Address Bit
Name
00FF30
D7
MODE16_A
D6
PTNREN_A
D5
D4
D3
PTOUT0
D2
PTRUN0
D1
PSET0
D0
CKSEL0
00FF31 D7
D6
D5
D4
D3
PTOUT1
D2
PTRUN1
D1
PSET1
D0
CKSEL1
Table 5.10.2.1(b) Control registers in 16-bit mode (example of Timers 0 and 1)
Address Bit
Name
00FF30
D7
MODE16_A
D6
PTNREN_A
D5
D4
D3
PTOUT0
D2
PTRUN0
D1
PSET0
D0
CKSEL0
00FF31 D7
D6
D5
D4
D3
PTOUT1
D2
PTRUN1
D1
PSET1
D0
CKSEL1
Note: The register names contain a timer number (0–7) to identify the timer to which the register belongs.
The following explanation uses "x" instead of the timer number except when it is required. For
example, PTRUNx represents PTRUN0 through PTRUN7. Furthermore, a pair of timers are
described as Timer(L) and Timer(H) in explanations for 16-bit mode.
Timer(L) = Timer 0, Timer 2, Timer 4 or Timer 6
Timer(H) = Timer 1, Timer 3, Timer 5 or Timer 7
This is used for register names.
88
Interrupt request
Timer 0
TOUT output
Interrupt request
Timer 1
TOUT output
Function
PTM0–1 8/16-bit mode selection
External clock 0 noise rejecter selection
R/W register
PTM0 clock output control
PTM0 Run/Stop control
PTM0 preset
PTM0 input clock selection
R/W register
PTM1 clock output control
PTM1 Run/Stop control
PTM1 preset
PTM1 input clock selection
Function
PTM0–1 8/16-bit mode selection
External clock 0 noise rejecter selection
R/W register
Invalid (fixed at "0")
PTM0 Run/Stop control
PTM0 preset
PTM0 input clock selection
R/W register
PTM1 clock output control
Invalid (fixed at "0")
Invalid (fixed at "0")
Invalid (fixed at "0")
[16-bit mode]
Low-order 8-bit data
Timer 0
Timer 0
input clock
Timer 0
underflow
Timer 1
signal
High-order 8-bit data
1
0
-
-
16
bit x 1
8
bit x 2
Enable
Disable
1
0
On
Off
Run
Stop
Preset
No operation
External clock
Internal clock
1
0
On
Off
Run
Stop
Preset
No operation
External clock
Internal clock
1
0
-
-
16
bit x 1
8
bit x 2
Enable
Disable
1
0
Invalid
Fixed at "0"
Run
Stop
Preset
No operation
External clock
Internal clock
1
0
On
Off
Invalid
Fixed at "0"
Invalid
Fixed at "0"
Invalid
Fixed at "0"
EPSON
Interrupt request
TOUT output
SR R/W
Comment
0
R/W
0
R/W
"0" when being read
0
R/W
Reserved register
0
R/W
0
R/W
0
W
"0" when being read
0
R/W
Constantly "0" when
being read
0
R/W
Reserved register
0
R/W
0
R/W
0
W
"0" when being read
0
R/W
SR R/W
Comment
0
R/W
0
R/W
"0" when being read
0
R/W
Reserved register
0
R/W
0
R/W
0
W
"0" when being read
0
R/W
Constantly "0" when
being read
0
R/W
Reserved register
0
R/W
0
R/W
0
W
"0" when being read
0
R/W
S1C88650 TECHNICAL MANUAL

Advertisement

Table of Contents
loading

Table of Contents