English
Language : 

M16C62P_06 Datasheet, PDF (169/421 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
M16C/62P Group (M16C/62P, M16C/62PT)
15. Timers
Timer Ai Mode Register (i= 0 to 4)
b7 b6 b5 b4 b3 b2 b1 b0
11
Symbol
Address
After Reset
TA0MR to TA4MR 0396h to 039Ah
Bit Symbol
Bit Name
00h
Function
RW
TMOD0 Operation Mode Select Bit b1 b0
RW
TMOD1
1 1 : PWM mode (1)
RW
Pulse Output Function
0 : Pulse is not output
Select Bit (4)
(TAiOUT pin functions as I/O port)
MR0
1 : Pulse is output (1)
RW
(TAiOUT pin functions as a pulse output pin)
External Trigger Select
0 : Falling edge of input signal to TAiIN pin (3)
MR1
Bit (2)
1 : Rising edge of input signal to TAiIN pin (3)
RW
Trigger Select Bit
MR2
0 : Write “1” to TAiS bit in the TASF register
1 : Selected by TAiTGH to TAiTGL bits
RW
16/8-Bit PWM Mode Select 0 : Functions as a 16-bit pulse w idth modulator
MR3 Bit
1 : Functions as an 8-bit pulse w idth modulator
RW
Count Source Select Bit b7 b6
TCK0
0 0 : f1 or f2 (5)
RW
0 1 : f8
1 0 : f32
TCK1
1 1 : fC32
RW
NOTES :
1. TA0OUT pin is N-channel open drain output.
2. Effective w hen the TAiTGH and TAiTGL bits in the ONSF or TRGSR register are “00b” (TAiIN pin input).
3. The port direction bit for the TAiIN pin is set to “0” (= input mode).
4. Set this bit to “1” (Pulse is output) to output PWM pulse.
5. Selected by PCLK0 bit in the PCLKR register.
Figure 15.13 TAiMR Register in PWM Mode
Rev.2.41 Jan 10, 2006 Page 154 of 390
REJ09B0185-0241