English
Language : 

M16C30P_07 Datasheet, PDF (124/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES
M16C/30P Group
14. Timers
Timer Ai Mode Register (i= 0 to 2)
b7 b6 b5 b4 b3 b2 b1 b0
11
Symbol
Address
After Reset
TA0MR to TA2MR 0396h to 0398h
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
MR0
(TAiOUT pin functions as I/O port)
1 : Pulse is output (4)
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 14.12 TAiMR Register in PWM Mode
Rev.1.22 Mar 29, 2007 Page 108 of 291
REJ09B0179-0122