mmdRegister

mmdRegister - configure an MII AE MMD Register.

SYNOPSIS

mmdRegister sub-command options

DESCRIPTION

The mmdRegister command is used to configure an individual MII AE MMD register. After configuration, mmd addRegister should be used to add the register to the PHY device. The current contents of the register may be obtained by mmd getRegister. The value of a register may only be changed by a sequence of mmd getRegister, mmd delRegister and mmd addRegister.

STANDARD OPTIONS
address

The address of the register in the register. (default = 0)

name

The name of the register. (default = {})

readWrite

Sets the properties of the selected register. Possible properties include:

Option

Value

Usage

miiDisabled

0

 

miiReadOnly

1

 

miiReadWrite

2

(default)

miiSynchToCurrentState

3

The register is read and written during operation. In addition, the read values are placed into the editable fields at the same time.

registerValue

Value of the selected register. (default = 0000)

COMMANDS

The mmdRegister command is invoked with the following sub-commands. If no sub-command is specified, returns a list of all sub-commands available.

mmdRegister cget option

Returns the current value of the configuration option given by option. Option may have any of the values accepted by the mmdRegister command. The value returned for the registerValue option is a hex

mmdRegister config option value

Modify the configuration options of the register. If no option is specified, returns a list describing all of the available options (see STANDARD OPTIONS).

mmdRegister setDefault

Sets to IxTclHal default values for all configuration options.

EXAMPLES

See examples in miiae

SEE ALSO

mii, miiae, mmd.