Renesas M16C/60 Series Hardware Manual page 141

Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group
Timer Ai, Ai-1 register (i = 1, 2, 4) (Notes 1 to 6)
(b15)
(b8)
b7
b0 b7
Note 1: The register must be accessed in 16-bit unit.
Note 2: When these registers are set to "0000
Note 3: Use MOV instruction to write to these registers.
Note 4: If the INV15 bit is "0" (dead time timer enabled), 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 these registers synchronously with a timer B2 underflow.
Note 7: Write to 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.
Timer B2 register (Note)
(b15)
(b8)
b7
Note: The register must be accessed in 16-bit unit.
Figure 1.14.5 TA1, TA2, TA4, TA11, TA21 and TA41 Registers, and TB2 Register
Rev.1.00
2003.05.30
page 127
b0
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 A1, A2 or A4 stops.
", the counter does not operate and a timer Ai interrupt does not occur.
16
b0 b7
b0
Divide the count source by n + 1 where n = set value.
Timer A1, A2 and A4 are started at every occurrence of
underflow.
Three-phase Motor Control Timer Function
Symbol
Address
TA1
0389
-0388
16
TA2
038B
-038A
16
TA4
038F
-038E
16
TA11 (Note 7)
01C3
-01C2
16
TA21 (Note 7)
01C5
-01C4
16
TA41 (Note 7)
01C7
-01C6
16
Function
Symbol
Address
TB2
0395
-0394
16
Function
After reset
Indeterminate
16
Indeterminate
16
Indeterminate
16
Indeterminate
16
Indeterminate
16
Indeterminate
16
Setting range
0000
to FFFF
16
16
After reset
Indeterminate
16
Setting range
0000
to FFFF
16
16
RW
WO
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6n5

Table of Contents