ADuCM310 Hardware Reference Manual
UG-549
Rev. C | Page 159 of 192
Capture Event Function
There are a number of interrupt events that can be captured by the general-purpose timers. These events are shown in Table 225. Any of
the events associated with a general-purpose timer can cause a capture of the 16-bit TxVAL register into the 16-bit TxCAP register.
TxCON has a 4-bit field selecting which of the events to capture.
When the selected interrupt event occurs, the TxVAL register is copied into the TxCAP register. TxSTA[1] is set, indicating that a capture
event is pending. The bit is cleared by writing 1 to TxCLRI[1]. The TxCAP register also holds its value and cannot be overwritten until a 1
is written to TxCLRI[1].
Table 225. Capture Event Function
Event Select Bits
(EVENT Bits in TxCON Register,
TxCON[11:8])
Timer 0 Capture Source
Timer 1 Capture Source
Timer 2 Capture Source
0000
Wake-Up Timer
External Interrupt 4
External Interrupt 7
0001
External Interrupt 0
External Interrupt 5
External Interrupt 8
0010
External Interrupt 1
External Interrupt 6
SPI1
0011
External Interrupt 2
Flash controller
I
2
C0 slave
0100
External Interrupt 3
UART
I
2
C0 master
0101
External Interrupt 4
SPI0
PLA 2
0110
External Interrupt 5
PLA 0
PLA 3
0111
External Interrupt 6
PLA 1
PWM trip
1000
External Interrupt 7
DMA Error
PWM 0
1001
External Interrupt 8
DMA Done (Any)
PWM 1
1010
Watchdog timer
Reserved
PWM 2
1011
Reserved
Reserved
PWM 3
1100
Reserved
Reserved
Low Voltage Analog Die Interrupt 1
1101
Low Voltage Analog Die Interrupt 0
I
2
C1 slave
External Interrupt 0
1110
Reserved
I
2
C1 master
External Interrupt 1
1111
General-Purpose Timer 1
General-Purpose Timer 2
General-Purpose Timer 1