ASIX ELECTRONICS CORPORATION
39
AX88796 L 3-in-1 Local Bus Fast Ethernet Controller
5.1.17 SPP Data Port Register (SPP_DPR) Offset 18H (Read/Write)
FIELD
NAME
7:0
DP
Printer Data Port. Default is in input mode. Write /DOE of SPP_CPR register to logic “0”
to enable print data output to printer as bi-directional mode.
DESCRIPTION
5.1.18 SPP Status Port Register (SPP_SPR) Offset 19H (Read)
FIELD
NAME
7
/BUSY Reading a ‘0’ indicates that the printer is not ready to receive new data.
The register reflects the
inverted
value of BUSY pin.
6
/ACK
Reading a ‘0’ indicates that the printer has received the data and is ready to accept new data.
The register reflects the value of /ACK pin.
5
PE
Reading a ‘1’ indicates that the printer is out of paper.
The register reflects the value of PE pin.
4
SLCT
Reading a ‘1’ indicates that the printer has power on.
The register reflects the value of SLCT pin.
3
/ERR
Reading a ‘0’ indicates that there is an error condition at the printer.
The register reflects the value of /ERR pin.
2:0
-
Reserved
DESCRIPTION
5.1.19 SPP Command Port Register (SPP_CPR) Offset 1AH (Read/Write)
FIELD
NAME
7:6
-
Reserved
5
/DOE
Setting to ‘0’ enables print data output to printer.
Default sets to ‘1’.
4
IRQEN IRQ enable : printer port interrupt is
not supported
.
3
SLCTIN Setting to ‘1’ selects the printer.
/SLIN pin reflects the
inverted
value of this signal.
2
/INIT
Setting to ‘0’ initiates the printer
/INIT pin reflects the value of this signal.
1
ATFD Setting to ‘1’ causes the printer to automatically feed one line after each line is printed.
/ATFD pin reflects the
inverted
value of this signal.
0
STRB Setting a low-high-low pulse on this register is used to strobe the print data into the printer.
/STRB pin reflects the
inverted
value of this signal.
DESCRIPTION