參數(shù)資料
型號: S1C63653F
元件分類: 微控制器/微處理器
英文描述: 4-BIT, FLASH, 4 MHz, MICROCONTROLLER, CQFP100
封裝: CERAMIC, QFP15-100
文件頁數(shù): 91/121頁
文件大?。?/td> 1127K
代理商: S1C63653F
S1C63653 TECHNICAL MANUAL
EPSON
63
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer)
4.10 Programmable Timer
4.10.1 Configuration of programmable timer
The S1C63653 has two 8-bit programmable timer systems (timer 0 and timer 1) built-in.
The timers are composed of 8-bit presettable down counters and they can be used as 8 bits
× 2 channels or
16 bits
× 1 channel of programmable timers. Timer 0 also has an event counter function using the K13
input port terminal.
Figure 4.10.1.1 shows the configuration of the programmable timer.
Each timer has an 8-bit down counter and an 8-bit reload data register. The down counter counts the
input clock. When the down counter underflows, the timer outputs the underflow and interrupt signals
and resets the counter to its initial value. The reload data register is used to store that initial value.
Each timer has an 8-bit compare data register in addition to the above registers. This register is used to
store data to be compared with the contents of the down counter. When the timer is set in the PWM
mode, the timer outputs the compare match signal if the contents between the down counter and the
compare data register are matched, and an interrupt occurs at the same time. Also the compare match
signal is used with the underflow signal to generate a PWM waveform.
The signal generated by the programmable timer can be output from the R02 output port terminal.
Interrupt
request
CHSEL0
TOUT
(R02)
Interrupt
control
circuit
PTOUT
Selector
Output port
R02
1/2
Reload data register
RLD00–RLD07
Data buffer
PTD00–PTD07
PWM waveform
generator
Compare data register
CD00–CD07
PTRUN0
Timer 0
PTPS00
PTPS01
8-bit
down counter
Prescaler
Selector
CKSEL0
Timer 0 Run/Stop
Clock
control
circuit
Prescaler
setting
Under-
flow
signal
Compare
match
signal
Compare
match
signal
Data
bus
Selector
CKSEL1
PTSEL0
MOD16
Timer 1 Run/Stop
PTRST0
Timer 0 reset
PWM output selection
2,048 Hz
Divider
OSC3
oscillation
circuit
OSC1
oscillation
circuit
fOSC3
fOSC1
PWM waveform
generator
Data buffer
PTD10–PTD17
Comparator
Compare data register
CD10–CD17
PTSEL1
PWM output selection
Timer 1
PTPS10
PTPS11
8-bit
down counter
Prescaler
Selector
Clock
control
circuit
Prescaler
setting
Under-
flow
signal
PTRST1
Timer 1 reset
16-bit mode selection
Reload data register
RLD10–RLD17
PTRUN1
Input port
K13
FCSEL
PLPOL
Timer function setting
Pulse polarity setting
EVCNT
Event counter
mode setting
Fig. 4.10.1.1 Configuration of programmable timer
Note: If the TOUT 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.
相關(guān)PDF資料
PDF描述
S1C6F567D0A0100 MICROCONTROLLER, UUC141
S1C6N3B0D0A0100 MICROCONTROLLER, UUC54
S1C6P366D0A0100 4-BIT, FLASH, 4.1 MHz, MICROCONTROLLER, UUC102
S1C6P466D0A0A00 MICROCONTROLLER, UUC140
S1C6S2L7D 4-BIT, MROM, 0.032 MHz, MICROCONTROLLER, UUC58
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
S1C63656 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C63657 制造商:EPSON 制造商全稱:EPSON 功能描述:CMOS 4-bit Single Chip Microcontroller
S1C63658 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C63666 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C63709 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer