
rej05b0940_m16cap| Application Note
APPLICATION NOTE
M32C/84, 85, 86, 87, 88 Group
Timer A Operation in Pulse Width Modulation Mode (16-Bit PWM)
1. Abstract
In pulse width modulation mode, the timer continuously outputs pulses of desired width for a fixed period. An interrupt request is generated on the falling edge of the PWM output. PWM "H" output width = (timer register value) timer count source period PWM output period = (216 - 1) timer count source period f1 = 32 MHz, fC = 32.768 kHz Count Source f1 f8 f2n (n = 15) fC32 Count Source Period "H" Width 31.25 ns 31.25 ns to approx. 2.047 ms 250 ns 250 ns to approx. 16.383 ms 937.5 ns 937.5 ns to approx. 61.43 ms Approx. 0.977 ms Approx. 0.977 ms to approx. 63.99s PWM Period 2.048 ms 16.384 ms 61.44 ms 64s
2. Introduction
The application example described in this document is applied to the following MCUs and parameter(s): MCUs: M32C/84 Group M32C/85 Group M32C/86 Group M32C/87 Group M32C/88 Group This program can be used with other M16C Family MCUs which have the same special function registers (SFRs) as the above MCUs. Check the manual for any additions and modifications to functions. Careful evaluation is recommended before using this application note.
REJ05B0940-0100/Rev.1.00
September 2006
Page 1 of 8
rej05b0940_m16cap Application Note renesas Download PDF
Add this permalink to your bookmarks for future download of rej05b0940_m16cap ApplicationNote
Permalink: http://application.emcelettronica.com/renesas/rej05b0940_m16cap