參數(shù)資料
型號(hào): DRM049
英文描述: Internet Connectivity with HCS12 16-bit Microcontroller using the ACP
中文描述: 互聯(lián)網(wǎng)連接與HCS12的16位微控制器使用非加太
文件頁(yè)數(shù): 30/80頁(yè)
文件大?。?/td> 1025K
代理商: DRM049
Software
Designer Reference Manual
DRM040 — Rev 0
30
Software
MOTOROLA
3.1.3 Timer2 ISR
The Tim2_ISR service routine services the periodic interrupt generated
by Timer2 overflow. A Timer2 overflow occurs every 2500 bus clock
cycles which is equal to 1600 Hertz. This rate assures that 32 samples
of voltage and current are taken for each complete period of the 50 Hertz
sinewave power signal. A programmable delay between acquisition of
line voltage and line currents compensates for the unequal phase shifts
introduced by the voltage and current transformers. Each A/D
conversion is stored in its associated memory locations. Additionally line
voltage and current samples are subtracted from the “baseline” (one-half
fullscale value) to obtain unshifted signed waveform samples. The
current samples are squared and accumulated to form the mean
squared value used for current range switching. The memory location
“samplecount” is decremented by one during each pass through the
interrupt service routine. When “samplecount” has been decremented
from 256 to zero, eight complete sinewave cycles have been sampled,
converted and added up to form the total real power contained in eight
cycles. This sum of powers (instantaneous power) is prepared for
scaling by the calibration coefficient using the signed 48-bit division
routine “SDiv48”. The actual division is performed in the main loop.
Finally, the accumulated mean square current value is compared
against a high-limit “hilimit” and low-limit “l(fā)olimit” value in the “attenflag”
register to determine the range setting. Tim2_ISR is shown in
Figure 3-3
.
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.
相關(guān)PDF資料
PDF描述
DRM050 DRM050
DRM054 Accelerometer Reference Design Using the MC68HC908QY4
DRM055 High Data Rate Wireless USB Optical Mouse Solution Using the MC68HC908QY4 and MC68HC908JB12
DRM057 Open Loop Universal Motor Chopper based on the MC68HC908QT4 Microcontroller
DRM058 MC68HC908QY4 LIN Backlit Keypad Slave Designer Reference Manual
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DRM10 功能描述:DIP 開關(guān)/ SIP 開關(guān) BCD 10 POS RoHS:否 制造商:Omron Electronics 位置數(shù)量:10 開關(guān)類型:DIP 執(zhí)行器:Rotary 端子節(jié)距:2.54 mm 觸點(diǎn)形式: 端接類型:Solder Pin 電流額定值:100 mA 電壓額定值 DC: 工作溫度范圍: 安裝:Through Hole
DRM1004 功能描述:DIP 開關(guān)/ SIP 開關(guān) ROTARY DIP SWITCH PLASTICSHAFT RoHS:否 制造商:Omron Electronics 位置數(shù)量:10 開關(guān)類型:DIP 執(zhí)行器:Rotary 端子節(jié)距:2.54 mm 觸點(diǎn)形式: 端接類型:Solder Pin 電流額定值:100 mA 電壓額定值 DC: 工作溫度范圍: 安裝:Through Hole
DRM101 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Blood Pressure Monitor Using the Flexis QE128 Family
DRM10C 功能描述:SWITCH DIP MINI SHAFT 10POS T/H RoHS:否 類別:開關(guān) >> DIP 系列:DR 特色產(chǎn)品:RDM Series Rotary DIP Switch 標(biāo)準(zhǔn)包裝:70 系列:RDM 電路:十六進(jìn)制 位置數(shù):16 觸點(diǎn)額定電壓:0.1A @ 42VDC 觸動(dòng)器類型:用于工具旋轉(zhuǎn) 觸動(dòng)器電平:凹槽式 安裝類型:通孔 方向:頂部觸動(dòng) 可清洗:是 其它名稱:EG4977-5RDMAR16PIT
DRM10C04 功能描述:編碼式波段開關(guān) SW DIP MINI SHAFT 10POS T/H RoHS:否 制造商:C&K Components 位置數(shù)量:10 輸出代碼:Binary Coded Decimal 執(zhí)行器:Screwdriver 觸點(diǎn)額定值: 端接類型:Solder Pin 封裝:Tube