3.3.6Interrupt 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
INV0=0Æ select the inverted signal from P2C0
outportb(wBase+0x2a,0x0f); | /* select the | */ |
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 | */ |
outportb(wBase+0x2a,0x0c); /* select the inverted input of P2/5C0 | */ | |
| /* select the | */ |
Refer to Sec. 2.5 for more information.
Refer to DEMO5.C for more information.