
Page 167
4
9
4
f
o
5
0
2
,
1
0
.
l
u
J
3
0
.
1
.
v
e
R
3
0
1
0
-
7
3
0
B
9
0
J
E
R
15. Timer (Timer A)
)
T
5
8
/
C
2
3
M
,
5
8
/
C
2
3
M
(
p
u
o
r
G
5
8
/
C
2
3
M
Figure 15.12 TA0MR to TA4MR Registers
b7
b6
b5
b4
b3
b2
b1
b0
00
1
Timer Ai Mode Register (i=0 to 4) (One-Shot Timer Mode)
Symbol
Address
After Reset
TA0MR to TA4MR
035616, 035716, 035816, 035916, 035A16
0016
RW
TMOD0
TMOD1
Operating Mode
Select Bit
Trigger Select Bit
Set to "0" in the one-shot timer mode
MR1
MR3
MR2
TCK0
TCK1
Count Source
Select Bit
External Trigger Select
Bit(1)
0 : Falling edge of input signal to TAiIN pin
1 : Rising edge of input signal to TAiIN pin
0 0 : f1
0 1 : f8
1 0 : f2n(2)
1 1 : fC32
1 0 : One-shot timer mode
b1b0
Bit Name
Function
Bit
Symbol
b7b6
NOTES:
1. The MR1 bit setting is enabled only when the TAiTGH and TAiTGL bits in the TRGSR register are set
to "002" (input to the TAiIN pin). The MR1 bit can be set to either "0" or "1" when the TAiTGH and
TAiTGL bits are set to "012" (TB2 overflow and underflow), "102" (TAi overflow and underflow) or
"112" (TAi overflow and underflow).
2. The CNT3 to CNT0 bits in the TCSPR register select no division (n=0) or divide-by-2n (n=1 to 15).
0 : The TAiOS bit is enabled
1 : Selected by the TAiTGH and
TAiTGL bits
(b2)
Reserved Bit
Set to "0"
0