Renesas M16C/29 Series Hardware Manual page 127

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group
Timer Ai mode register (i= 0 to 4)
b7
b6
b5
b4
b3
b2
1
Note 1: Effective when the TAiTGH and TAiTGL bits of ONSF or TRGSR register are '00
Note 2: The port direction bit for the TAi
Figure 12.1.4.1. TAiMR Register in Pulse Width Modulation Mode
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
b1
b0
Symbol
1
1
TA0MR to TA4MR
Bit symbol
TMOD0
Operation mode
select bit
TMOD1
MR0
Must be set to "1" in PWM mode
External trigger select
MR1
bit (Note 1)
MR2
Trigger select bit
16/8-bit PWM mode
MR3
select bit
Count source select bit
TCK0
TCK1
pin must be set to "0" (= input mode).
IN
page 107 of 402
Address
After reset
0396
to 039A
16
16
Bit name
b1 b0
1 1 : PWM mode
0: Falling edge of input signal to TAi
1: Rising edge of input signal to TAi
0 : Write "1" to TAiS bit in the TASF register
1 : Selected by TAiTGH to TAiTGL bits
0: Functions as a 16-bit pulse width modulator
1: Functions as an 8-bit pulse width modulator
b7 b6
0 0 : f
or f
1
2
0 1 : f
8
1 0 : f
32
1 1 : f
C32
00
16
Function
pin(Note 2)
IN
pin(Note 2)
IN
' (TAi
pin input).
2
IN
12.1 Timer A
RW
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents