UG-549
ADuCM310 Hardware Reference Manual
Rev. C | Page 164 of 192
Bits
Bit Name
Description
Reset
Access
4
ENABLE
Timer enable. This bit enables and disables the timer. Clearing this bit
resets the timer, including the T1VAL register.
0x0
RW
0: DIS. Timer is disabled (default).
1: EN. Timer is enabled.
3
MOD
Timer mode. This bit controls 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. This bit 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. These bits control the prescaler division factor applied to the
selected clock of the timer. If CLK Source 0 or CLK Source 1 are selected, the
prescaler value of 0 means divide by 4; otherwise, 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 237. 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 clears a capture event interrupt.
0x0
W1C
0: no effect.
1: clears the capture event interrupt.
0
TMOUT
Clear timeout interrupt. This bit clears a timeout interrupt.
0x0
W1C
0: no effect.
1: clears the timeout interrupt.
Capture Register
Address: 0x40000410, Reset: 0x0000, Name: T1CAP
Table 238. 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 T1CLRI[1].
0x0
R