Renesas M16C/64C User Manual page 813

Table of Contents

Advertisement

M16C/64C Group
32.12.5 Timer A (Pulse Width Modulation Mode)
32.12.5.1 Changing Operating Modes
The IR bit becomes 1 when setting a timer operating mode with any of the following:
Selecting PWM mode or programmable output mode after reset
Changing the operating mode from timer mode to PWM mode or programmable output mode
Changing the operating mode from event counter mode to PWM mode or programmable output
mode
To use the timer Ai interrupt (IR bit), set the IR bit to 0 by a program after the changes listed above
are made.
32.12.5.2 Stop While Counting
When setting the TAiS bit to 0 (count stopped) during PWM pulse output, the following occur:
When the POFSi bit in the TAPOFS register is 0:
Counting stops
When the TAiOUT pin is high, the output level goes low and the IR bit becomes 1.
When the TAiOUT pin is low, both the output level and the IR bit remain unchanged.
When the POFSi bit in the TAPOFS register is 1:
Counting stops.
When the TAiOUT pin output is low, the output level goes high and the IR bit is set to 1.
When the TAiOUT pin output is high, both the output level and the IR bit remain unchanged.
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
32. Usage Notes
Page 780 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents