Chapter 2 Hardware Functionality
1 3
PC 5V
IDI channels
Internal
External
Protection
Circuit
Bi-direction
diode
S Vin
(COM)
Please note that DI4 and DI5 may be configured as Counter 0 and
Counter 1’s gate control pins; DI6 and DI7 may be configured as
Counter 0 and Counter 1’s clock input pins. Please refer to “section
2.6” for detail
Figure 2-4: Isolated digital input connection
Interrupt function of the DI signals
DI0 and DI1 can be used to generate hardware interrupts. A user can
setup the configuration of interrupts by programming the interrupt
control register.
The channels are connected to the interrupt circuitry. Users can
disable/enable interrupt function, select trigger type or latch the port
data by setting the Interrupt Control Register of the UNO-2050. When
the interrupt request signals occur, then the software will service these
interrupt requests by ISR (Interrupt Service Routine). The multiple
interrupt sources provide the card with more capability and flexibility.