Renesas 7700 FAMILY User Manual page 126

Mitsubishi 16-bit single-chip microcomputer
Table of Contents

Advertisement

Count source
TAi
pin's input signal
IN
PWM pulse output
from TAi
pin
OUT
Timer Ai interrupt
request bit
fi: Frequency of count source
(f
/f
, f
2
4
Note: The above applies when reload register (n) = "0003
pin's input signal) is selected.
Fig. 5.6.4 Operation example of 16-bit pulse width modulator
n = Reload register's contents
FFFE
16
2000
16
16
(2
–1) – n
n
0001
16
TAi
pin's
"H"
IN
input signal
"L"
PWM pulse
"H"
output from
TAi
pin
"L"
OUT
fi: Frequency of count source
(f
/f
, f
/f
, f
/f
, or f
2
4
16
32
64
128
When an arbitrary value is set to the timer Ai register after setting "0000
depends on the timing at which the new value is set.
Note: The above applies when an external trigger (rising of TAi
Fig. 5.6.5 Operation example of 16-bit pulse width modulator (when counter value is updated during
pulse output)
"H"
"L"
"H"
"L"
"1"
"0"
/f
, f
/f
, or f
/f
)
16
32
64
128
512
1024
16
(1 / f
)
(2
–1)
i
"FFFE
" is set to timer Ai
16
register.
/f
)
512
1024
7751 Group User's Manual
5.6 Pulse width modulation (PWM) mode
1 / f
(2
– 1)
16
i
Trigger is not generated by this signal.
1 / f
(n)
i
Cleared to "0" when interrupt request is accepted
or cleared by software.
" and an external trigger (rising of TAi
16
16
(1 / f
)
(2
–1)
i
counting.
"0000
" is set to timer Ai
16
register.
" to it, the timing at which the PWM pulse goes "H"
16
pin's input signal) is selected.
IN
TIMER A
IN
16
(1 / Pf
)
(2 –1)
i
Stops
Restarts counting.
"2000
" is set to timer Ai
16
register.
Time
5–45

Advertisement

Table of Contents
loading

This manual is also suitable for:

7751 series

Table of Contents