Renesas M16C/26A Series Hardware Manual page 126

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6
Count source
Input signal to
TA
pin
iIN
PWM pulse output
from TA
IR bit in the
TAiIC register
f
: Frequency of count source
j
(f
, f
1
i = 0 to 4
NOTES:
1. n = 0000
2. This timing diagram is for the case where the TAi register is set to "0003
the ONSF or TRGSR register is set to "00
(rising edge), and the MR2 bit in the TAiMR register is set to "1" (trigger selected by TAiTGH and TAiTGL bits).
Figure 12.1.4.2. 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 in the
TAiIC register
f
: Frequency of count source
j
(f
, f
, f
, f
, f
1
2
8
32
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 set to "0202
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.1.4.3. Example of 8-bit Pulse Width Modulator Operation
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
"H"
"L"
"H"
pin
iOUT
"L"
"1"
"0"
, f
, f
, f
)
2
8
32
C32
to FFFE
.
16
16
"H"
"L"
"H"
"L"
"H"
"L"
"1"
"0"
)
C32
; n = 00
to FE
.
16
16
16
" (TAi
2
page 107
f o
3
2
9
6
C
2 /
6
) T
16
1 / f
(2
– 1)
X
i
Trigger is not generated by this signal
1 / f
n
X
j
Set to "0" upon accepting an interrupt request or by writing in program
" (TAi
pin input), the MR1 bit in the TAiMR register is set to "1"
2
IN
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
pin input), the MR1 bit in the TAiMR register is set to "0"(falling
IN
", the TAiTGH and TAiTGL bits in
16
8
", the TAiTGH and TAiTGL bits in the
16
12. Timer

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents