English
Language : 

M16C65 Datasheet, PDF (344/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
17. Timer A
Event Counter Mode (When Not Using Two-Phase Pulse Signal Processing)
Timer Ai Mode Register (i = 0 to 4)
b7 b6 b5 b4 b3 b2 b1 b0
00
01
Symbol
TA0MR to TA4MR
Address
0336h to 033Ah
After Reset
00h
Bit Symbol
Bit Name
Function
RW
TMOD0
b1 b0
RW
Operation mode select bit 0 1 : Event counter mode
TMOD1
RW
0 : Pulse is not output
MR0
Pulse output function
select bit
(TAiOUT pin functions as I/O port)
1 : Pulse is output
RW
(TAiOUT pin functions as pulse output pin)
MR1
Count polarity select bit
0 : Counts falling edge of external signal
1 : Counts rising edge of external signal
RW
MR2 Set to 0 in event counter mode
RW
MR3 Set to 0 in event counter mode
RW
TCK0
Count operation type
select bit
0 : Reload type
1 : Free-run type
RW
TCK1 Can be 0 or 1 when not using two-phase pulse signal processing
RW
MR1 (Count Polarity Select Bit) (b3)
Valid when bits TAiTGH to TAiTGL in the ONSF or TRGSR register are 00b (TAiIN pin input).
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 309 of 791