A-D0 Comparate Data Register - Mitsubishi Electric M32R Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

11

11.2.6 A-D0 Comparate Data Register

A-D0 Comparate Data Register (AD0CMP)
D0
1
2
AD0
AD0
AD0
CMP0
CMP1
CMP2
D
Bit Name
0-15
AD0CMP0-AD0CMP15 (Note 2)
(A-D0 comparate result flag)
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-D0 Single Mode Register 1 AD0SMSL (A-D0
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.
3
4
5
6
AD0
AD0
AD0
AD0
CMP3
CMP4
CMP5
CMP6
CMP7
11-35
11.2 A-D Converter Related Registers
7
8
9
10
11
AD0
AD0
AD0
AD0
AD0
CMP8
CMP9
CMP10
CMP11
Function
0: Analog input voltage > comparison voltage
1: Analog input voltage < comparison voltage
A-D CONVERTERS
<Address: H'0080 008C>
12
13
14
D15
AD0
AD0
AD0
AD0
CMP12
CMP13
CMP14
CMP15
<When reset:Indeterminate>
R
Ver.0.10
W

Advertisement

Table of Contents
loading

Table of Contents