I/O SPACE - BANK2 |
|
|
|
|
|
|
|
|
|
| ||
OFFSET |
|
| NAME |
|
| TYPE |
| SYMBOL | ||||
6 |
|
| POINTER REGISTER |
| READ/WRITE |
| PTR | |||||
|
|
|
|
|
|
|
|
|
|
|
| |
HIGH |
| RCV | AUTO |
| READ |
| ETEN | 0 |
|
| POINTER HIGH | |
BYTE |
|
| INCR. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 0 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | ||
LOW |
|
|
|
|
|
| POINTER LOW |
|
|
|
| |
BYTE |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 0 | 0 | 0 |
| 0 | 0 | 0 | 0 | 0 | ||
|
|
|
|
|
|
|
|
|
|
|
|
|
POINTER REGISTER
When RCV is set the address refers to the receive area and uses the output of RX FIFO as the packet number, when RCV is clear the address refers to the transmit area and uses the packet number at the Packet Number Register.
READ bit - Determines the type of access to follow. If the READ bit is high the operation intended is a read. If the READ bit is low the operation is a write. Loading a new pointer value, with the READ bit high, generates a
Readback of the pointer will indicate the value of the address last accessed by the CPU (rather than the last
The Pointer Register should not be loaded until 400ns after the last write operation to the Data Register to ensure that the Data Register FIFO is empty. If the pointer is loaded using 8 bit writes, the low byte should be loaded first and the high byte last.
ETEN bit - When set enables EARLY Transmit underrun detection. Normal operation when clear. For Underrun detection purposes the RAM logical address and packet numbers of the packet being loaded are compared against the logical address and packet numbers of the packet being transmitted. If the packet numbers match and the logical address of the packet being transmitted exceeds the address being loaded the packet transmission is aborted and Underrun is reported in the transmit status word.
NOTE: If AUTO INCR. is not set and 16 bits are used, the pointer must be loaded with an even value. If AUTO INCR. is not set and 8 bit (allows even and odd values) writes are used, consecutive writes to the data register for the same pointer (same memory address) value is not allowed; even and odd pointer values are always allowed.
60