CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 53
CONTROLINK86
Manufacturer Part Number
CONTROLINK86
Description
Development Software Embedded Networking Software
Manufacturer
SMSC
Datasheet
1.CONTROLINK86.pdf
(75 pages)
Specifications of CONTROLINK86
Tool Function
Compiler
Tool Type
Compiler
Processor Series
80x86
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 53 of 75
- Download datasheet (394Kb)
ControLink86 Realtime Networking Software
R
R
R
4.6.18write_data()
R
This function transfers the data from the location inside host system memory into the packet memory (page)
inside the COM2002x ULANC. The specified number of bytes is transferred from the user buffer into the
specified page/offset location of the COM2002x Packet RAM.
R
OUTINE
OUTINE
OUTINE
OUTINE
OUTINE
none
/*
after the reset, read two bytes from the beginning of the packet ram
and determine if they are 0xD1 and the node address (0xfe)
abandon the reading after 1000 tries
*/
/* user buffer of 2 bytes */
USIGN8 buffer[2] = {0, 0};
int click = 0;
/* read loop */
while((buffer[0] != 0xD1) || (buffer[1] != 0xFE))
void write_data( USIGN8 page,
P
R
E
D
P
Parameter
page
offset
count
shortlong
user_buffer
ARAMETERS
XAMPLE
ROTOTYPE
ETURN
ESCRIPTION
{
/* read from page =0, offset = 0, 2 bytes, place it in the buffer[ ] array*/
read_data(0, 0, 2, 0, buffer);
DELAYMS(10);
if(++click > 1000)
}
V
:
ALUES
{
return(E_BAD_STATUS);
}
:
:
:
:
USIGN8 offset,
USIGN8 count,
USIGN8 ShortLong,
USIGN8 *user_buffer);
Description
page number of the COM2002x Packet RAM.
These are 512-byte pages. The valid numbers are
0, 1, 2, 3
offset from the beginning of the page specified by
the page parameter
number of bytes to read from the Packet RAM
specifies if the amount of data exceeds the length
of a short packet (253 bytes)
pointer to the location, to which the data from the
Packet RAM must be copied.
53
Related parts for CONTROLINK86
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
FAST ETHERNET PHYSICAL LAYER DEVICE
Manufacturer:
SMSC Corporation
Datasheet:
Part Number:
Description:
357-036-542-201 CARDEDGE 36POS DL .156 BLK LOPRO
Manufacturer:
SMSC Corporation
Datasheet:
Part Number:
Description:
357-036-542-201 CARDEDGE 36POS DL .156 BLK LOPRO
Manufacturer:
SMSC Corporation
Datasheet:
Part Number:
Description:
357-036-542-201 CARDEDGE 36POS DL .156 BLK LOPRO
Manufacturer:
SMSC Corporation
Datasheet:
Part Number:
Description:
4-PORT USB2.0 HUB CONTROLLER
Manufacturer:
SMSC Corporation
Datasheet: