User manual

RC200/203 Manual
www.celoxica.com Page 76
Parameters:
Mode: Specifies initialization settings for Ethernet
interface. This should be set using one of the pre-defined
modes. The only mode currently available is
RC200EthernetModeDefault:
RC200EthernetEnable (RC200EthernetModeDefault);
Timing:
1400 clock cycles or more. Blocks if the Ethernet device is
not ready.
Description:
Takes the Ethernet device out of isolation mode, and
programs the transmit and receive parameters according
to
Mode.
You must call this macro after
RC200EthernetRun() and
before you issue any other commands to the Ethernet
chip. It must also be run after a call to
RC200EthernetDisable()
, to enable access to the
Ethernet chip again.
5.16.3 Setting the Ethernet mode
extern macro expr RC200EthernetModeDefault;
This macro is used to set the mode for RC200EthernetEnable(). It commands the
Ethernet device to come out of isolation mode, to enable receive and transmit functions
and to turn on auto-negotiation for 100Mbit full-duplex.
5.16.4 Disabling the Ethernet device
extern macro proc RC200EthernetDisable ();
Parameters: None.
Timing: 1400 clock cycles or more.
Description:
Puts the Ethernet device in isolation mode, and clears the
transmit and receive parameters.
5.16.5 Resetting the Ethernet device
extern macro proc RC200EthernetReset ();