5.4Port C Interrupt Enable Register (Base + 5)

INT7 - INT0 may be enabled by writing the appropriate bits in the Port C Interrupt Enable Register. The corresponding I/O channel must be configured as an input channel via the Data Port C Control Register if an interrupt is to be generated. If an I/O channel is configured as an interrupt source (INT7 - INT0), the I/O channel continues to be a standard data input channel (DATA23 - DATA16) and may be read just as any other input signal is read.

 

Bit

Name

Description

 

 

 

 

 

 

 

 

 

7

INT7EN

1 = Enables INT7; 0 = Disables INT7

 

 

 

 

 

 

 

6

INT6EN

1 = Enables INT6; 0 = Disables INT6

 

 

 

 

 

 

 

5

INT5EN

1 = Enables INT5; 0 = Disables INT5

 

 

 

 

 

 

 

4

INT4EN

1 = Enables INT4; 0 = Disables INT4

 

 

 

 

 

 

 

3

INT3EN

1 = Enables INT3; 0 = Disables INT3

 

 

 

 

 

 

 

2

INT2EN

1 = Enables INT2; 0 = Disables INT2

 

 

 

 

 

 

 

1

INT2EN

1 = Enables INT1; 0 = Disables INT1

 

 

 

 

 

 

 

0

INT1EN

1 = Enables INT0; 0 = Disables INT0

 

 

 

 

 

 

 

 

 

 

 

Table 5-5. Port C Interrupt Control Register

IOP-241 Users Manual

27

Page 27
Image 27
Omega Engineering IOP-241 user manual Port C Interrupt Enable Register Base +, Bit Name Description