11 PROGRaMMaBle TiMeR
11-2
Seiko epson Corporation
S1C63003/004/008/016 TeChniCal Manual
(Rev. 1.1)
Timer 0
Timer 0 clock selection
Underflow signal
Compare match signal
Interrupt
request
Timer 0 reset
Timer 0
clock
Timer 1
clock
PWM output selection
R/F converter
Serial interface
EVIN_A
(P10)
PTSEL0
PTRST0
Data bus
Timer 0
Run/Stop
PTRUN0
PTPS0[3:0]
Timer function setting
f
OSC1
/16 (2,048 Hz)
f
OSC1
FCSEL_A
Timer 1 clock selection
PTPS1[3:0]
f
OSC3
Pulse polarity setting
PLPUL_A
Output control
PTOUT_A
Output selection
CHSEL_A
Event counter
mode setting
EVCNT_A
Reload data register
RLD0[7:0]
Compare data register
CD0[7:0]
8-bit down counter
Timer
control
circuit
PWM waveform
generator
P10 port
TOUT_A
(P11)
P11 port
Clock
manager
Interrupt
control
circuit
Selector
Data buffer
PTD0[7:0]
Comparator
Timer 1
Underflow signal
Compare match signal
Timer 1 reset
PWM output selection
PTSEL1
PTRST1
Timer 1
Run/Stop
PTRUN1
1/2
1/2
16-bit mode
selection
MOD16_A
Reload data register
RLD1[7:0]
Compare data register
CD1[7:0]
8-bit down counter
Timer
control
circuit
PWM waveform
generator
Data buffer
PTD1[7:0]
Comparator
(b) S1C63004/008/016 timer Ch.A (Timer 0 and Timer 1)
Timer 2
Timer 2 clock selection
Underflow signal
Compare match signal
Interrupt
request
Timer 2 reset
Timer 2
clock
PWM output selection
PTSEL2
PTRST2
Data bus
Timer 2
Run/Stop
PTRUN2
PTPS2[3:0]
Timer function setting
f
OSC1
/16 (2,048 Hz)
f
OSC1
FCSEL_B
f
OSC3
Pulse polarity setting
PLPUL_B
Output control
PTOUT_B
Event counter
mode setting
EVCNT_B
Reload data register
RLD2[7:0]
Compare data register
CD2[7:0]
8-bit down counter
Timer
control
circuit
PWM waveform
generator
P22 port
TOUT_B
(P23)
P23 port
Clock
manager
Interrupt
control circuit
Output
control circuit
Data buffer
PTD2[7:0]
Comparator
1/2
EVIN_B
(P22)
(c) S1C63004/008 timer Ch.B (Timer 2)
Timer 2
Timer 2 clock selection
Underflow signal
Compare match signal
Interrupt
request
Timer 2 reset
Timer 2
clock
Timer 3
clock
PWM output selection
PTSEL2
PTRST2
Data bus
Timer 2
Run/Stop
PTRUN2
PTPS2[3:0]
Timer function setting
f
OSC1
/16 (2,048 Hz)
f
OSC1
FCSEL_B
Timer 3 clock selection
PTPS3[3:0]
f
OSC3
Pulse polarity setting
PLPUL_B
Output control
PTOUT_B
Output selection
CHSEL_B
Event counter
mode setting
EVCNT_B
Reload data register
RLD2[7:0]
Compare data register
CD2[7:0]
8-bit down counter
Timer
control
circuit
PWM waveform
generator
P22 port
TOUT_B
(P23)
P23 port
Clock
manager
Interrupt
control
circuit
Selector
Data buffer
PTD2[7:0]
Comparator
Timer 3
Underflow signal
Compare match signal
Timer 3 reset
PWM output selection
PTSEL3
PTRST3
Timer 3
Run/Stop
PTRUN3
1/2
1/2
16-bit mode
selection
MOD16_B
Reload data register
RLD3[7:0]
Compare data register
CD3[7:0]
8-bit down counter
Timer
control
circuit
PWM waveform
generator
Data buffer
PTD3[7:0]
Comparator
EVIN_B
(P22)
(d) S1C63016 timer Ch.B (Timer 2 and Timer 3)
1.1 Configuration of programmable timer
Figure 11.