Renesas M16C/29 Series Hardware Manual page 128

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

Advertisement

M16C/29 Group
Count source
Input signal to
TA
pin
iIN
PWM pulse output
from TA
pin
iOUT
IR bit of TAiIC
register
f
: Frequency of count source
j
(f
, f
, f
, f
, f
1
2
8
32
i = 0 to 4
Note 1: n = 0000
Note 2: This timing diagram is for the case where the TAi register is '0003
ONSF or TRGSR register = '00
the MR2 bit of TAiMR register = 1 (trigger selected by TAiTGH and TAiTGL bits).
Figure 12.1.4.2. Example of 16-bit Pulse Width Modulator Operation
Count source (Note1)
Input signal to
TA
pin
iIN
Underflow signal of
8-bit prescaler (Note2)
PWM pulse output
from TA
pin
iOUT
IR bit of TAiIC
register
f
: Frequency of count source
j
(f
, f
, f
, f
, f
1
2
8
32
i = 0 to 4
Note 1: The 8-bit prescaler counts the count source.
Note 2: The 8-bit pulse width modulator counts the 8-bit prescaler's underflow signal.
Note 3: m = 00
to FF
16
Note 4: This timing diagram is for the case where the TAi register is '0202
TRGSR register = '00
TAiMR register = 1 (trigger selected by TAiTGH and TAiTGL bits).
Figure 12.1.4.3. Example of 8-bit Pulse Width Modulator Operation
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
"H"
"L"
"H"
"L"
"1"
"0"
)
C32
Set to "0" upon accepting an interrupt request or by writing in program
to FFFE
.
16
16
' (TAi
2
IN
"H"
"L"
"H"
"L"
"H"
"L"
"1"
"0"
)
C32
; n = 00
to FE
.
16
16
16
' (TAi
pin input), the MR1 bit of TAiMR register = 0 (falling edge), and the MR2 bit of
2
IN
page 108 of 402
16
1 / f
(2
– 1)
X
i
Trigger is not generated by this signal
1 / f
n
X
j
,' the TAiTGH and TAiTGL bits of
16
pin input), the MR1 bit of TAiMR register = 1 (rising edge), and
1 / f
X (m + 1) X (2 – 1)
j
1 / f
X (m + 1)
j
1 / f
X (m + 1) X n
j
Set to "0" upon accepting an interrupt request or by writing in program
,' the TAiTGH and TAiTGL bits of ONSF or
16
8
12.1 Timer A

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents