Renesas M16C FAMILY series Hardware Manual page 147

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C
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
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.29 TA1, TA2, TA4, TA11, TA21 and TA41 Registers
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
(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.
16
page 127
f o
3
8
5
Symbol
Address
TA1
0389
-0388
16
TA2
038B
-038A
16
TA4
038F
-038E
16
(6,7)
TA11
0343
-0342
16
(6,7)
TA21
0345
-0344
16
(6,7)
TA41
0347
-0346
16
Function
", the counter does not operate and a timer Ai interrupt does not occur.
After reset
Indeterminate
16
Indeterminate
16
Indeterminate
16
Indeterminate
16
Indeterminate
16
Indeterminate
16
Setting Range
RW
0000
to FFFF
16
16
WO
12. Timer

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents