
LH75400/01/10/11 (Preliminary) User’s Guide
UART2
6/17/03
20-25
20.3.2.14 Timer Status Register
Register Bank: 1
TMST is the Timer Status Register. The TMST Register holds the status of the timers. Bits
[1] and [0] of this register generate interrupts that are reflected in the TIR bit (bit [5]) of the
GSR Register (see Section 20.3.2.20).
Bits [5] and [4] of this register display the counting status, but do not generate interrupts.
This register is not useful when using the timer in Baud Rate Generation Mode.
When this register is read, the read operation clears bits [1:0] of this register.
NOTE: Do not use the TMST Register to check the timer-expire status of UART2. Instead, use the UART2
Timer Interrupts.
Table 20-37. TMST Register
BIT
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
FIELD
///
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
RW
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
BIT
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
FIELD
///
GBS
GAS
///
TBEx TAEx
RESET
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
RW
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
ADDR
0xFF 0x0C
Table 20-38. TMST Register Definitions
BITS
NAME
DESCRIPTION
31:6
///
Reserved
Do not modify. Read as zero.
5
GBS
Gate B State
Indicates the counting state of the software gate of Timer B, as written
through the TMCTRL Register (see Section 20.3.2.13).
0 = Disables counting.
1 = Enables counting.
This bit does not generate an interrupt.
4
GAS
Gate A State
Reflects the state of the software gate of Timer A, as written through the TM-
CTRL Register (see Section 20.3.2.13).
0 = Disables counting.
1 = Enables counting.
This bit does not generate an interrupt.
3:2
///
Reserved
Read as zero.
1
TBEx
Timer B Expired
1 = Generates an interrupt through the TIR bit of the GSR Register to indicate that Timer B
count has expired.
This bit is set via the terminal count pulse that the timer generates when it terminates counting.
0
TAEx
Timer A Expired
1 = Generates an interrupt through the TIR bit of the GSR Register to indicate that Timer A
count has expired.
This bit is set via the terminal count pulse that the timer generates when it terminates counting.