Omega Engineering OME-PIO-D96 User Manual
3.3.6 Interrupt Polarity Control 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 INV3
INV2
INV1
INV0
Note. Refer to Sec. 3.1 for more information about wBase.
INV0=1Æ select the non-inverted signal from P2C0
INV0=0Æ select the inverted signal from P2C0
outportb(wBase+0x2a,0x0f); /* select the non-inverted input P2/5/8/11C0 */
outportb(wBase+0x2a,0x00); /* select the inverted input of P2/5/8/11C0 */
outportb(wBase+0x2a,0x0e); /* select the inverted input of P2C0 */
INV0=1Æ select the non-inverted signal from P2C0
INV0=0Æ select the inverted signal from P2C0
outportb(wBase+0x2a,0x0f); /* select the non-inverted input P2/5/8/11C0 */
outportb(wBase+0x2a,0x00); /* select the inverted input of P2/5/8/11C0 */
outportb(wBase+0x2a,0x0e); /* select the inverted input of P2C0 */
/* select the non-inverted input P5/8/11C0 */
outportb(wBase+0x2a,0x0c); /* select the inverted input of P2/5C0 */
/* select the non-inverted input P8/11C0 */
Refer to Sec. 2.5 for more information.
Refer to DEMO5.C for more information.
Refer to DEMO5.C for more information.
OME-PIO-D96 User Manual (Ver.1.1, Mar/2003)
---- 33