11
11-36
Ver.0.10
■
A-D1 Comparate Data Register (AD1CMP)
<Address: H'0080 0A8C>
Note 1: This register must always be accessed in halfwords.
Note 2: During comparator mode, each bit corresponds to channels 0 through 15.
When comparator mode is selected by setting the A-D1 Single Mode Register 1 AD1SMSL (A-D1
conversion mode selection) bit, the selected analog input value is compared with the value written
to the A-D0 Successive Approximation Register, with the result stored in the corresponding bit of
this comparate data register.
The bit is 0 when the analog input voltage > comparison voltage, and is 1 when the analog input
voltage < comparison voltage.
D0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
D15
AD1
CMP12
AD1
CMP11
AD1
CMP9
AD1
CMP8
AD1
CMP7
AD1
CMP5
AD1
CMP4
AD1
CMP3
AD1
CMP2
AD1
CMP1
AD1
CMP0
AD1
CMP15
AD1
CMP14
AD1
CMP13
AD1
CMP10
AD1
CMP6
<When reset:Indeterminate>
D
Bit Name
Function
R
W
0-15
AD1CMP0-AD1CMP15 (Note 2)
0: Analog input voltage > comparison voltage
–
(A-D1 comparate result flag)
1: Analog input voltage < comparison voltage
A-D CONVERTERS
11.2 A-D Converter Related Registers
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...