
Using the I/O Address Map
30
DAI12-4(FIT)GY
Setting an Interrupt Source
This option allows you to specify an interrupt signal generation source.
The control port that sets an interrupt source assumes the following state:
Figure 4.15. Interrupt Source Output Port
When the value [1] is output as an interrupt source, the control port is masked; when
the value [0] is output, the port is set as an interrupt source.
[1]
Masked
* Initialized state
[0]
Interrupt Request Enable
Following are examples in which a timer cycle is set in high-level languages:
Microsoft C
Microsoft QBASIC
outp( ADR+24, 0x1 );
OUT ADR+24, &H1
outp( ADR+28, InterruptFactor ); OUT ADR+28, InterruptFactor
D7
D7
D6
D5
D4
D3
D2
D1
D0
D6
D5
D4
D3
D2
D1
D0
Command
0
0
0
0
0
0
0
1
output
+24
(18h)
output
+28
(1Ch)
Interrupt Source
1
1
1
1
1
Pacer
Clock Error
End of
Conversion
Pacer
Clock Input
Starting
I/O Address
Содержание DAI12-4FITGY
Страница 1: ...F eIT Series Isolated Analog Output Module DAI12 4 FIT GY User s Manual CONTEC CO LTD...
Страница 47: ...Using the I O Address Map 42 DAI12 4 FIT GY...
Страница 64: ......