CONTROLINK86 SMSC, CONTROLINK86 Datasheet - Page 35

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
4.5CONFIGURABLE PARAMETERS
The COM2002x device driver routines have user-selectable parameters which allow the application
programmer to customize the driver to application-specific or different hardware environments. The
parameters are broken up into two areas: specific to the hardware platform and ARCNET specific. These
parameters are stored in an array called d20_params[ ] and are not programmed into the device until the
d20_init() routine is called. These parameters must be set up prior to calling the driver initialization. The
definitions for each parameter are included in the D20.H file. After initialization, most parameters should
not be modified. A network should have nodes which have the same ARCNET parameters.
4.5.1HARDWARE PARAMETERS
The hardware parameters determine the following aspects of the network hardware:
Function
d20_get_qentry()
d20_network_map
d20_registers()
d20_diagnostic()
d20_clear_diag()
d20_tokens
d20_exit()
d20_interrupt()
d20_check_int()
d20_check_diag()
read_data()
write_data()
check_network_status()
base address of the COM2002x card
Type
service Copies the data from the oldest entry in the receive
service Builds a map of physical ID values on the network.
service Returns the contents of the COM2002x Read
service Returns the contents of the diagnostic counters.
service Writes 0 to all diagnostic counters except of the
service Counts the specified number of token rotations.
service shuts down the node, resets interrupt vectors (if
isr
int
int
service Copy data from a specified page inside the
service Copy data from a specified buffer location to the
int
Description
queue (internal buffer to D20) into the specified
location.
Registers.
D20_Retry_Counter - reinitializes it with the number
of retries allowed.
any), and returns to host.
Main ISR of the Driver - this routine is vectored to.
Issues an EOI sequence - Sets a global flag for the
system.
Parses the interrupt flags of the COM2002x
(Status Register and Diagnostic Status Register):
(TA) Transmitter Available
(NEW NEXTID) New Next ID
(RECON) Reconfiguration
(EXCNAK) Excessive NAK
(RI) Receiver Inhibited
Check if the POR flag was set in the Diagnostic
Status Register. Increment a diagnostic counter.
COM2002x to the specific buffer.
specified page within the COM2002x.
checks if the network is active and whether there
are other nodes on the network.
35

Related parts for CONTROLINK86