Table 2-4: Interrupt Disable/Enable Control Bit Values; Table 2-5: Interrupt Triggering Edge Control Bit Values; Table 2-6: Interrupt Flag Bit Values - Advantech UNO-2050 User Manual

Gx1-300 universal network controller with 2 x lan, 2 x rs-232, 2 x isolated rs-232/422/485, 16 x isolated di/o
Table of Contents

Advertisement

Table 2-4: Interrupt disable/enable control bit values

DI0EN & DI1EN
Interrupt Triggering Edge Control
The interrupt can be triggered by a rising edge or a falling edge of the
interrupt signal, as determined by the value in the interrupt triggering
edge control bit in the interrupt control register, as shown in Table 2-5.

Table 2-5: Interrupt triggering edge control bit values

DI0TE & DI1TE
0
1
Interrupt Flag Bit
The interrupt flag bit is a flag indicating the status of an interrupt. It is
a readable/writable bit. To find the status of the interrupt, you have to
read the bit value; to clear the interrupt, you have to write "1" to this
bit. This bit must first be cleared to service the next coming interrupt.
DI0F & DI1F
Read
Write
0
1
Triggering edge of interrupt signal

Table 2-6: Interrupt flag bit values

0
1
0
1
Chapter 2 Hardware Functionality
Interrupt disable/enable control
Disable
Enable
Falling edge trigger
Rising edge trigger
Interrupt Status
No interrupt
Interrupt occur
Don't care
Clear interrupt
1 5

Advertisement

Table of Contents
loading

Table of Contents