3.3.6 Aux Status Register
(Read): 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
Note: Refer to Sec. 3.1 for more information regarding wBase.
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 Sec. 2.3 for more information.
3.3.7 Interrupt Polarity Control Register
(Write): wBase+0x2A
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0 0 0 0
×
×
INV1
INV0
Note: Refer to Sec. 3.1 for more information regarding wBase.
INV0/1=0
Æ
select the inverted signal from INT0/1
INV0/1=1
Æ
select the non-inverted signal from INT0/1
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.
PIO-DA/PISO-DA Series User Manual (Ver.2.9, Feb. 2011, PMH-009-29 )
50