![ICP DAS USA PIO-D64 User Manual Download Page 21](http://html1.mh-extra.com/html/icp-das-usa/pio-d64/pio-d64_user-manual_3741676021.webp)
PIO-D64/PIO-
D64U User’s Manual ( Ver.1.
6, Mar. 2015, PMH-007-16 ) ----- 21
2.7.4 INT_CHAN_2
Figure 2.9
Figure 2.9 illustrates the control method of timer interrupt. Note that the
signal source comes from OUT5. The INV2 can be used to invert/non-invert the
Trigger signal source and EN2 is used to disable/enable the timer interrupt
(Refer to Sec.2.5 for the source of interrupt signal)
. Note that the INT_CHAN_2
must be fixed in low level state normally and generated a high_pulse to
interrupt the PC
.
Because Counter4 and Counter5 are cascaded together, it
can be used as 32-bit timer base on 4 MHz clock source.
1. The EN2 can be used to enable/disable the INT_CHAN_2 as follows: (refer
to Figure 2.9 and Sec. 3.1.4)
EN2=0
INT_CHAN_2=disable
EN2=1
INT_CHAN_2=enable
2. The INV2 can be used to invert/non-invert the TMRIRQ as follow2: (Refer
to Figure 2.9 and Sec. 3.1.6)
INV2=0
INT_CHAN_2=inverted state of TMRIRQ
INV2=1
INT_CHAN_2=non-inverted state of TMRIRQ
NOTE: Refer to DEMO5.C in DOS operating system for more information.
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru