SIC63616-(Rev. 1.0) NO. P99
3240-0412
Timer 6
Timer 6 clock selection
Underflow signal
Compare match signal
Interrupt
request
Timer 6 reset
Timer 6
clock
Timer 7
clock
PWM output selection
P43
PTSEL6
PTRST6
Data b
us
Timer 6
Run/Stop
PTRUN6
PTPS60–PTPS63
Timer function setting
f
OSC1
/16 (2,048 Hz)
f
OSC1
FCSEL_D
Timer 7 clock selection
PTPS70–PTPS73
f
OSC3
Pulse polarity setting
PLPUL_D
Output control
PTOUT_D
Output selection
CHSEL_D
Event counter
mode setting
EVCNT_D
Reload data register
RLD60–RLD67
Compare data register
CD60–CD67
8-bit down counter
Timer
control
circuit
PWM waveform
generator
P43 port
Clock
manager
Interrupt
control
circuit
Selector
Data buffer
PTD60–PTD67
Comparator
Timer 7
Underflow signal
Compare match signal
Timer 7 reset
PWM output selection
PTSEL7
PTRST7
Timer 7
Run/Stop
PTRUN7
1/2
1/2
16-bit mode
selection
MOD16_D
Reload data register
RLD70–RLD77
Compare data register
CD70–CD77
8-bit down counter
Timer
control
circuit
PWM waveform
generator
Data buffer
PTD70–PTD77
Comparator
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.