![Mitsubishi 32172 User Manual Download Page 665](http://html1.mh-extra.com/html/mitsubishi/32172/32172_user-manual_1808662665.webp)
15
15-7
Rev.1.0
15.2.1 Prescaler Unit
The prescalers PRSA, PRSB, PRS0C, and PRS1C each consist of an 8-bit counter which
generates clocks from the internal peripheral clock (20.0 MHz when the CPU clock = 40 MHz) for
supply to each timer.
The prescaler value is initialized to H'00 when reset.
Also when the value of the prescaler register is rewritten, the prescaler starts operating with the
new value simultaneously when the prescaler underflows.
An value in the range of H'00 to H'FF can be set in the prescaler register. The prescaler's divide
ratio is given by the equation below.
■
Prescaler Register A (PRSA)
<Address: H'0080 1800>
D0
1
2
3
4
5
6
D7
PRSA
<When reset: H'00>
D
Bit Name
Function
R
W
0-7
PRSA
Sets the prescaler's divide ratio
The Prescaler A generates a count clock for the D-A converter's parameter table address counter
(DACNT) from the internal peripheral clock (20.0 MHz when the CPU clock = 40 MHz) by dividing it
by an appropriate value. When the value of Prescaler Register A is rewritten while the DACNT is
operating, the prescaler starts operating with the newl value simultaneously when the prescaler
underflows.
The PRSA starts generating a clock after the DACNT Control Register DACNTEN bit is set to 1.
DACNT count period = f / (PRSA + 1)
Note: When using the module along with PD sensors, the PRSA set value is subject to
limitations depending on how the Position Detection Accuracy Select Register is set.
PD MODULE
15.2 PD Module Related Registers
1
Prescaler set value + 1
Prescaler divide ratio =
Summary of Contents for 32172
Page 20: ... This is a blank page 16 ...
Page 21: ...1 1 Overview 1 2 Block Diagram 1 3 Pin Functions 1 4 Pin Layout CHAPTER 1 CHAPTER 1 OVERVIEW ...
Page 44: ...1 1 24 Rev 1 0 This is a blank page Overview 1 4 Pin Layout ...
Page 58: ...2 2 14 Rev 1 0 This is a blank page CPU 2 6 Data Formats ...
Page 122: ...4 4 26 Rev 1 0 This is a blank page EIT 4 13 Precautions on EIT ...
Page 200: ...7 7 6 Rev 1 0 This is a blank page RESET 7 4 Precautions to Be Taken Immediately after Reset ...
Page 298: ...9 9 58 Rev 1 0 This is a blank page DMAC 9 4 Precautions on Using DMAC ...
Page 776: ...19 19 10 Rev 1 0 RAM BACKUP MODE 19 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 782: ...20 20 6 Rev 1 0 OSCILLATION CIRCUIT 20 2 Clock Generator Circuit This is a blank page ...
Page 856: ...23 23 26 Rev 1 0 This is a blank page ELECTRICAL CHARACTERISTICS 23 6 AC Characteristics ...
Page 857: ...24 1 A D Conversion Characteristics CHAPTER 24 CHAPTER 24 STANDARD CHARACTERISTICS ...
Page 859: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 865: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...