10
10-199
MULTIJUNCTION TIMERS
10.8 TOU (Output-Related 24-Bit Timer)
32180 Group User’s Manual (Rev.1.0)
When using TIN17/PWMOFF1 to disable PWM outputs
1. Write data ‘1’ to the PWMOFF1CR register PWMOFF1SP bit.
2. After 1 above, write data ‘0’ to the PWMOFF1SP bit and then data ‘000,’ ‘001,’ ‘010,’ ‘011,’ ‘10X’ or
‘11X’ to the PWMOFF1S bit in succession.
Note: • If a write cycle to any other area occurs between 1 and 2, the value written to the PWMOFF1S
bit has no effect.
When using TIN33/PWMOFF2 to disable PWM outputs
1. Write data ‘1’ to the PWMOFF2CR register PWMOFF2SP bit.
2. After 1 above, write data ‘0’ to the PWMOFF2SP bit and then data ‘000,’ ‘001,’ ‘010,’ ‘011,’ ‘10X’ or
‘11X’ to the PWMOFF2S bit in succession.
Note: • If a write cycle to any other area occurs between 1 and 2, the value written to the PWMOFF2S
bit has no effect.
(2) Using the PWM control registers to disable PWM outputs
The PWM Output 0 Control Register (PO0DISCR) may be used to disable outputs from the ports P160/
TO21–P165/TO26 that are provided for the PWM outputs of the TOU0_0–TOU0_5 timers. Similarly, the
PWM Output 1 Control Register (PO1DISCR) may be used to disable outputs from the ports P180/TO29–
P185/TO34 that are provided for the PWM outputs of the TOU1_0–TOU1_5 timers. Also, the PWM Output 2
Control Register (PO2DISCR) may be used to disable outputs from the ports P210/TO37–P215/TO42 that
are provided for the PWM outputs of the TOU2_0–TOU2_5 timers.
Set up the PWM Output Control Register (POnDISCR) as described below.
When using the PWM Output 0 Control Register (PO0DISCR) to disable PWM outputs
1. Set the PO0DISCR register PO0DISP bit to "1".
2. After 1 above, set the PO0DISP bit to "0" and then the PO0DIS bit to "1" (output disabled).
Note: • If a write cycle to any other area occurs between 1 and 2, the setting of the PO0DIS bit has
no effect.
When using the PWM Output 1 Control Register (PO1DISCR) to disable PWM outputs
1. Set the PO1DISCR register PO1DISP bit to "1".
2. After 1 above, set the PO1DISP bit to "0" and then the PO1DIS bit to "1" (output disabled).
Note: • If a write cycle to any other area occurs between 1 and 2, the setting of the PO1DIS bit has
no effect.
When using the PWM Output 2 Control Register (PO2DISCR) to disable PWM outputs
1. Set the PO2DISCR register PO2DISP bit to "1".
2. After 1 above, set the PO2DISP bit to "0" and then the PO2DIS bit to "1" (output disabled).
Note: • If a write cycle to any other area occurs between 1 and 2, the setting of the PO2DIS bit has
no effect.
Summary of Contents for M32R/ECU Series
Page 17: ...12 This page is blank for reasons of layout...
Page 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Page 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Page 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Page 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Page 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...