Renesas M16C/26A Series Hardware Manual page 141

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6
Timer Ai, Ai-1 register (i=1, 2, 4)
(b15)
b7
NOTES:
1. The register must be accessed in 16 bit units.
2. When the timer Ai register is set to "0000
occur.
3.Use MOV instruction to write to these registers.
4. If the INV15 bit is "0" (dead time timer enable), the positive or negative phase whichever is going from an
inactive to an active level changes at the same time the dead time timer stops.
5. If the INV11 bit is "0" (three-phase mode 0), the TAi register value is transferred to the reload register by a
timer Ai (i = 1, 2 or 4) start trigger. If the INV11 bit is "1" (three-phase mode 1), the TAi1 register value is
transferred to the reload register by a timer Ai start trigger first and then the TAi register value is transferred
to the reload register by the next timer Ai start trigger. Thereafter, the TAi1 register and TAi register values
are transferred to the reload register alternately.
6. Do not write to TAi1 registers synchronously with a timer B2 underflow In three-phase mode 1.
7. Write to the TAi1 register as follows:
(1) Write a value to the TAi1 register
(2) Wait for one cycle of timer Ai count source.
(3) Write the same value to the TAi1 register again.
Figure 12.3.5. TA1, TA2, TA4, TA11, TA21 and TA41 Registers
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
6
(1, 2, 3, 4, 5)
(b8)
b0
b0 b7
Assuming the set value = n, upon a start trigger the timer
starts counting the count source and stops after counting
it n times. The positive and negative phases change at
the same time timer A, A2 or A4 stops.
page 122
f o
3
2
9
C
2 /
6
) T
Symbol
Address
TA1
0389
16
TA2
038B
16
TA4
038F
16
(6,7)
TA11
0343
16
(6,7)
TA21
0345
16
(6,7)
TA41
0347
16
Function
", the counter does not operate and a timer Ai interrupt does not
16
After reset
-0388
Indeterminate
16
-038A
Indeterminate
16
-038E
Indeterminate
16
-0342
Indeterminate
16
-0344
Indeterminate
16
-0346
Indeterminate
16
Setting range
0000
to FFFF
16
16
12. Timer
RW
WO

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents