Table 2.4:Interrupt Disable/Enable C. Bit Values; Table 2.5:Interrupt Triggering Edge C. Bit Values; Table 2.6:Interrupt Flag Bit Values - Advantech UNO-2050G User Manual

Lx800 500mhz automation computer with 2 x lan, 2 x rs-232, 2 x isolated rs-232/422/485,16 x isolated di/o
Table of Contents

Advertisement

Interrupt Enable Control Function
The user can choose to enable or disable the interrupt function by writing
its corresponding value to the interrupt disable/enable control bit in the
interrupt control register, as shown in Table 2-4
Table 2.4: Interrupt Disable/Enable C. Bit Values
DI0EN & DI1EN
0
1
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 C. 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
Table 2.6: Interrupt Flag Bit Values
DI0F & DI1F
Read
Write
UNO-2050G User Manual
Interrupt Disable/Enable Control
Disable
Enable
Triggering Edge of Interrupt Signal
Falling edge trigger
Rising edge trigger
0
1
0
1
12
Interrupt Status
No interrupt
Interrupt occur
Don't care
Clear interrupt.

Advertisement

Table of Contents
loading

Table of Contents