Microsoft UNO-3074 Interrupt Enable Control Function, Interrupt Triggering Edge Control

Page 30

2.5.6 Interrupt Enable Control Function

Table 2.6: Interrupt Disable/Enable Control

DI0EN & DI1EN

Interrupt Disable/Enable Control

 

 

0

Disable

 

 

1

Enable

 

 

The user can choose to enable or disable the interrupt function by writing its corresponding value to the interrupt disable/enable control bit in the interrupt control register, as shown in Table 2.6.

2.5.7 Interrupt Triggering Edge Control

The interrupt can be triggered by a rising edge or a falling edge of the interrupt signal, as determined by the value in the interrupt triggering edge control bit in the interrupt control register, as shown in Table 2.7.

Table 2.7: Interrupt Triggering Edge Control

DI0TE & DI1TE

Triggering edge of interrupt signal

 

 

0

Falling edge trigger

 

 

1

Rising edge trigger

 

 

2.5.8 Interrupt Flag Bit

The interrupt flag bit is a flag indicating the status of an interrupt. It is a readable/writable bit. To find the status of the interrupt, you have to read the bit value. To clear the interrupt, you have to write “1” to this bit. This bit must first be cleared to service the next coming interrupt.

Table 2.8: Interrupt Flag Bit Values

DI0F & DI1F

 

Interrupt Status

 

 

 

Read

0

No interrupt

 

 

 

 

1

Interrupt occur

 

 

 

Write

0

Don’t care

 

 

 

 

1

Clear interrupt

 

 

 

UNO-3074 User Manual

20

Image 30
Contents UNO-3074 Copyright AcknowledgementsSupport Product Warranty 2 years Declaration of Conformity FCC Class a Technical Support and AssistanceSafety Instructions Safety Precaution Static Electricity Contents Chapter Initial Setup Appendix Programming the Watchdog Timer Page Overview Introduction Open Architecture Designed for AutomationOff-the-shelf Universal PCI Extensions Front Access ConnectionsAn Industry-Proven Design Designed to Fit Into Control CabinetsOnboard DI/O for Counter, Alarm/Event Handling Flexible Networking OptionsPopular Operating Systems and Rapid Application Development CPU Hardware SpecificationsBattery Backup RAM 512 KB Chipset RS-232 SpeedCh Isolated Digital Output DO0~DO3 Two 16-bit Counters/TimersCh Isolated Digital Input DI0~DI3 Anti-ShockPower Consumption 24 W Typical Safety PrecautionsPower Supply 16 ~ 36 VDC Chassis Size WxHxDChassis Dimensions Chassis Dimensions for CeleronM 1GHzChassis for Pentium 1.8GHz or Faster CPU Accessories Packing ListHardware Functionality Front Panel of UNO-3074 1 16C550 UARTs with 16-byte Fifo Standard RS-232 Interface COM1~COM2RS-232/422/485 Interface COM3~COM4 2 RS-422/485 Detection4 RS-232/422/485 Selection 5 RS-485 Auto Flow/RS-422 Master/Slave Selection6 IRQ, I/O Address and Transmission Rate Setting Auto Flow & RS-422 Slave/MastersVector address for share IRQ 1D0H IRQ Setting via Switch 1 at SW3 Transmission Rate Switch 2 at SW3Termination Resistor JP6 LAN Ethernet ConnectorOnboard Isolated Digital Input Pin AssignmentsDigital Input Connector Signal Description Isolated InputsInterrupt Control Register Interrupt Function of the DI SignalsIRQ Level Interrupt Control Register Bit MapInterrupt Enable Control Function Interrupt Triggering Edge ControlInterrupt Flag Bit Digital Output Connector Signals Onboard Isolated Digital OutputPower On Configuration 10 Digital Output Power On ConfigurationIsolated Outputs Isolated Digital Output Connection Onboard Isolated Counter/Timer Counter/Timer Control Register11 Counter/Timer Control Register Bit Map Counter 0 Function Block Counter 1 Function BlockCounter Internal Clock 4 32-bit Counter Function Block CTR32Set=1Counter Clock Source Counter Gate Source14 Counter Gate Source Control Bit Counter Output DestinationCounter Interrupt Flag 15 Counter Output Destination Control BitPower Input Cascaded 32-bit Counter17 32-bit Counter Control Bit 12 LED Locations to Monitor Power Input 18 Power Register Bit Map LED and Buzzer for System Diagnosis19 LED & Buzzer Control Register 20 Programmable LED Control BitPcmcia PC Card Slot USB ConnectorPS/2 Keyboard and Mouse Connector 21 Programmable Buzzer Control BitPage Make sure the IRQ of Pcmcia device is VGA Display Connector Page Battery Backup Sram 14 LED Location for Battery BackupReset Button Lithium Battery SpecificationOutput voltage 3 VDC Initial Setup JP2 on mainboard refer to Figures A.3 Connecting PowerInserting a CompactFlash Card JP1 on daughterboard refer to Figure A.4Installing a Hard Disk Correct way is shown by the first figure belowPage Page Page IDE Connector CN1 and CN2 Installing a PCI-bus Card 1st Anti-Vibration Rubber2nd PCI-bus Card Installation Installing Power Cable Mounting UNO-3074UNO-3074 Improper Installation UNO-3074 Mounting CautionUNO-3074 Correct Installation Bios Setup and System Assignments Page System Settings and Pin Assignments System I/O Address and Interrupt Assignments Table A.1 UNO-3074 System I/O PortTable A.2 UNO-3074 Interrupt Assignments Interrupt No Interrupt SourceBoard Connectors and Jumpers Figure A.1 Backplane Connector & JumpersFigure A.3 Mainboard Connector & Jumpers Front Figure A.4 Daughter Connector & Jumpers Front Figure A.5 Daughter Connector & Jumpers Back Table A.3 Connector and Jumper Descriptions Table A.4 Connector and Jumper DescriptionsTable A.5 Connector & Jumper Descriptions SW1UNO-3074 Control Register Table A.6 UNO-3074 Control RegisterRS-232 Standard Serial Port COM1~COM2 Table A.7 RS-232 Serial Port Pin AssignsRS-232/422/485 Serial Port COM3~COM4 Ethernet RJ-45 Connector LAN1~LAN2Table A.9 Ethernet RJ-45 Connector Pin Assigns Table A.8 RS-232/422/485 Serial Port Pin AssignsPower Screw Terminal PWR Table A.10 Power Connector Pin AssignmentsTable A.11 Keyboard & Mouse Connector Pins PS/2 Keyboard and Mouse ConnectorUSB Connector USB1~USB4 Table A.12 USB Connector Pin AssignmentsTable A.13 VGA Adaptor Cable Pin Assignmen Page Programming the Watchdog Timer Appendix B Programming the Watchdog Timer