參數(shù)資料
型號(hào): DRM040
英文描述: Single Phase Digital Power Meter Reference Design
中文描述: 單相電能表的數(shù)字參考設(shè)計(jì)
文件頁(yè)數(shù): 66/80頁(yè)
文件大小: 1025K
代理商: DRM040
Designer Reference Manual
DRM040 — Rev 0
66
MOTOROLA
Void f(void)
#pragma CREATE_ASM_LISTING OFF
If the –La option is selected the compiler generates the following test.inc
file
Struct_SIZE
Struct_i
Struct_j
EQU $4
EQU $0
EQU $2
XREF
EQU Var + $0
EQU Var + $2
XREF
f
Var
Var_i
Var_j
C.3 Calling functions and Variables
The ‘C’ functions and variables can simply be called, from the assembly
code, using specific functions/Variables address or symbolic names, if
the function does not require any parameters passed by the calling
program. If the function requires parameters to be passed the
parameters must be pushed on the stack and loaded into the
Accumulator and X registers before the JSR or BSR are executed.
Calling functions/variables from the C code that are declared in the
assembly code is just as easy. Assuming they have been declared as
extern, the C code calls the function/variables as if it was declared in C
code (i.e samplecount, Disp_result() and T1_buffer[]). See appendix for
further details
The mappings that the compiler uses when emitting the assembly
include file are shown below. Further details can be found in the compiler
manual.
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.
相關(guān)PDF資料
PDF描述
DRM041 Building an USB-DDC ICP Interface Board HardwareReference Design
DRM042 Universal Serial Bus Wireless Optical Mouse and Multimedia Keyboard reference design designer reference manual
DRM043 Li-on Battery Charger Reference Design Designer Reference Manual
DRM044 Central Heating Controller using the MC68HC908LJ12
DRM045 Using the ASB520 MC68HC908QT2 Based Infrared Remote Control Reference PC Board Designer Reference Manual
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DRM10 功能描述:DIP 開(kāi)關(guān)/ SIP 開(kāi)關(guān) BCD 10 POS RoHS:否 制造商:Omron Electronics 位置數(shù)量:10 開(kāi)關(guān)類型:DIP 執(zhí)行器:Rotary 端子節(jié)距:2.54 mm 觸點(diǎn)形式: 端接類型:Solder Pin 電流額定值:100 mA 電壓額定值 DC: 工作溫度范圍: 安裝:Through Hole
DRM1004 功能描述:DIP 開(kāi)關(guān)/ SIP 開(kāi)關(guān) ROTARY DIP SWITCH PLASTICSHAFT RoHS:否 制造商:Omron Electronics 位置數(shù)量:10 開(kāi)關(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:否 類別:開(kāi)關(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 功能描述:編碼式波段開(kāi)關(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