ADuCM320 Hardware Reference Manual
UG-498
Rev. C | Page 161 of 196
Bits
Bit Name
Description
Reset
Access
3
MOD
Timer mode. This bit is used to control whether the timer runs in periodic
or free running mode. In periodic mode, the up/down counter starts at the
defined LOAD value (T1LD); in free running mode, the up/down counter
starts at 0x0000 or 0xFFFF depending on whether the timer is counting up
or down.
0x1
RW
0: FREERUN. Timer runs in free running mode.
1: PERIODIC. Timer runs in periodic mode (default).
2
UP
Count up. Used to control whether the timer increments (counts up) or
decrements (counts down) the up/down counter.
0x0
RW
0: DIS. Timer is set to count down (default)
1: EN. Timer is set to count up
[1:0]
PRE
Prescaler. Controls the prescaler division factor applied to the timer's
selected clock. If CLK Source 0 (PCLK) or CLK Source 1 (HCLK) is selected,
then Prescaler Value 0 means divide by 4, else it means divide by 1.
0x2
RW
00: source clock/[1 or 4]
01: source clock/16
10: source clock/256
11: source clock/32,768
Clear Interrupt Register
Address: 0x4000040C, Reset: 0x0000, Name: T1CLRI
Table 232. Bit Descriptions for T1CLRI
Bits
Bit Name
Description
Reset
Access
[15:2]
RESERVED
Reserved.
0x0
R
1
CAP
Clear captured event interrupt. This bit is used to clear a capture event
interrupt.
0x0
W1C
0: no effect
1: clear the capture event interrupt
0
TMOUT
Clear timeout interrupt. This bit is used to clear a timeout interrupt.
0x0
W1C
0: no effect
1: clears the timeout interrupt
Capture Register
Address: 0x40000410, Reset: 0x0000, Name: T1CAP
Table 233. Bit Descriptions for T1CAP
Bits
Bit Name
Description
Reset
Access
[15:0]
CAP
16-bit captured value. T1CAP holds its value until T1CLRI[1] is set by user
code. T1CAP is not overwritten even if another event occurs without
writing to the T1CLRI[1].
0x0
R