11
11-36
Rev.1.0
D0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
D15
AD0SAR
11.2.7 A-D Successive Approximation Registers
■
A-D0 Successive Approximation Register (AD0SAR)
<Address: H'0080 0088>
<When reset: indeterminate>
D
Bit Name
Function
R
W
0-5
No functions assigned
0
–
6-15
AD0SAR
• A-D0 successive approximation value
(A-D0 successive approximation
(A-D conversion mode)
value/comparison value)
• Comparison value (comparator mode)
Note: This register must always be accessed in halfwords.
The A-D0 Successive Approximation Register (AD0SAR) is used to read the conversion result of
the A-D0 Converter when operating in A-D conversion mode or write a comparison value when
operating in comparator mode.
In A-D conversion mode, the A-D conversion is performed based on the successive approximation
method. In this method, the reference voltage VREF and analog input voltages are compared
bitwise sequentially beginning with the most significant bit, and the result is set in the A-D0
Successive Approximation Register (AD0SAR)'s each corresponding bit (D6-D15). When the A-D
conversion finishes, the value of this register is transferred to the 10-bit A-D0 Data Register
(AD0DTn) corresponding to the converted channel. When this register is read in the middle of A-D
conversion, it shows an intermediate result of conversion.
In comparator mode, this register has a comparison value (the comparison voltage to "comparate")
written in it. Comparate operation with the analog input pins set with Single Mode Register 1 is
started upon writing to this register. When the comparate operation finishes, the result is stored in
the A-D0 Comparate Data Register (AD0CMP).
The comparison value written to the A-D0 Successive Approximation Register (AD0SAR) during
comparator mode is calculated by the equation below.
A-D CONVERTERS
11.2 A-D Converter Related Registers
Comparison value = H' 3FF
×
Comparison voltage to comparate [V]
VREF0 input voltage [V]
Содержание 32172
Страница 20: ... This is a blank page 16 ...
Страница 21: ...1 1 Overview 1 2 Block Diagram 1 3 Pin Functions 1 4 Pin Layout CHAPTER 1 CHAPTER 1 OVERVIEW ...
Страница 44: ...1 1 24 Rev 1 0 This is a blank page Overview 1 4 Pin Layout ...
Страница 58: ...2 2 14 Rev 1 0 This is a blank page CPU 2 6 Data Formats ...
Страница 122: ...4 4 26 Rev 1 0 This is a blank page EIT 4 13 Precautions on EIT ...
Страница 200: ...7 7 6 Rev 1 0 This is a blank page RESET 7 4 Precautions to Be Taken Immediately after Reset ...
Страница 240: ...8 8 40 Rev 1 0 This is a blank page INPUT OUTPUT PORTS AND PIN FUNCTIONS 8 5 Precautions on Input Output Ports ...
Страница 298: ...9 9 58 Rev 1 0 This is a blank page DMAC 9 4 Precautions on Using DMAC ...
Страница 416: ...10 10 118 Rev 1 0 This is a blank page INPUT OUTPUT TIMERS 10 6 TOM Output Related 16 bit Timers ...
Страница 658: ...14 14 16 Rev 1 0 REAL TIME DEBUGGER RTD 14 4 Typical Connection with the Host This is a blank page ...
Страница 718: ...16 16 16 Rev 1 0 This is a blank page D A CONVERTERS 16 3 Functional Description of the D A Converters ...
Страница 766: ...18 18 22 Rev 1 0 WAIT CONTROLLER 18 3 Typical Operation of the Wait Controller This is a blank page ...
Страница 776: ...19 19 10 Rev 1 0 RAM BACKUP MODE 19 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Страница 777: ...CHAPTER 20 CHAPTER 20 OSCILLATION CIRCUIT 20 1 Oscillator Circuit 20 2 Clock Generator Circuit ...
Страница 782: ...20 20 6 Rev 1 0 OSCILLATION CIRCUIT 20 2 Clock Generator Circuit This is a blank page ...
Страница 856: ...23 23 26 Rev 1 0 This is a blank page ELECTRICAL CHARACTERISTICS 23 6 AC Characteristics ...
Страница 857: ...24 1 A D Conversion Characteristics CHAPTER 24 CHAPTER 24 STANDARD CHARACTERISTICS ...
Страница 859: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Страница 861: ...Appendix 2 1 M32R E Instruction Processing Time APPENDIX 2 APPENDIX 2 INSTRUCTION PROCESSING TIME ...
Страница 865: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...