參數(shù)資料
型號(hào): DRM010
英文描述: Vacuum Cleaner Designer Reference Manual
中文描述: 吸塵器設(shè)計(jì)參考手冊(cè)
文件頁數(shù): 44/72頁
文件大小: 1177K
代理商: DRM010
Reference Design Code
Designer Reference Manual
DRM010 — Rev 0
44
Reference Design Code
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
}
/******************************************************************************
function : calcpAvg()
parameters : unsigned int t - input capture time
returns : unsigned int pAvg - average period
type : normal (called by ISR)
Description:
This function calculates the average period over two cycles.
The period is saved for the last two periods in an array.
The array index Cycle is flipped after storing the current period.
It will take two good input captures before the average period
can be accurately calculated.
*******************************************************************************/
unsigned int calcpAvg(unsigned int t)
{
unsigned int avg;
Period[Cycle] = t - Told;
Told = t;
Cycle = (Cycle + 1) & 0x01;
avg = (Period[0] + Period[1])>>1;
return avg;
}
/******************************************************************************
function : updateDegrees()
parameters : void
returns : void
type : normal (called by ISR)
Description:
This function updates the base unit Degrees. The function
is called after flipping the Cycle index. Thus, the value
for degrees will be calculated using the previous period.
This compensates for any waveform asymmetry. It uses a hardware
F
Freescale Semiconductor, Inc.
n
.
相關(guān)PDF資料
PDF描述
DRM011 Direct Current Ignition Reference Design Designer Reference Manual
DRM013 USB Security Key Reference Design Designer Reference Manual
DRM014 USB and PS/2 Multimedia Keyboard Interface Reference DesignDesigner Reference Manual
DRM015 USB Hub Keyboard for the MC68HC08KH12 Designer Reference Manual
DRM018 3-Phase PM Synchronous Motor Torque Vector Control Using 56F805
相關(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