參數(shù)資料
型號: HMS81C2012A
廠商: Electronic Theatre Controls, Inc.
英文描述: CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
中文描述: CMOS單芯片8位微控制器與A / D轉換器
文件頁數(shù): 54/107頁
文件大?。?/td> 1482K
代理商: HMS81C2012A
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
相關PDF資料
PDF描述
HMS81C2012AK CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C2012ALQ CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C2012AQ INDUCTOR*100UH*0.73AMP*0.672OHM*15%*SURFACE MOUNT
HMS81C2020A INDCTR, PWR, SMT 1.5UH, 15%, 6.9 A
HMS81C2020AK INDCTR, PWR, SMT 3.3UH, 15%, 4.6 A
相關代理商/技術參數(shù)
參數(shù)描述
HMS81C2012AK 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C2012ALQ 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C2012AQ 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C2020A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C2020AK 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver