11 PROGRaMMaBle TiMeR
11-10
Seiko epson Corporation
S1C63003/004/008/016 TeChniCal Manual
(Rev. 1.1)
Address
Register name R/W Default
Setting/data
Function
FF91H
(
*
6)
D3
PTSel3 (
*
4)
R/W
0
1 PWM
0 Normal
Programmable timer 3 PWM output selection
D2
PTSel2
R/W
0
1 PWM
0 Normal
Programmable timer 2 PWM output selection
D1
ChSel_B (
*
4) R/W
0
1 Timer 3
0 Timer 2
PTM2–3 TOUT_B output selection
D0
PTOuT_B
R/W
0
1 On
0 Off
PTM2–3 TOUT_B output control
FF92H
(
*
6)
D3
PTRST3 (
*
3,
*
4) W
– (
*
2) 1 Reset
0 Invalid
Programmable timer 3 reset (reload)
D2
PTRun3 (
*
4)
R/W
0
1 Run
0 Stop
Programmable timer 3 Run/Stop
D1
PTRST2 (
*
3)
W
– (
*
2) 1 Reset
0 Invalid
Programmable timer 2 reset (reload)
D0
PTRun2
R/W
0
1 Run
0 Stop
Programmable timer 2 Run/Stop
FF94H
(
*
6)
D3
RlD23
R/W
0
0H–FH
Programmable timer 2 reload data
(low-order 4 bits)
RLD20 = LSB
D2
RlD22
R/W
0
D1
RlD21
R/W
0
D0
RlD20
R/W
0
FF95H
(
*
6)
D3
RlD27
R/W
0
0H–FH
Programmable timer 2 reload data
(high-order 4 bits)
RLD27 = MSB
D2
RlD26
R/W
0
D1
RlD25
R/W
0
D0
RlD24
R/W
0
FF96H
(
*
4)
D3
RlD33
R/W
0
0H–FH
Programmable timer 3 reload data
(low-order 4 bits)
RLD30 = LSB
D2
RlD32
R/W
0
D1
RlD31
R/W
0
D0
RlD30
R/W
0
FF97H
(
*
4)
D3
RlD37
R/W
0
0H–FH
Programmable timer 3 reload data
(high-order 4 bits)
RLD37 = MSB
D2
RlD36
R/W
0
D1
RlD35
R/W
0
D0
RlD34
R/W
0
FF98H
(
*
6)
D3
PTD23
R
0
0H–FH
Programmable timer 2 data (low-order 4 bits)
PTD20 = LSB
D2
PTD22
R
0
D1
PTD21
R
0
D0
PTD20
R
0
FF99H
(
*
6)
D3
PTD27
R
0
0H–FH
Programmable timer 2 data (high-order 4 bits)
PTD27 = MSB
D2
PTD26
R
0
D1
PTD25
R
0
D0
PTD24
R
0
FF9AH
(
*
4)
D3
PTD33
R
0
0H–FH
Programmable timer 3 data (low-order 4 bits)
PTD30 = LSB
D2
PTD32
R
0
D1
PTD31
R
0
D0
PTD30
R
0
FF9BH
(
*
4)
D3
PTD37
R
0
0H–FH
Programmable timer 3 data (high-order 4 bits)
PTD37 =MSB
D2
PTD36
R
0
D1
PTD35
R
0
D0
PTD34
R
0
FF9CH
(
*
6)
D3
CD23
R/W
0
0H–FH
Programmable timer 2 compare data
(low-order 4 bits)
CD20 = LSB
D2
CD22
R/W
0
D1
CD21
R/W
0
D0
CD20
R/W
0
FF9DH
(
*
6)
D3
CD27
R/W
0
0H–FH
Programmable timer 2 compare data
(high-order 4 bits)
CD27 = MSB
D2
CD26
R/W
0
D1
CD25
R/W
0
D0
CD24
R/W
0
FF9EH
(
*
4)
D3
CD33
R/W
0
0H–FH
Programmable timer 3 compare data
(low-order 4 bits)
CD30 = LSB
D2
CD32
R/W
0
D1
CD31
R/W
0
D0
CD30
R/W
0
FF9FH
(
*
4)
D3
CD37
R/W
0
0H–FH
Programmable timer 3 compare data
(high-order 4 bits)
CD37 = MSB
D2
CD36
R/W
0
D1
CD35
R/W
0
D0
CD34
R/W
0
*
1 Initial value at initial reset
*
2 Not set in the circuit
*
3 Constantly "0" when being read
*
4 Unused in the S1C63003/004/008
*
5 Unused in the S1C63003/004
*
6 Unused in the S1C63003
PTPS0[3:0]: Timer 0 count clock frequency select register (FF18h)
PTPS1[3:0]: Timer 1 count clock frequency select register (FF19h) – S1C63004/008/016
PTPS2[3:0]: Timer 2 count clock frequency select register (FF1ah) – S1C63004/008/016
PTPS3[3:0]: Timer 3 count clock frequency select register (FF1Bh) – S1C63016
Selects the count clock frequency for each timer.