I/O Memory Of Programmable Timer - Epson S1C63656 Technical Manual

Cmos 4-bit single chip microcomputer
Table of Contents

Advertisement

4.10.10 I/O memory of programmable timer

Table 4.10.10.1 shows the I/O addresses and the control bits for the programmable timer.
Register
Address
D3
D2
MOD16 EVCNT FCSEL PLPOL
FFC0H
R/W
0
0
CHSEL0 PTOUT
FFC1H
R
0
0
CKSEL1 CKSEL0
FFC2H
R
PTPS01 PTPS00 PTRST0 PTRUN0
FFC3H
R/W
PTPS11 PTPS10 PTRST1 PTRUN1
FFC4H
R/W
RLD03 RLD02 RLD01 RLD00
FFC6H
R/W
RLD07 RLD06 RLD05 RLD04
FFC7H
R/W
RLD13 RLD12 RLD11 RLD10
FFC8H
R/W
RLD17 RLD16 RLD15 RLD14
FFC9H
R/W
PTD03 PTD02 PTD01 PTD00
FFCCH
R
PTD07 PTD06 PTD05 PTD04
FFCDH
R
PTD13 PTD12 PTD11 PTD10
FFCEH
R
PTD17 PTD16 PTD15 PTD14
FFCFH
R
CD03
CD02
CD01
FFD2H
R/W
*1 Initial value at initial reset
*2 Not set in the circuit
S1C63656 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer)
Table 4.10.10.1(a) Control bits of programmable timer
∗1
D1
D0
Name Init
MOD16
0
EVCNT
0
FCSEL
0
PLPOL
0
∗3
∗2
0
∗3
∗2
0
CHSEL0
0
R/W
PTOUT
0
∗3
∗2
0
∗3
∗2
0
CKSEL1
0
R/W
CKSEL0
0
PTPS01
0
PTPS00
0
∗3
∗2
PTRST0
W
R/W
PTRUN0
0
PTPS11
0
PTPS10
0
∗3
∗2
PTRST1
W
R/W
PTRUN1
0
RLD03
0
RLD02
0
RLD01
0
RLD00
0
RLD07
0
RLD06
0
RLD05
0
RLD04
0
RLD13
0
RLD12
0
RLD11
0
RLD10
0
RLD17
0
RLD16
0
RLD15
0
RLD14
0
PTD03
0
PTD02
0
PTD01
0
PTD00
0
PTD07
0
PTD06
0
PTD05
0
PTD04
0
PTD13
0
PTD12
0
PTD11
0
PTD10
0
PTD17
0
PTD16
0
PTD15
0
PTD14
0
CD03
0
CD00
CD02
0
CD01
0
CD00
0
*3 Constantly "0" when being read
1
0
16 bits
8 bits
16-bit mode selection
Event ct.
Timer
Timer 0 counter mode selection
With NR
No NR
Timer 0 function selection (for event counter mode)
Timer 0 pulse polarity selection (for event counter mode)
Unused
Unused
Timer 1
Timer 0
TOUT output selection
On
Off
TOUT output control
Unused
Unused
OSC3
OSC1
Prescaler 1 source clock selection
OSC3
OSC1
Prescaler 0 source clock selection
Prescaler 0
division ratio
selection
Reset
Invalid
Timer 0 reset (reload)
Run
Stop
Timer 0 Run/Stop
Prescaler 1
division ratio
selection
Reset
Invalid
Timer 1 reset (reload)
Run
Stop
Timer 1 Run/Stop
MSB
Programmable timer 0 reload data (low-order 4 bits)
LSB
MSB
Programmable timer 0 reload data (high-order 4 bits)
LSB
MSB
Programmable timer 1 reload data (low-order 4 bits)
LSB
MSB
Programmable timer 1 reload data (high-order 4 bits)
LSB
MSB
Programmable timer 0 data (low-order 4 bits)
LSB
MSB
Programmable timer 0 data (high-order 4 bits)
LSB
MSB
Programmable timer 1 data (low-order 4 bits)
LSB
MSB
Programmable timer 1 data (high-order 4 bits)
LSB
MSB
Programmable timer 0 compare data (low-order 4 bits)
LSB
EPSON
Comment
[PTPS01, 00]
0
1
2
Division ratio
1/1
1/4
1/32
[PTPS11, 10]
0
1
2
Division ratio
1/1
1/4
1/32
3
1/256
3
1/256
79

Advertisement

Table of Contents
loading

Table of Contents