beautypg.com

Rainbow Electronics W90N740 User Manual

Page 91

background image

W90N740

Publication Release Date: November 26, 2004

- 87 -

Revision A4

MAC Command Register (MCMDR_0, MCMDR_1)

The MAC command register provides global control information for the MAC. MAC command register
settings affect both transmission and reception. The user can also control transmit and receive operation
separately. To select customized operating features, users should write this register during system
initialization. This way, users will not need to write or read it again during normal operation. However, if
users change setting during operation, the updated setting will take effect after the current frame is
completed.

Register Address R/W

Description

Reset

Value

MCMDR_0 0xFFF0.308

C

R/W MAC Command Register

0x0000.0000

MCMDR_1 0xFFF0.388

C

R/W MAC Command Register

0x0000.0000

31

30

29

28

27

26

25

24

Reserved Reserved

LAN

23

22

21

20

19

18

17

16

LPCS EnRMII LBK OPMOD

EnMDC FDUP

Reserved

SDPZ

15

14

13

12

11

10

9

8

Reserved NDEF

TXON

7

6

5

4

3

2

1

0

Reserved SPCRC

AEP

ACP

ARP

ALP

RXON

Reserved [25]:
Default value: 0

LAN [24]: LAN Port Setting Mode
Default value: 0
Set this bit to set this EMC port as a LAN port, and clear this bit to set the EMC port as a WAN port.
The S/W program must initial an EMC as a LAN port, and another EMC as a WAN port (for example,
EMC 0 as a LAN port and EMC 1 as a WAN port) to let the NAT accelerator work properly.

LPCS [23]: Low Pin Count Package Switch
Always set: 0

EnRMII [22]: Enable RMII
Default value: 0
Set this bit to select RMII interface.