PIO/PEX-D24/D56 Series User Manual (Ver.3.1, Mar. 2015, PMH-005-31) 323.3.4 INT Mask Control Register(Write): wBase+5Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 00 0 0 0 EN3 EN2 EN1 EN0EN0=0 Disable P2C0 as a interrupt signal (Default).EN0=1 Enable P2C0 as a interrupt signaloutp(wBase+5,0); /* Disable interrupt */outp(wBase+5,1); /* Enable interrupt P2C0 */outp(wBase+5,0x0f); /* Enable interrupt P2C0, P2C1, P2C2, and P2C3 */3.3.5 Aux Status Register(Read): wBase+7Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0Aux7 Aux6 Aux5 Aux4 Aux3 Aux2 Aux1 Aux0Aux0=P2C0, Aux1=P2C1, Aux2=P2C2, Aux3=P2C3, Aux7~4=Aux-ID. Refer tothe DEMO5.C file for more information. Aux 0~3 are used as interrupt sources.The interrupt service routine must read this register to identify the interruptsource. Refer to Sec. 2.5 for more information.3.3.6 Read Card ID Register(Read): wBase+0xccBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 00 ID3 ID2 ID1 ID0 Port2 Port1 Port0wCardID = inportb(wBase+0xcc) >>3; /* Read Card ID */Note: The Card ID function is only supported by the PIO-D24U/D56U andPEX-D24/D56 (Ver1.0 or above)!