參數(shù)資料
型號(hào): M30220FCGP
元件分類: 微控制器/微處理器
英文描述: 16-BIT, FLASH, 10 MHz, MICROCONTROLLER, PQFP144
封裝: 20 X 20 MM, 0.50 MM PITCH, PLASTIC, LQFP-144
文件頁(yè)數(shù): 149/161頁(yè)
文件大?。?/td> 0K
代理商: M30220FCGP
第1頁(yè)第2頁(yè)第3頁(yè)第4頁(yè)第5頁(yè)第6頁(yè)第7頁(yè)第8頁(yè)第9頁(yè)第10頁(yè)第11頁(yè)第12頁(yè)第13頁(yè)第14頁(yè)第15頁(yè)第16頁(yè)第17頁(yè)第18頁(yè)第19頁(yè)第20頁(yè)第21頁(yè)第22頁(yè)第23頁(yè)第24頁(yè)第25頁(yè)第26頁(yè)第27頁(yè)第28頁(yè)第29頁(yè)第30頁(yè)第31頁(yè)第32頁(yè)第33頁(yè)第34頁(yè)第35頁(yè)第36頁(yè)第37頁(yè)第38頁(yè)第39頁(yè)第40頁(yè)第41頁(yè)第42頁(yè)第43頁(yè)第44頁(yè)第45頁(yè)第46頁(yè)第47頁(yè)第48頁(yè)第49頁(yè)第50頁(yè)第51頁(yè)第52頁(yè)第53頁(yè)第54頁(yè)第55頁(yè)第56頁(yè)第57頁(yè)第58頁(yè)第59頁(yè)第60頁(yè)第61頁(yè)第62頁(yè)第63頁(yè)第64頁(yè)第65頁(yè)第66頁(yè)第67頁(yè)第68頁(yè)第69頁(yè)第70頁(yè)第71頁(yè)第72頁(yè)第73頁(yè)第74頁(yè)第75頁(yè)第76頁(yè)第77頁(yè)第78頁(yè)第79頁(yè)第80頁(yè)第81頁(yè)第82頁(yè)第83頁(yè)第84頁(yè)第85頁(yè)第86頁(yè)第87頁(yè)第88頁(yè)第89頁(yè)第90頁(yè)第91頁(yè)第92頁(yè)第93頁(yè)第94頁(yè)第95頁(yè)第96頁(yè)第97頁(yè)第98頁(yè)第99頁(yè)第100頁(yè)第101頁(yè)第102頁(yè)第103頁(yè)第104頁(yè)第105頁(yè)第106頁(yè)第107頁(yè)第108頁(yè)第109頁(yè)第110頁(yè)第111頁(yè)第112頁(yè)第113頁(yè)第114頁(yè)第115頁(yè)第116頁(yè)第117頁(yè)第118頁(yè)第119頁(yè)第120頁(yè)第121頁(yè)第122頁(yè)第123頁(yè)第124頁(yè)第125頁(yè)第126頁(yè)第127頁(yè)第128頁(yè)第129頁(yè)第130頁(yè)第131頁(yè)第132頁(yè)第133頁(yè)第134頁(yè)第135頁(yè)第136頁(yè)第137頁(yè)第138頁(yè)第139頁(yè)第140頁(yè)第141頁(yè)第142頁(yè)第143頁(yè)第144頁(yè)第145頁(yè)第146頁(yè)第147頁(yè)第148頁(yè)當(dāng)前第149頁(yè)第150頁(yè)第151頁(yè)第152頁(yè)第153頁(yè)第154頁(yè)第155頁(yè)第156頁(yè)第157頁(yè)第158頁(yè)第159頁(yè)第160頁(yè)第161頁(yè)
80
EPSON
S1C88832/88862 TECHNICAL MANUAL
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer)
5.10.5 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.5.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.5.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.5.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.2 Count operation and setting basic mode"
for the basic operation and control.
5.10.6 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.6.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.5.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.6.1 Timing chart for pulse width measurement timer mode
相關(guān)PDF資料
PDF描述
M30220MA-XXXGP 16-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP144
M30220MA-XXXRP 16-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP144
M30220MA-XXXRP 16-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP144
M30220MA-XXXGP 16-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP144
M30220FCGP 16-BIT, FLASH, 10 MHz, MICROCONTROLLER, PQFP144
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M30220FCGP#D3 制造商:Renesas Electronics Corporation 功能描述:
M30220FCRP 制造商:Renesas Electronics Corporation 功能描述:M16C 128K/10K, 10MHZ,A-D,D-A,WDT/LCD DR - Trays
M30220M8-XXXGP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30220M8-XXXRP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30220MA 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER