English
Language : 

M16C65 Datasheet, PDF (362/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
Programmable Output Mode
Timer Ai Mode Register (i = 1, 2, 4)
b7 b6 b5 b4 b3 b2 b1 b0
11
Symbol
TA0MR to TA4MR
Address
0336h to 033Ah
After Reset
00h
Bit Symbol
Bit Name
Function
RW
TMOD0
RW
Operation mode select bit
b1
1
b0
1 : PWM mode or programmable output mode
TMOD1
RW
0 : No pulse output
MR0
Pulse output function
select bit
(TAiOUT pin functions as I/O port)
1 : Pulse output
RW
(TAiOUT pin functions as a pulse output pin)
MR1
External trigger select
bit
0 : Falling edge of input signal to TAiIN pin
1 : Rising edge of input signal to TAiIN pin
RW
MR2 Trigger select bit
0 : Write 1 to the TAiS bit in the TABSR register
1 : Selected by bits TAiTGH to TAiTGL
RW
MR3 Set to 0 in programmable output mode
RW
TCK0
b1 b0
0 0 : f1TIMAB or f2TIMAB
Count source select bit 0 1 : f8TIMAB
RW
TCK1
1 0 : f32TIMAB
1 1 : fC32
MR1 (External Trigger Select Bit) (b3)
Valid when bits TAiTGH to TAiTGL in the ONSF register or TRGSR register are set to 00b (TAiIN pin
input).
TCK1-TCK0 (Count Source Select Bit) (b7-b6)
Valid when the TCS3 bit or TCS7 bit in registers TACS0 to TACS2 is set to 0 (TCK0 to TCK1 enabled).
Select f1TIMAB or f2TIMAB by the PCLK0 bit in the PCLKR register.
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 327 of 791