KIT33912EVME Freescale Semiconductor, KIT33912EVME Datasheet - Page 31

MCU, MPU & DSP Development Tools For MC33912 RS-232 SPI

KIT33912EVME

Manufacturer Part Number
KIT33912EVME
Description
MCU, MPU & DSP Development Tools For MC33912 RS-232 SPI
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of KIT33912EVME

Processor To Be Evaluated
MC33912
Interface Type
RS-232, SPI
Operating Supply Voltage
12 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Chapter 7 FreeMASTER ActiveX Object
7.1
All HTML pages used in FreeMASTER are rendered using the standard Microsoft Internet Explorer component. The advantage
of using the HTML and Internet Explorer component is that it fully supports scripting languages and enables scripts to embed
and access third-party ActiveX controls. The FreeMASTER application itself implements a (non-visual) ActiveX component to let
script-based code access and control the target board application.
The chapter gives basic description of the ActiveX FreeMASTER object.
7.2
The FreeMASTER object is registered in the system registry during each start of the FreeMASTER application. Its class ID
(CLSID) is
The registry name is "MCB.PCM.1"; version independent name is "MCB.PCM".
FreeMASTER functions can be called from any HTML code via the FreeMASTER ActiveX control. Insert the FreeMASTER
ActiveX control into your HTML code by the Class ID number (see the example below) and set the dimensions (height and width)
to zero to make the object invisible.
The SBCLIN GUI uses only three functions of FreeMASTER ActiveX control:
Short examples on how the functions are used in the GUI are in the following sections. For more details on the FreeMASTER
functions, refer to the “FreeMASTER for Embedded application” user manual.
7.2.1 WriteVariable Function Example
// write to FreeMASTER variable, display error box in case of error
function write_fmaster_variable(varname, value){
}
Freescale Semiconductor
<object name="PCMaster" width="0" height="0" classid="clsid:48A185F1-FFDB-11D3-80E3-00C04F176153">
Overview
7.2, Quick Reference
7.2.1, WriteVariable Function Example
7.2.2, ReadVariable Function Example
Quick Reference
{48A185F1-FFDB-11D3-80E3-00C04F176153}
WriteVariable writes a value to a FreeMASTER-defined variable
ReadVariable reads a value from a FreeMASTER-defined variable
var succ = pcm.WriteVariable(varname, value);
if (!succ) set_fmaster_err();
– This function writes a value to a FreeMASTER variable.
– This function reads a value from a FreeMASTER-defined variable.
KIT33912EVME System Basis Chip with LIN Tranceiver Setup Instructions, Rev. 2.0
FreeMASTER ActiveX Object
23

Related parts for KIT33912EVME