Renesas M16C/62P Series Hardware Manual page 169

6-bit single-chip microcomputer
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 b1 b0
1 1
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 15.13
TAiMR Register in PWM Mode
Rev.2.41
Jan 10, 2006
REJ09B0185-0241
http://www.xinpian.net
Symbol
Address
0396h to 039Ah
TA0MR to TA4MR
Bit Name
Bit Symbol
TMOD0
Operation Mode Select Bit
TMOD1
Pulse Output Function
(4)
Select Bit
MR0
External Trigger Select
MR1
(2)
Bit
Trigger Select Bit
MR2
16/8-Bit PWM Mode Select
MR3
Bit
Count Source Select Bit
TCK0
TCK1
Page 154 of 390
提供单片机解密、IC解密、芯片解密业务
After Reset
00h
Function
b1 b0
(1)
1 1 : PWM mode
0 : Pulse is not output
(TAiOUT pin functions as I/O port)
(1)
1 : Pulse is output
(TAiOUT pin functions as 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 w idth modulator
1 : Functions as an 8-bit pulse w idth modulator
b7 b6
(5)
0 0 : f1 or f2
0 1 : f8
1 0 : f32
1 1 : fC32
15. Timers
RW
RW
RW
RW
(3)
RW
(3)
RW
RW
RW
RW
010-62245566 13810019655

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pM16c/62pt

Table of Contents