Pulse Width Modulation (Pwm) Mode - Renesas 7700 FAMILY User Manual

Mitsubishi 16-bit single-chip microcomputer
Table of Contents

Advertisement

5.6 Pulse width modulation (PWM) mode

In this mode, the timer continuously outputs pulses which have an arbitrary width. (Refer to Table 5.6.1.)
Figure 5.6.1 shows the structures of the timer Ai mode register and timer Ai register in the PWM mode.
Table 5.6.1 Specifications of PWM mode
Item
Count source
Count operation
Count start condition
Count stop condition
Interrupt request occurrence timing
TAi
pin function
IN
TAi
pin function
OUT
Read from timer Ai register
Write to timer Ai register
5.6 Pulse width modulation (PWM) mode
f
/f
, f
/f
, f
/f
, or f
2
4
16
32
64
128
Down-count (operating as an 8-bit or 16-bit pulse width modulator)
Reload register's contents are reloaded at rising of PWM pulse and
counting continues.
A trigger generated during counting does not affect the counting.
When a trigger is generated.
Internal or external trigger can be selected by software.
When count start bit is cleared to "0."
At falling of PWM pulse
Programmable I/O port or trigger input
PWM pulse output
An undefined value is read out.
While counting is stopped
When a value is written to timer Ai register, it is written to both
reload register and counter.
While counting is in progress
When a value is written to timer Ai register, it is written to only
reload register. (Transferred to counter at next reload time.)
7751 Group User's Manual
Specifications
/f
512
1024
TIMER A
5–39

Advertisement

Table of Contents
loading

This manual is also suitable for:

7751 series

Table of Contents