參數(shù)資料
型號: DRM045
英文描述: Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Reference PC Board Designer Reference Manual
中文描述: 使用ASB520 MC68HC908QT2的紅外遙控器參考PC板設計參考手冊
文件頁數(shù): 35/80頁
文件大小: 1025K
代理商: DRM045
Software
Software Routines
DRM040 — Rev 0
Designer Reference Manual
MOTOROLA
Software
35
3.1.5 Meansq
This Subroutine is used to calculate the mean squared current. The
measured current is copied and multiplied with itself using the “smpy16”
routine. The squared current value is then added to the previous squares
to build up a mean value composed of 256 samples.
Figure 3-6
shows
meansq flow diagram.
Figure 3-6. meansq
3.1.6 Add2tar
Subroutine “add2tar” adds the scaled instantaneous power to the active
tariff buffer and checks whether the value in the active tariff buffer
(48-bit) fits into the 8-digit LCD display. If the result (in decimal) is greater
than 99999999 it is made to rollover to 00000000. If the meter is
recording power delivered to the utility, the display displays
decrementing numbers and a rollover from all zero to all nines is
performed.
meansq
copy temp_long+2
to rms_long (16-bit)
copy temp_long+2
to rms_long+2 (16-bit)
call smpy16
16x16 signed multiply
add 32-bit result to
previous squares
return
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.
相關PDF資料
PDF描述
DRM049 Internet Connectivity with HCS12 16-bit Microcontroller using the ACP
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
相關代理商/技術(shù)參數(shù)
參數(shù)描述
DRM10 功能描述:DIP 開關/ SIP 開關 BCD 10 POS RoHS:否 制造商:Omron Electronics 位置數(shù)量:10 開關類型:DIP 執(zhí)行器:Rotary 端子節(jié)距:2.54 mm 觸點形式: 端接類型:Solder Pin 電流額定值:100 mA 電壓額定值 DC: 工作溫度范圍: 安裝:Through Hole
DRM1004 功能描述:DIP 開關/ SIP 開關 ROTARY DIP SWITCH PLASTICSHAFT RoHS:否 制造商:Omron Electronics 位置數(shù)量:10 開關類型:DIP 執(zhí)行器:Rotary 端子節(jié)距:2.54 mm 觸點形式: 端接類型: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:否 類別:開關 >> DIP 系列:DR 特色產(chǎn)品:RDM Series Rotary DIP Switch 標準包裝:70 系列:RDM 電路:十六進制 位置數(shù):16 觸點額定電壓:0.1A @ 42VDC 觸動器類型:用于工具旋轉(zhuǎn) 觸動器電平:凹槽式 安裝類型:通孔 方向:頂部觸動 可清洗:是 其它名稱:EG4977-5RDMAR16PIT
DRM10C04 功能描述:編碼式波段開關 SW DIP MINI SHAFT 10POS T/H RoHS:否 制造商:C&K Components 位置數(shù)量:10 輸出代碼:Binary Coded Decimal 執(zhí)行器:Screwdriver 觸點額定值: 端接類型:Solder Pin 封裝:Tube