參數(shù)資料
型號(hào): S1C88816D
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 8.2 MHz, MICROCONTROLLER, UUC164
封裝: DIE-164
文件頁數(shù): 161/173頁
文件大小: 1411K
代理商: S1C88816D
80
EPSON
S1C88816 TECHNICAL MANUAL
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer)
5.10.6 Event counter mode
Timer 0 includes an even counter function that
counts by inputting an external clock (EVIN) to
input port K10. This function is selected by writing
"1" to the timer 0 counter mode selection register
EVCNT.
When the event counter mode is selected, timer 0
operates as an event counter and timer 1 operates
as a normal timer in 8-bit mode. In the 16-bit mode,
timer 0 and timer 1 operate as 1 channel 16-bit
event counter. In the event counter mode, since the
timer 0 is clocked externally, the settings of regis-
ters PSC00/PSC01 become invalid.
Count down timing can be controlled by either the
falling edge or rising edge selected by the timer 0
pulse polarity selection register PLPOL. When "0" is
written to the register PLPOL, the falling edge is
selected, and when "1" is written, the rising edge is
selected. The timing is shown in Figure 5.10.6.1.
For a reliable count when "with noise rejecter" is
selected, you must allow 0.98 msec or more pulse
width for both LOW and HIGH levels. (The noise
rejecter allows clocking counter at the second
falling edge of the internal 2,048 Hz signal after
changing the input level of the K10 input port
terminal. Consequently, the pulse width that can
reliably be rejected is 0.48 msec.)
Figure 5.10.6.2 shows the count down timing with
the noise rejecter selected.
Input clock
to counter
Count data
n
n-1
n-2
n-3
EVIN input (K10)
2,048 Hz
When "0" is set into register PLPOL.
Fig. 5.10.6.2 Count down timing with noise rejecter
The event counter mode is the same as the timer
mode except that the clock is external (EVIN).
See "5.10.3 Count operation and setting basic mode"
for the basic operation and control.
5.10.7 Pulse width measurement timer mode
Timer 0 includes a pulse width measurement function
that measures the width of the input signal to the K10
input port terminal. This function is selected by
writing "1" to the timer function selection register
FCSEL when in the timer mode (EVCNT = "0").
When the pulse width measurement mode is
selected, timer 0 operates as an pulse width measure-
ment and timer 1 operates as a normal timer in 8-bit
mode. In the 16-bit mode, timer 0 and timer 1 operate
as 1 channel 16-bit pulse width measurement.
The level of the input signal (EVIN) for measure-
ment can be changed either a LOW or HIGH level
by the timer 0 pulse polarity selection register
PLPOL. When "0" is written to register PLPOL, a
LOW level width is measured and when "1" is
written, a HIGH level width is measured. The
timing is shown in Figure 5.10.7.1.
EVIN input (K10)
Count data
n
n-1
n-2
n-3
n-4
n-5
n-6
PLPOL
EVCNT
01
1
PRUN0
Fig. 5.10.6.1 Timing chart for event counter mode
The event counter also includes a noise rejecter to
eliminate noise such as chattering for the external
clock (EVIN). This function is selected by writing
"1" to the timer 0 function selection register FCSEL.
EVIN input (K10)
Count data
PLPOL
Prescaler
output clock
n
n-1
n-2
n-3
n-4
Input clock
to timer
PRUN0
FCSEL
n-5
n-6
n-7
n-8
Fig. 5.10.7.1 Timing chart for pulse width measurement timer mode
相關(guān)PDF資料
PDF描述
S1C88832F0A0100 MICROCONTROLLER, PQFP128
S1C88848D0A0100 8-BIT, MROM, 8.2 MHz, MICROCONTROLLER, UUC192
S1C8F360F 8-BIT, FLASH, 8.2 MHz, MICROCONTROLLER, PQFP176
S1D13305F00B 640 X 256 PIXELS CRT CHAR OR GRPH DSPL CTLR, PQFP60
S1D13305F00A 640 X 256 PIXELS CRT CHAR OR GRPH DSPL CTLR, PQFP60
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
S1C88848 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C8F360D411000 功能描述:16位微控制器 - MCU 8-bit Flash 60KB LCD Dr. 51 x 32 RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時(shí)鐘頻率:24 MHz 程序存儲(chǔ)器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風(fēng)格:SMD/SMT
S1C8F360D511000 功能描述:16位微控制器 - MCU 8-bit Flash 60KB LCD Dr. 51 x 32 RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時(shí)鐘頻率:24 MHz 程序存儲(chǔ)器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風(fēng)格:SMD/SMT
S1C8F360F413100 功能描述:16位微控制器 - MCU 8-bit Flash 60KB LCD Dr. 51 x 32 RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時(shí)鐘頻率:24 MHz 程序存儲(chǔ)器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風(fēng)格:SMD/SMT
S1C8F360F513200 功能描述:16位微控制器 - MCU 8-bit Flash 60KB LCD Dr. 51 x 32 RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時(shí)鐘頻率:24 MHz 程序存儲(chǔ)器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風(fēng)格:SMD/SMT