Specifications
Hardware description
Parameters:
ClockRate: Clock rate of the clock domain of the call to this macro, in Hz.
MACAddress: Ethernet MAC address to be used by the Ethernet chip, of type
unsigned 48.
Timing:
Does not terminate in normal use.
Description:
Runs the device management tasks for the Ethernet interface. You must run this
macro in parallel with accesses to the device.
5.16.2 Enabling the Ethernet device
extern macro proc RC200EthernetEnable (Mode);
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 ();
www.celoxica.com
Page 65