
PIO-D64/PIO-
D64U User’s Manual ( Ver.1.
6, Mar. 2015, PMH-007-16 ) ----- 20
2.7.3 INT_CHAN_1
Figure 2.8
Figure 2.8 illustrates the control method of event interrupt. Note that the
signal source comes from OUT3. The INV1 is used to invert/non-invert the
trigger signal source and EN1 is used to disable/enable the timer interrupt
(Refer to Sec. 2.5 for the source of interrupt signal).
User can use Counter3 as
event counter to count the event signal that comes from Pin7 of CN5. When the
amount of event is the same as counter3 setting, the interrupt of INT_CHAN_1
will be trigger.
The INT_CHAN_1 must be fixed in low level state normally
and generated a high_pulse to interrupt the PC.
1. The EN1 can be used to enable/disable the INT_CHAN_1 as follows: (refer
to Figure 2.8 and Sec. 3.1.4)
EN1=0
INT_CHAN_1=disable
EN1=1
INT_CHAN_1=enable
2. The INV1 can be used to invert/non-invert the EVTIRQ as follows: (Refer to
Figure 2.8 and Sec. 3.1.6)
INV1=0
INT_CHAN_1=inverted state of EVTIRQ
INV1=1
INT_CHAN_1=non-inverted state of EVTIRQ
NOTE: Refer to DEMO4.C in DOS operating system for more information.
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru