CD2231 Intel Corporation, CD2231 Datasheet - Page 84

no-image

CD2231

Manufacturer Part Number
CD2231
Description
CD2231 Intelligent Two-channel Lan And Wan Communications Controller
Manufacturer
Intel Corporation
Datasheet
CD2231 — Intelligent Two-Channel LAN and WAN Communications Controller
7.0
84
Figure 20. Initialization Sequence for the CD2231
Programming Examples
This section provides some examples of the CD2231 programming. Included are examples of
global and per-channel initialization, and two interrupt service routines. The code is written in
Borland Turbo C .
immediately after power up
‘RESET ALL' command
A host command
Single channel
reconfiguration
Do not issue a
‘RESET ALL’
(CAR–CCR)
(any CCR)
Command
Disable
RX, TX
SCHR1–4, SCR, RTPR (async)
CMR, COR1–5, TBPR, TCOR,
RBPR, RCOR, CPSR, LIVR,
Set up Global registers:
GT1–2, RFAR1–4 (sync),
channel-specific register
Set up channel-specific
registers in any order:
Last step in channel
TPR and PILR1–3,
Wait for GFRCR
First set up CAR
to be non-zero
configuration:
A channel is
configured
Power Up
CCR, IER
Datasheet

Related parts for CD2231