30.01.2015 Views

UM10211 - Standard ICs

UM10211 - Standard ICs

UM10211 - Standard ICs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

NXP Semiconductors<br />

<strong>UM10211</strong><br />

Chapter 11: LPC2300 Ethernet<br />

11.10 Transmit Number of Descriptors Register (TxDescriptorNumber -<br />

0xFFE0 0124)<br />

The Transmit Number of Descriptors register (TxDescriptorNumber) has an address of<br />

0xFFE0 0124. Its bit definition is shown in Table 11–162.<br />

Table 162. Transmit Number of Descriptors register (TxDescriptorNumber - address<br />

0xFFE0 0124) bit description<br />

Bit Symbol Function Reset<br />

value<br />

15:0 TxDescriptorNumber Number of descriptors in the descriptor array for which<br />

TxDescriptor is the base address. The register is minus<br />

one encoded.<br />

31:16 - Unused 0x0<br />

The transmit number of descriptors register defines the number of descriptors in the<br />

descriptor array for which TxDescriptor is the base address. The number of descriptors<br />

should match the number of statuses. The register uses minus one encoding i.e. if the<br />

array has 8 elements, the value in the register should be 7.<br />

11.11 Transmit Produce Index Register (TxProduceIndex - 0xFFE0 0128)<br />

The Transmit Produce Index register (TxProduceIndex) has an address of 0xFFE0 0128.<br />

Its bit definition is shown in Table 11–163.<br />

Table 163. Transmit Produce Index register (TxProduceIndex - address 0xFFE0 0128) bit<br />

description<br />

Bit Symbol Function Reset<br />

value<br />

15:0 TxProduceIndex Index of the descriptor that is going to be filled next by the 0x0<br />

transmit software driver.<br />

31:16 - Unused 0x0<br />

The transmit produce index register defines the descriptor that is going to be filled next by<br />

the software transmit driver. The transmit descriptor array is empty as long as<br />

TxProduceIndex equals TxConsumeIndex. If the transmit hardware is enabled, it will start<br />

transmitting frames as soon as the descriptor array is not empty. After a frame has been<br />

processed by software, it should increment the TxProduceIndex. The value must be<br />

wrapped to 0 once the value of TxDescriptorNumber has been reached. If the<br />

TxProduceIndex equals TxConsumeIndex - 1 the descriptor array is full and software<br />

should stop producing new descriptors until hardware has transmitted some frames and<br />

updated the TxConsumeIndex.<br />

11.12 Transmit Consume Index Register (TxConsumeIndex - 0xFFE0 012C)<br />

The Transmit Consume Index register (TxConsumeIndex) is a Read Only register with an<br />

address of 0xFFE0 012C. Its bit definition is shown in Table 11–164.<br />

<strong>UM10211</strong>_1<br />

© NXP B.V. 2007. All rights reserved.<br />

User manual Rev. 01 — 27 March 2007 154 of 613

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!