Presetting an Output Port
Each port has an output register associated with it. This register may be written and retains its value
whether the port is configured as an input or an output. To preset the value of an output port the program
should write to the port when it is configured as an input then configure it as an output.
Writing the Outputs
The outputs are active true. Writing a one (1) corresponds to 5V while writing a zero (0) corresponds to 0V,
at the output.
Register Description
Address
Mode
D7
D6
D5
D4
D3
D2
D1
D0
Base+0
Port A1
RD/WR PA1D7 PA1D6 PA1D5 PA1D4 PA1D3 PA1D2 PA1D1 PA1D0
Base+1
Port B1
RD/WR PB1D7 PB1D6 PB1D5 PB1D4 PB1D3 PB1D2 PB1D1 PB1D0
Base+2
Port C1
RD/WR PC1D7 PC1D6 PC1D5 PC1D4 PC1D3 PC1D2 PC1D1 PC1D0
Base+3
CW Port 1
WR
CW1D7
0
0
CW1D4 CW1D3 CW1D2 CW1D1 CW1D0
Base+4
Interrupt Port 1 RD/WR
0
0
0
0
0
IRQEN1 IRQC11 IRQC10
Base+5
IntStat Port 1 - 4
RD
0
0
0
0
IRQST4 IRQST3 IRQST2 IRQST1
Base+8
Port A2
RD/WR PA2D7 PA2D6 PA2D5 PA2D4 PA2D3 PA2D2 PA2D1 PA2D0
Base+9
Port B2
RD/WR PB2D7 PB2D6 PB2D5 PB2D4 PB2D3 PB2D2 PB2D1 PB2D0
Base+A
Port C2
RD/WR PC2D7 PC2D6 PC2D5 PC2D4 PC2D3 PC2D2 PC2D1 PC2D0
Base+B
CW Port 2
WR
CW2D7
0
0
CW2D4 CW2D3 CW2D2 CW2D1 CW2D0
Base+C
Interrupt Port 2 RD/WR
0
0
0
0
0
IRQEN2 IRQC21 IRQC20
Base+10
Port A3
RD/WR PA3D7 PA3D6 PA3D5 PA3D4 PA3D3 PA3D2 PA3D1 PA3D0
Base+11
Port B3
RD/WR PB3D7 PB3D6 PB3D5 PB3D4 PB3D3 PB3D2 PB3D1 PB3D0
Base+12
Port C3
RD/WR PC3D7 PC3D6 PC3D5 PC3D4 PC3D3 PC3D2 PC3D1 PC3D0
Base+13
CW Port 3
WR
CW3D7
0
0
CW3D4 CW3D3 CW3D2 CW3D1 CW3D0
Base+14
Interrupt Port 3 RD/WR
0
0
0
0
0
IRQEN3 IRQC31 IRQC30
Base+18
Port A4
RD/WR PA4D7 PA4D6 PA4D5 PA4D4 PA4D3 PA4D2 PA4D1 PA4D0
Base+19
Port B4
RD/WR PB4D7 PB4D6 PB4D5 PB4D4 PB4D3 PB4D2 PB4D1 PB4D0
Base+1A
Port C4
RD/WR PC4D7 PC4D6 PC4D5 PC4D4 PC4D3 PC4D2 PC4D1 PC4D0
Base+1B
CW Port 4
WR
CW4D7
0
0
CW4D4 CW4D3 CW4D2 CW4D1 CW4D0
Base+1C
Interrupt Port 4 RD/WR
0
0
0
0
0
IRQEN4 IRQC41 IRQC40
IntStat = Interrupt Status
Summary of Contents for REL-32.PCI
Page 1: ...PIO 96 PCI User Manual 8009...
Page 18: ...Example Circuits...