Omega Engineering IOP-241 用户手册

下载
页码 36
5.4
Port 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.
1 = Enables INT0; 0 = Disables INT0
INT1EN
0
1 = Enables INT1; 0 = Disables INT1
INT2EN
1
1 = Enables INT2; 0 = Disables INT2
INT2EN
2
1 = Enables INT3; 0 = Disables INT3
INT3EN
3
1 = Enables INT4; 0 = Disables INT4
INT4EN
4
1 = Enables INT5; 0 = Disables INT5
INT5EN
5
1 = Enables INT6; 0 = Disables INT6
INT6EN
6
1 = Enables INT7; 0 = Disables INT7
INT7EN
7
Description
Name
Bit
Table 5-5.  Port C Interrupt Control Register
 IOP-241 Users Manual                                                                                                                       27