參數(shù)資料
型號: DRM013
英文描述: USB Security Key Reference Design Designer Reference Manual
中文描述: 安全密鑰的USB參考設計設計參考手冊
文件頁數(shù): 28/72頁
文件大?。?/td> 1177K
代理商: DRM013
Vacuum Cleaner Reference Design
Designer Reference Manual
DRM010 — Rev 0
28
Vacuum Cleaner Reference Design
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
HC08 has stack manipulation instructions that permit the C compiler to
effectively use local variables and minimize the RAM requirements. The
HC08 also provides very good code efficiency due to the short
instruction length. The HC908KX8 has eight Kbytes of FLASH memory,
more than enough for a small program. The phase angle control
software takes only about 1.2 Kbytes of program memory. Even a small
1.5-k part might be programmed in C if no complex math or library
functions are included. For this project, the HIWARE C compiler was
used to produce compact code comparable in code size to a hand-coded
assembler in many instances.
The software can be organized in several different ways. For example,
the code could be written as a straightforward procedure using polling.
When using polling, the software would test or poll the zero crossing pin
and wait for a zero crossing. This is the preferred method when using a
small HC05 MCU with limited peripherals. Using an HC08 with a
2-channel timer, the software can be written using interrupts. This
provides more time for the CPU to perform other functions.
Once the MCU has been initialized, all processing could be done in
interrupt service routines. This is a common method of organizing
software. The main procedure would end with a while(1) statement and
all processing is handled by the ISRs (interrupt service routine).
The zero crossing and triac pulses are time critical events and are best
handled by the hardware timers and serviced using interrupts. Other
functions are not time critical and could be performed anywhere in the ac
cycle.
The control loop functions such as reading the ADC, scaling, integrating,
and saturation are not time critical. These functions can be placed in the
main loop. The interrupt service routines will interrupt the calculations as
needed. A mechanism is then needed to synchronize these functions to
the ac line. A sync flag is used for this purpose. The main loop will wait
for the sync flag before updating the phase. The input capture routine will
set the sync flag, enabling the main loop functions. The main loop will
then update the phase information and clear the sync flag.
The resulting flowchart is shown in
Figure 1-11
. This is a combined
flowchart and state diagram.
F
Freescale Semiconductor, Inc.
n
.
相關PDF資料
PDF描述
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
DRM019 3-Phase AC Induction Motor Drive with Dead Time Distortion Correction Using the MC68HC908MR32
DRM020 3-Phase AC Induction Motor Drive with Tachogenerator Using MC68HD908MR32
相關代理商/技術參數(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