
PAD128 Manual
Page 6-10
Manual MPAD128.D1g
This corresponds to 98 hex. If the card base address is 2D0 hex, use the C command to
write to the control register as follows:
Base=0x2D0;
outportb(Base, 0x98);
To read the inputs at Port A use the C inportb command:
X=inportb(Base);
//Read Port A
To set outputs high (1) at Port B:
outportb(Base +1,0xff);
//Turn on all Port B bits
Each time the card is initialized, program the control register at Base + 23 for which
mode and I/O configuration is needed. From then on, reading and writing to the digital
I/O is simple.
Summary of Contents for PAD128
Page 2: ...Page ii...
Page 10: ...PAD128 Manual Page 1 4 Manual MPAD128 D1g Figure 1 1 PAD128 Block Diagram...
Page 16: ...PAD128 Manual Page 2 6 Manual MPAD128 D1g...
Page 18: ...PAD128 Manual Page 3 2 Manual MPAD128 D1g...
Page 20: ...PAD128 Manual Page 4 2 Manual MPAD128 D1g...
Page 22: ...PAD128 Manual Page 5 2 Manual MPAD128 D1g...
Page 33: ...Page 6 11 Manual MPAD128 D1g...
Page 35: ...PAD128 Manual Page A 2 Manual MPAD128 D1g...