Renesas M16C/29 Series Hardware Manual page 142

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group
Timer Ai, Ai-1 register (i=1, 2, 4) (Note 1, Note 2, Note 3, Note 4, Note 5)
(b15)
(b8)
b7
b0 b7
Note 1: The register must be accessed in 16 bit units.
Note 2: When the timer Ai register is set to "0000
not occur.
Note 3: Use MOV instruction to write to these registers.
Note 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.
Note 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.
Note 6: Do not write to TAi1 registers synchronously with a timer B2 underflow In three-phase mode 1, do not set
TAi1 register while the timer B underflows.
Note 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
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
Symbol
TA1
TA2
b0
TA4
TA11 (Note6,7) 0343
TA21 (Note6,7) 0345
TA41 (Note6,7) 0347
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.
", the counter does not operate and a timer Ai interrupt does
16
.
page 122 of 402
12.3 Three-phase Motor Control Timer Function
Address
0389
-0388
16
16
038B
-038A
16
16
038F
-038E
16
16
-0342
16
16
-0344
16
16
-0346
16
16
Function
.
After reset
????
16
????
16
????
16
????
16
????
16
????
16
Setting range
RW
0000
to FFFF
16
16
WO

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents