Renesas M16C/62P Hardware Manual page 149

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for M16C/62P:
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
Timer Ai Mode Register (i= 0 to 4)
b7
b6
b5
b4
b3
b2
NOTES :
1. TA0OUT pin is N-channel open drain output.
2. Effective when 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 to "1" (pulse is output), when PWM pulse is output.
Figure 15.12 TAiMR Register in PWM Mode
R
e
. v
2
3 .
0
S
e
p
0
, 1
2
0
0
4
R
E
J
0
9
B
0
1
8
5
0 -
2
3
0
Z
b1
b0
Symbol
1 1
TA0MR to TA4MR
Bit Symbol
TMOD0
Operation Mode
Select Bit
TMOD1
Pulse Output Function
MR0
Select Bit
External Trigger Select
MR1
(2)
Bit
Trigger Select Bit
MR2
16/8-Bit PWM Mode
MR3
Select Bit
Count Source Select Bit
TCK0
TCK1
page 135
f o
3
6
4
Address
After Reset
0396h to 039Ah
Bit Name
b1 b0
1 1 : PWM mode
0 : Pulse is not output
(TAiOUT pin is a normal port pin)
(4)
1 : Pulse is output
(TAiOUT pin is a pulse output pin)
0 : Falling edge of input signal to TAiIN pin
1 : Rising edge of input signal to TAiIN pin
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 : f1 or f2
0 1 : f8
1 0 : f32
1 1 : fC32
00h
Function
(1)
(1)
(3)
(3)
15. Timers
RW
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pt

Table of Contents