CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 41

no-image

CONTROLINK86

Manufacturer Part Number
CONTROLINK86
Description
Development Software Embedded Networking Software
Manufacturer
SMSC
Datasheet

Specifications of CONTROLINK86

Tool Function
Compiler
Tool Type
Compiler
Processor Series
80x86
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ControLink86 Realtime Networking Software
R
R
R
4.6.2d20_get_parameter()
R
R
R
R
R
4.6.3d20_set_parameter()
R
R
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
none
none
/* set the driver default values */
d20_set_defaults();
The get parameter routine is called to retrieve the current value of one of the driver
parameters. The driver parameter name is used as the input parameter to the get parameter
routine. The result or return value from get parameter is the current value of that particular
driver parameter. The input and result values are unsigned char. The list of driver parameter
names are contained in the ARCDEF.H header file.
USIGN8 d20_get_parameter(USIGN8 cmd_par);
/* get the node id value */
value = d20_get_parameter(D20P_NODE_ID);
The set parameter routine is called to change the current value of one of the driver
parameters. The driver parameter name is used as the input parameter along with the new
value to the set parameter routine. This function does not check if the value to be written into
a parameter is valid or not. The list of D20 driver parameters is given in the Section 4.5.3.
The list of driver parameter names are contained in the D20.H header file.
void d20_set_parameter(USIGN8 cmd_par, USIGN8 data_value);
P
R
E
D
P
P
R
E
D
P
Parameter
cmd_par
Action
for all parameters
ARAMETERS
XAMPLE
ROTOTYPE
ARAMETERS
XAMPLE
ROTOTYPE
ETURN
ESCRIPTION
ETURN
ESCRIPTION
V
V
:
:
ALUES
ALUES
:
:
:
:
:
:
:
:
Description
number of a parameter to be returned.
The list of these numbers is available in D20.H file.
Result
value of a parameter defined by the cmd_par
41

Related parts for CONTROLINK86