MDK-ARM Keil, MDK-ARM Datasheet - Page 93

KIT REALVIEW MCU DEVELOPMENT

MDK-ARM

Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Datasheets

Specifications of MDK-ARM

For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Getting Started: Building Applications with RL-ARM
/*---------------------------------------
*
*--------------------------------------*/
<!-----------------------------------------
#
#----------------------------------------->
<form>
</form>
This causes the browser to download the
containing a script line for each element of the form. Each script line causes
cgi_func() to execute. The user defined command letters cause case y in the
switch statement to execute. This code then constructs the necessary XML to
update the browser tick-boxes and reflect the current status of the buttons on the
user hardware.
It is important to note that there should be no space characters in the
generated XML code.
#--------------------------------------
#
#--------------------------------------
t function periodicUpdate()
t
t
t
t
t
t
t }
case 'y':
<checkbox><id>button0</id><on>true</on></checkbox>
<checkbox><id>button1</id><on>false</on></checkbox>
<checkbox><id>button2</id><on>false</on></checkbox>
<checkbox><id>button3</id><on>false</on></checkbox>
<checkbox><id>button4</id><on>false</on></checkbox>
<checkbox><id>button5</id><on>false</on></checkbox>
<checkbox><id>button6</id><on>false</on></checkbox>
<checkbox><id>button7</id><on>false</on></checkbox>
cgi_func() in HTTP_CGI.c
Generated XML
buttons.cgi
if (document.getElementById ("refreshChkBox").checked == true)
} else
}
len = sprintf (
break;
updateMultiple (formUpdate);
periodicFormTime = setTimeout ("periodicUpdate ()",formUpdate.period);
clearTimeout (periodicFormTime);
);
{
(char*) buf,
"<checkbox><id><button%c</id> <on>%s</on></checkbox>",
env [1],
(get_button () & (1<<(env [1]-'0'))) ? "true" : "false"
{
buttons.cgx
file, which is a small file
{
93

Related parts for MDK-ARM