English
Language : 

M16C26A Datasheet, PDF (139/352 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/26A Group (M16C/26A, M16C/26B, M16C/26T)
12. Timer
Timer Ai, Ai-1 register (i=1, 2, 4) (1, 2, 3, 4, 5)
(b15)
b7
(b8)
b0 b7
Symbol
TA1
TA2
b0
TA4
TA11 (6,7)
TA21 (6,7)
TA41 (6,7)
Address
038916-038816
038B16-038A16
038F16-038E16
034316-034216
034516-034416
034716-034616
After reset
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Function
Setting range RW
Assuming the set value = n, upon a start trigger the timer 000016 to FFFF16
starts counting the count source and stops after counting
WO
it n times. The positive and negative phases change at
the same time timer A, A2 or A4 stops.
NOTES:
1. The register must be accessed in 16 bit units.
2. When the timer Ai register is set to "000016", the counter does not operate and a timer Ai interrupt does not
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
Rev. 2.00 Feb.15, 2007 page 122 of 329
REJ09B0202-0200