
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.
Содержание PAD128
Страница 2: ...Page ii...
Страница 10: ...PAD128 Manual Page 1 4 Manual MPAD128 D1g Figure 1 1 PAD128 Block Diagram...
Страница 16: ...PAD128 Manual Page 2 6 Manual MPAD128 D1g...
Страница 18: ...PAD128 Manual Page 3 2 Manual MPAD128 D1g...
Страница 20: ...PAD128 Manual Page 4 2 Manual MPAD128 D1g...
Страница 22: ...PAD128 Manual Page 5 2 Manual MPAD128 D1g...
Страница 28: ...PAD128 Manual Page 6 6 Manual MPAD128 D1g D6 M2 D5 M1 D2 M0 Mode X 0 0 Mode 0 X 1 1 Mode 1 1 X X Mode 2...
Страница 33: ...Page 6 11 Manual MPAD128 D1g...
Страница 35: ...PAD128 Manual Page A 2 Manual MPAD128 D1g...
Страница 37: ...PAD128 Manual Page B 2 Manual MPAD128 D1g...
Страница 39: ...PAD128 Manual Page B 4 Manual MPAD128 D1g...