UNO-4672 User Manual
34
2.12.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.12.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.23: 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.24: 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
Содержание UNO-4672
Страница 10: ...UNO 4672 User Manual x...
Страница 27: ...17 Chapter2 Figure 2 3 COM Port Related Jumper Switch Locations...
Страница 48: ...UNO 4672 User Manual 38...
Страница 49: ...2 CHAPTER 3 Initial Setup...
Страница 57: ...Appendix A System Settings and Pin Assignments...
Страница 64: ...UNO 4672 User Manual 54...
Страница 65: ...Appendix B Programming the Watchdog Timer...
Страница 68: ...UNO 4672 User Manual 58...
Страница 69: ...Appendix C Enabling the Advantech 443 WDT...