
PIO-D48 Series Card
48-channel OPTO-22 Compatible DIO Board
User Manual/Ver. 3.4/Aug. 2015/PMH-006-34/Page: 45
6.3.7 Read/Write Clock/Int Control Register
(Read/Write): wBase+0xf0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
0
CTRL-D5
CTRL-D4
CTRL-D3
CTRL-D2
CTRL-D1
CTRL-D0
CTRL-D0:
timer source CLK1 selection (Refer to
Sec. 6.3.8
)
0
2 MHz
1
32.768 KHz
CTRL-D1:
invert/non-invert the PC0 of port-2 (Refer to
Sec. 2.7.4
)
0
non-invert
1
invert
CTRL-D3, CTRL-D2:
interrupt source select (Refer to
Sec. 2.7.2
)
01 : disable PC3 & !PC7 (of port-2) as interrupt source
10 : INT_CHAN_0=PC3 of port-2
00 : INT_CHAN_0=PC3 & !PC7 of port-2
CTRL-D5, CTRL-D4:
interrupt source select (refer to
Sec. 2.7.3
)
01 : disable PC3 & !PC7 (of port-5) as interrupt source
10 : INT_CHAN_1=PC3 of port-5
00 : INT_CHAN_1=PC3&!PC7 of port-5
6.3.8 Read Card ID Register
(Read): wBase+0xf4
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
0
0
0
ID3
ID2
ID1
ID0
For example:
wCardID=inportb(wBase+0xf4);
/* Read Card ID */
Note: The Card ID function is only supported by the PIO-D48U/D48SU and PEX-D48 (Ver. 1.0 or
above)