PIO-D64/PIO-
D64U User’s Manual ( Ver.1.
6, Mar. 2015, PMH-007-16 ) ----- 19
2.7.2 INT_CHAN_0
Figure 2.7
Figure 2.7 illustrates the control method of external interrupt. Note that
the signal source comes from GATE4. The INV0 is used to invert/non-invert the
trigger signal source and EN0 is used to disable/enable the timer interrupt
(Pin13 of CN5)
(Refer to Sec. 2.5 for the source of interrupt signal)
. The
INT_CHAN_0 must be fixed in low level state normally and generated a
high_pulse to interrupt the PC.
1. The EN0 can be used to enable/disable the INT_CHAN_0 as follows: (refer
to Figure 2.7 and Sec. 3.1.4)
EN0=0
INT_CHAN_0=disable
EN0=1
INT_CHAN_0=enable
2. The INV0 can be used to invert/non-invert the EXTIRQ as follows: (Refer to
Figure 2.7 and Sec. 3.1.6)
INV0=0
INT_CHAN_0=inverted state of EXTIRQ
INV0=1
INT_CHAN_0=non-inverted state of EXTIRQ
NOTE: Refer to DEMO3.C in DOS operating system for more information.
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru