English
Language : 

M16C28 Datasheet, PDF (132/423 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/28 Group (M16C/28, M16C/28B)
12. Timer
Timer Ai Mode Register (i= 0 to 4)
b7 b6 b5 b4 b3 b2 b1 b0
11
Symbol
TA0MR to TA4MR
Address
After Reset
039616 to 039A16 0016
Bit Symbol
Bit Name
TMOD0 Operation mode
TMOD1 select bit
MR0
Pulse output funcion
select bit
MR1
External trigger select
bit (1)
MR2
Trigger select bit
Function
b1 b0
1 1 : PWM mode
0: Pulse is not output(TAiOUT pin functions as I/O port)
1: Pulse is output(TAiOUT pin functions as a pulse
output pin)
RW
RW
RW
RW
0: Falling edge of input signal to TAiIN pin(2)
RW
1: Rising edge of input signal to TAiIN pin(2)
0 : Write “1” to TAiS bit in the TASF register RW
1 : Selected by TAiTGH to TAiTGL bits
MR3
TCK0
TCK1
16/8-bit PWM mode
select bit
0: Functions as a 16-bit pulse width modulator RW
1: Functions as an 8-bit pulse width modulator
b7 b6
Count source select bit 0 0 : f1 or f2
RW
0 1 : f8
1 0 : f32
1 1 : fC32
RW
NOTES:
1. Effective when the TAiTGH and TAiTGL bits in the ONSF or TRGSR register are ‘002’ (TAiIN pin input).
2. The port direction bit for the TAiIN pin must be set to “0” ( input mode).
Figure 12.12 TAiMR Register in Pulse Width Modulation Mode
Rev. 2.00 Jan. 31, 2007 page 112 of 385
REJ09B0047-0200