15
15-42
Rev.1.0
(7) Setting the PD related registers
•
Setting the Prescalers 0C and 1C
Always write the value H'00 in these registers.
•
Setting the PD0 and PD1 Data Updating Disable Event Select Registers
Use these registers to set data-updating disable events.
•
Setting the PD0 and PD1 Data Updating Control Registers
Use these registers to enable or disable updating of PD data.
•
Setting the ABD0 and ABD1 Mask Registers
When using the ABD compare match function, select the bits to be masked.
•
Setting the S Error 0 and S Error 1 Detection Range Select Registers
Use these registers to set the S error detection range.
•
Setting the ABD0 and ABD1 Compare Registers
When using ABD compare match, set the compare value in these registers.
•
Setting the PITCH0 and PITCH1 Compare Registers
When using PITCH compare match, set the compare value in these registers.
(8) Setting the Interrupt Controller
When using PD interrupts, set the priority level of each interrupt.
(9) Setting the TIN and PD Interrupt Control Registers
Use the TIN Interrupt Control Register to enable or disable TIN related interrupts.
Use the PD Interrupt Control Register to enable or disable PD calculation related interrupts.
(10) Setting the DACNT and TPD Control Registers
Set the DACNT Control Register DACNTEN bit to enable the counter. The DACNT Counter
starts counting down, generating sine waves.
Set the value H'11 in the TPD Control Register to enable counting in PD sensor support mode.
Note: Set these two registers simultaneously by using a STH instruction.
PD MODULE
15.3 Initialization for PD Sensor Support
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 ...