Captain's Universe Home
Captain's Universe Home
Cosmic Ray Muon DetectorTeleGarden Pages
Time on MarsBryophyllum Plants
Jupiter Radio AstronomyAncient Pages
Salzburg Tourist GuideEarth Magnetometer
  H O M E     AJAX & MORE     LINUX & MORE     RTAI     XENOMAI     ADEOS IPIPE      
    JAVA & BROWSERS     *NIX     ELECTRONICS     REVIEWS     ARTEMIA     FAIRY SHRIMP      



Parallel Port Pins and Registers




PARALLEL PORT ADDRESSES

PORTcommon address
LPT 1378h - 37Fh
LPT 2278h - 27Fh


ADDRESS: BASE + 0
NAME: DATA PORT
write / read/write


bit #name
0D0
1D1
2D2
3D3
4D4
5D5
6D6
7D7
ADDRESS: BASE + 1
NAME: STATUS PORT
read only


bit #name
0reserved
1reserved
2/IRQ
3ERROR
4SELECT-IN
5PAPER-OUT
6ACK
7/BUSY
ADDRESS: BASE + 2
NAME: CONTROL PORT
read/write


bit #name
0STROBE
1LINEFEED
2INIT
3SELECT
4enable IRQ (ACK)
5enable bi-dir mode
6unused
7unused


NOTES:

* DATA PORT is read/write if in bi-directional mode

* Inverted or not inverted ? e.g. in the pin listing we've got /STROBE. In the register table we've got STROBE. Therefore if the bit in the CONTROL PORT is 0, the pin is 1 and vice versa. Same for the input: 0 on the port pin, means a 1 in the bit.





PARALLEL PORT PINS

pin # (SUB-D 25)pin # (centronics)signal direction I/Oregisterinverted
11/STROBEI/OCONTROLY
22D0ODATAN
33D1ODATAN
44D2ODATAN
55D3ODATAN
66D4ODATAN
77D5ODATAN
88D6ODATAN
99D7ODATAN
1010/ACKISTATUSN
1111BUSYISTATUSY
1212PAPER-OUT/ENDISTATUSN
1313SELECTISTATUSN
1414/LINEFEEDI/OCONTROLY
1532/ERROR - /FAULTISTATUSN
1631/INITI/OCONTROLN
1736/SELECT-PRT
/SELECT-IN
I/OCONTROLY
18 - 2519-30GROUNDGNDNN
inverted = Y means that that pin is inverted by the hardware.

Last-Modified: Sat, 04 Feb 2006 16:40:19 GMT

Google
 
Web www.captain.at
go to top
© 1996-2010 . All rights reserved.
No reproduction, distribution, publishing or transmission of the copyrighted materials at this site is permitted. Policy
go to top