Renesas M16C FAMILY series Hardware Manual page 133

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
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
1
2
8
32
i = 0 to 4
NOTES:
1. n = 0000
16
2. This timing diagram is for the case where the TAi register is "0003
ONSF or TRGSR register is set to "00
edge), and the MR2 bit in the TAiMR register is set to "1" (trigger selected by TAiTGH and TAiTGL bits).
Figure 12.13 Example of 16-bit Pulse Width Modulator Operation
(1)
Count source
Input signal to
TA
pin
iIN
Underflow signal of
(2)
8-bit prescaler
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
C32
i = 0 to 4
NOTES:
1. The 8-bit prescaler counts the count source.
2. The 8-bit pulse width modulator counts the 8-bit prescaler's underflow signal.
3. m = 00
to FF
16
4. This timing diagram is for the case where the TAi register is "0202
or TRGSR register is set to "00
the MR2 bit in the TAiMR register is set to "1" (trigger selected by TAiTGH and TAiTGL bits).
Figure 12.14 Example of 8-bit Pulse Width Modulator Operation
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
"H"
"L"
"H"
"L"
"1"
"0"
, f
)
C32
Set to "0" upon accepting an interrupt request or by program
to FFFE
.
16
" (TAi
2
"H"
"L"
"H"
"L"
"H"
"L"
"1"
"0"
Set to "0" upon accepting an interrupt request or by program
)
; n = 00
to FE
.
16
16
16
"(TAi
pin input), the MR1 bit in the TAiMR register is set to "0" (falling edge), and
2
IN
page 113
f o
3
8
5
16
1 / f
(2
– 1)
X
i
Trigger is not generated by this signal
1 / f
n
X
j
", the TAiTGH and TAiTGL bits in the
16
pin input), the MR1 bit in the TAiMR register is set to "1" (rising
IN
8
1 / f
X (m + 1) X (2 – 1)
j
1 / f
X (m + 1)
j
1 / f
X (m + 1) X n
j
", the TAiTGH and TAiTGL bits in the ONSF
16
12. Timer

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents