Renesas M16C FAMILY series Hardware Manual page 132

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C
Timer Ai Mode Register (i= 0 to 4)
b7
b6
b5
b4
b3
NOTES:
1. Effective when the TAiTGH and TAiTGL bits in the ONSF or TRGSR register are '00
2. The port direction bit for the TAi
Figure 12.12 TAiMR Register in Pulse Width Modulation Mode
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
b2
b1
b0
Symbol
1
1
TA0MR to TA4MR
Bit Symbol
TMOD0
Operation mode
select bit
TMOD1
Pulse output funcion
MR0
select bit
External trigger select
MR1
bit
(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 112
f o
3
8
5
Address
0396
to 039A
16
16
Bit Name
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)
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
After Reset
00
16
Function
(2)
pin
IN
(2)
pin
IN
' (TAi
pin input).
2
IN
12. Timer
RW
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents