PEX/PIO/PISO-DA Series Card
Analog Output Boards
User Manual/ Ver. 3.1/ Oct. 2013/ PMH-0010-31/ Page: 63
6.3.5 Aux Status Register
(Read/Write): wBase+7
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Aux7
Aux6
Aux5
Aux4
Aux3
Aux2
Aux1
Aux0
Aux0=INT0, Aux1=INT1, Aux2~3= EEPROM control, Aux4~7=Aux-ID. Refer to Sec. 4.1 for
more information. Aux0~1 are used as interrupt sources. The interrupt service routine needs
to read this register to identify the interrupt sources. Refer to
6.3.6 Interrupt Polarity Register
(Read/Write): wBase+0x2A
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
0
0
0
0
0
INV1
INV0
INV0/1=0
select the inverted signal from INT0/1
INV0/1=1
select the non-inverted signal from INT0/1
For example:
outportb(wBase+0x2a,0);
/*Select the inverted input from both channels */
outportb(wBase+0x2a,3);
/*Select the non-inverted input from both channels */
outportb(wBase+0x2a,2);
/*Select the inverted input from INT0 */
/*Select the non-inverted input from the others */
Refer to Sec. 2.3 and the DEMO3/4/5/6.C files for more information.
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru