
27
Chapter 2
2.7.8 Counter Output Destination
You can choose the output destination of counter 0 and counter 1 by setting
“Output Destination control bits”- CTR0OutSet and CTR1OutSet.
2.7.9 Counter Interrupt Flag
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. Besides, you can
choose if counter 0 or counter 1 generate interrupt signal by configuring
“CTR0IntSet” and “CTR1IntSet” control bit.
Table 2.14: Counter Gate Source Control Bit
CTR0GateSet
0
Gate source from “CTR0Gate” control bit (Default)
1
Gate source from digital input 0 (DI0) channel
CTR1GateSet
0
Gate source from “CTR1Gate” control bit (Default)
1
Gate source from digital input 2 (DI2) channel
Table 2.15: Counter Output Destination Control Bit
CTR0OutSet
0 Output destination to “CTR0Out” status bit (Default)
1 Output destination to “CTR0Out” status bit and digital output
2 (DO2) channel
CTR1OutSet
0 Output destination to “CTR1Out” status bit. (Default)
1 Output destination to “CTR1Out” status bit and digital output
3 (DO3) channel
Table 2.16: Counter Interrupt Flag Control Bit
CTR0F, CTR1F
Counter Interrupt Status
Read
0
No interrupt
1
Interrupt occur
Write
0
Don’t care
1
Clear interrupt
CTR0IntSet, CTR1IntSet
Counter Interrupt Control
0
Disable (Default)
1
Enable
Summary of Contents for UNO-3074
Page 8: ...UNO 3074 User Manual viii...
Page 17: ...9 Chapter 1 1 4 Chassis Dimensions Figure 1 1 Chassis Dimensions...
Page 42: ...UNO 3074 User Manual 34 Make sure the IRQ of PCMCIA device is 09...
Page 44: ...UNO 3074 User Manual 36...
Page 61: ...APPENDIX A System Settings and Pin Assignments...
Page 65: ...57 Appendix A Figure A 3 Mainboard Connector Jumpers Front...
Page 66: ...UNO 3074 User Manual 58 Figure A 4 Daughter Connector Jumpers Front...
Page 67: ...59 Appendix A Figure A 5 Daughter Connector Jumpers Back...
Page 76: ...UNO 3074 User Manual 68...
Page 77: ...APPENDIX B Programming the Watchdog Timer...
Page 80: ...UNO 3074 User Manual 72...