Epson S1C63616 Technical Manual page 106

Table of Contents

Advertisement

P43 port
P43
Timer 6
PTRUN6
Run/Stop
Timer 6
clock
PTPS60–PTPS63
Timer 6 clock selection
f
f
/16 (2,048 Hz)
OSC1
OSC1
Clock
manager
f
OSC3
Timer 7 clock selection
PTPS70–PTPS73
Timer 7
clock
Timer 7
PTRUN7
Run/Stop
Interrupt
Interrupt
control
request
circuit
Selector
PTOUT_D
Output control
CHSEL_D
Output selection
Fig. 4.9.1.4 Configuration of programmable timer Ch.D (Timers 6 and 7)
Notes: • All four timer units (Ch.A–Ch.D) have the same functions and structure except the register names,
I/O ports used and their signal names. To simplify the explanations, the subsequent sections are
described using Ch.A (Timers 0 and 1). The register and signal names have a timer number (0 to 7)
or unit (Ch.) name (A to D). They are described using the names for Ch.A (Timers 0 and 1) or "x" (=
timer number 0 to 7) except when a specific description is required.
Description for Ch.A is applied to Ch.B to Ch.D. Also, output functions from the terminals are only
in TOUT_A.
Examples:
Ch.A → Can be replaced with Ch.B, Ch.C and Ch.D
EVCNT_A register → Can be replaced with EVCNT_B, EVCNT_C and EVCNT_D registers
TOUT_A → Can not be replaced with TOUT_B, TOUT_C and TOUT_D
Descriptions for Timer 0, Timer 1, and Timer x are applied to other timers
Examples:
Timer 0 → Can be replaced with Timer 2, Timer 4 and Timer 6
Timer 1 → Can be replaced with Timer 3, Timer 5 and Timer 7
Timer x → Can be replaced with Timer 0 to Timer 7
PTRUNx register → Can be replaced with PTRUN0 to PTRUN7 registers
• If the TOUT_A terminal is used to drive an external component that consumes a large amount
of current such as a bipolar transistor, design the pattern of traces on the printed circuit board so
that the operation of the external component does not affect the IC power supply. Refer to <Output
Terminals> in Section 5.3, "Precautions on Mounting", for more information.
Timer 6
Timer function setting
FCSEL_D
Pulse polarity setting
PLPUL_D
Event counter
EVCNT_D
mode setting
Timer 7
16-bit mode
MOD16_D
selection
1/2
1/2
Timer 6 reset
PTRST6
Timer
control
circuit
Comparator
Compare match signal
PWM waveform
generator
Timer 7 reset
PTRST7
Timer
control
circuit
Comparator
Compare match signal
PWM waveform
generator
SIC63616-(Rev. 1.0) NO. P99
Reload data register
RLD60–RLD67
8-bit down counter
Data buffer
PTD60–PTD67
Compare data register
CD60–CD67
PTSEL6
PWM output selection
Underflow signal
Reload data register
RLD70–RLD77
8-bit down counter
Data buffer
PTD70–PTD77
Compare data register
CD70–CD77
PTSEL7
PWM output selection
Underflow signal
3240-0412

Advertisement

Table of Contents
loading

Table of Contents