English
Language : 

M16C26 Datasheet, PDF (90/239 Pages) Renesas Technology Corp – 16-BIT CMOS SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/20 SERIES
Udenvdeelropment
Timer A
Preliminary Specifications Rev. 0.9
Specifications in this manual are tentative and subject to change. M16C/26 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Timer Ai mode register
(When using two-phase pulse signal processing)
b6 b5 b4 b3 b2 b1 b0
0 1 0 00 1
Symbol
Address
When reset
TAiMR(i = 2 to 4) 039816 to 039A16 0016
TMOD0
TMOD1
Bit name
Operation mode select bit
Function
b1 b0
0 1 : Event counter mode
RW
MR0
MR1
MR2
MR3
0 (Must always be 0 when using two-phase pulse signal
processing)
0 (Must always be 0 when using two-phase pulse signal
processing)
1 (Must always be 1 when using two-phase pulse signal
processing)
0 (Must always be 0 when using two-phase pulse signal
processing)
TCK0
Count operation type
select bit
0 : Reload type
1 : Free-run type
TCK1
Two-phase pulse
processing operation
0 : Normal processing operation
select bit (Note 1)(Note 2) 1 : Multiply-by-4 processing operation
Note 1: This bit is valid for timer A3 mode register. Timer A2 is fixed to normal processing
operation, and timer A4 is fixed to multiply-by-4 processing operation.
Note 2: When performing two-phase pulse signal processing, make sure the two-phase pulse
signal processing operation select bit (address 038416) is set to "1". Also, always be
sure to set the event/trigger select bit (addresses 038216 and 038316) to '002'. And
finally, set the port direction bits for TAiIN and TAiOUT to "0" (input mode).
Figure 1.12.9. Timer Ai mode register in event counter mode
84
Renesas Technology Corp.