Card Id Register; Read/Write 8-Bit Data Register - ICP DAS USA PIO-D96 User Manual

Pio-d96 series 96-channel dio board
Table of Contents

Advertisement

PIO-D96 Series Card
96-channel DIO Board

6.3.8 Card ID Register

(Read): wBase+0xfc
Bit 7
Bit 6
0
ID3
For example:
wCardID = inportb(wBase+0xfc);
Note: The Card ID function is only supported by the PIO-D96U/D96SU and PEX-D96S (Ver. 1.0 or above)

6.3.9 Read/Write 8-bit Data Register

(Read/Write): wBase+0xc0/0xc40xc8/0xd0/0xd4/0xd8
Bit 7
Bit 6
D7
D6
There are 12 8-bit I/O ports in the PIO-D96 series card. Every I/O port can be configured as DI or DO
port. User can send/receive digital data to/from this register for digital input or output.
ports are used as D/I port when the PC is first turned on.
For example:
outportb(wBase+0xc0,Val);
Val=inportb(wBase+0xc0);
Note: Make sure the I/O port configuration (DI or DO) before read/write the data register, refer to
"I/O Selection Control Register"
Bit 5
Bit 4
ID2
ID1
0xe0/0xe4/0xe8/0xf0/0xf4/0xf8
Bit 5
Bit 4
D5
D4
/* write to Port0 */
/* read from Port0 */
for more details.
User Manual, Ver. 2.3, Jun. 2018, PMH-008-23 Page: 45
Bit 3
Bit 2
ID0
0
/* read Card ID */
Bit 3
Bit 2
D3
D2
Bit 1
Bit 0
0
0
Bit 1
Bit 0
D1
D0
Note that all
Section 6.3.7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pio-d96suPio-d96uPex-d96s

Table of Contents