ReactOS
0.4.16-dev-1133-g947c03e
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
hardware.h
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: See COPYING in the top level directory
3
* PROJECT: Parallel Port Function Driver
4
* FILE: drivers/parallel/parport/hardware.h
5
* PURPOSE: Hardware definitions
6
*/
7
8
#ifndef _HARDWARE_H_
9
#define _HARDWARE_H_
10
11
/*
12
* The following constants describe the various signals of the printer port
13
* hardware. Note that the hardware inverts some signals and that some
14
* signals are active low. An example is LP_STROBE, which must be programmed
15
* with 1 for being active and 0 for being inactive, because the strobe signal
16
* gets inverted, but it is also active low.
17
*/
18
19
/*
20
* bit defines for 8255 status port
21
* base + 1
22
* accessed with LP_S(minor), which gets the byte...
23
*/
24
#define LP_PBUSY 0x80
/* inverted input, active high */
25
#define LP_PACK 0x40
/* unchanged input, active low */
26
#define LP_POUTPA 0x20
/* unchanged input, active high */
27
#define LP_PSELECD 0x10
/* unchanged input, active high */
28
#define LP_PERRORP 0x08
/* unchanged input, active low */
29
30
/*
31
* defines for 8255 control port
32
* base + 2
33
* accessed with LP_C(minor)
34
*/
35
#define LP_PINTEN 0x10
36
#define LP_PSELECP 0x08
/* inverted output, active low */
37
#define LP_PINITP 0x04
/* unchanged output, active low */
38
#define LP_PAUTOLF 0x02
/* inverted output, active low */
39
#define LP_PSTROBE 0x01
/* inverted output, active low */
40
41
#endif
/* _HARDWARE_H_ */
drivers
parallel
parport
hardware.h
Generated on Wed May 14 2025 06:13:13 for ReactOS by
1.9.6