參數(shù)資料
型號(hào): HMS81C2020ALQ
廠商: Electronic Theatre Controls, Inc.
英文描述: IND SM 4.7UH 15%
中文描述: CMOS單芯片8位微控制器與A / D轉(zhuǎn)換器
文件頁(yè)數(shù): 54/107頁(yè)
文件大?。?/td> 1482K
代理商: HMS81C2020ALQ
HMS81C2012A/2020A
50
SEP. 2004 Ver 2.00
8-bit Event Counter Mode
In this mode, counting up is started by an external trigger.
This trigger means falling edge or rising edge of the EC0
pin input. Source clock is used as an internal clock selected
with timer mode register TM0. The contents of timer data
register TDR0 is compared with the contents of the up-
counter T0. If a match is found, an timer interrupt request
flag T0IF is generated, and the counter is cleared to “0”.
The counter is restart and count up continuously by every
falling edge or rising edge of the EC0 pin input.
The maximum frequency applied to the EC0 pin is f
XIN
/2
[Hz].
In order to use event counter function, the bit 2 of the R5
function register (R5FUNC.2) is required to be set to “1”.
After reset, the value of timer data register TDR0 is unde-
fined, it should be initialized to between 1
H
~FF
H
,
not to
"0"The interval period of Timer is calculated as below
equation.
Figure 12-5 Event Counter Mode Timing Chart
Figure 12-6 Count Operation of Timer / Event counter
Period (sec)
XIN
f
2
Divide Ratio
TDR0
×
×
×
=
0
1
2
1
0
n
2
~
~
~
n-1
n
~
~
~
EC
n
pin input
Up-counter
TDR1
T1IF interrupt
Start count
Timer 1 (T1IF)
Interrupt
TDR1
TIME
Occur interrupt
Occur interrupt
stop
clear & start
disable
enable
Start & Stop
T1ST
T1CN
Control count
upcoun
~
~
~
~
T1ST = 0
T1ST = 1
T1CN = 0
T1CN = 1
相關(guān)PDF資料
PDF描述
HMS81C2020AQ CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C20XXA CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C20XXA-HK CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HN2716 2048-word x 8bit Erasable and Electrically Programmable Only Memory
HN27512 512K (64K X 8 BIT ) UV AND OTP EPROM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HMS81C2020AQ 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C20XXA 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C20XXA-HK 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C2112A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:[VFD MCU: High Voltage IO/ADC/HS PWM/SCI]
HMS81C2120A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:[VFD MCU: High Voltage IO/ADC/HS PWM/SCI]