參數(shù)資料
型號(hào): HD404654
廠商: Hitachi,Ltd.
英文描述: RESISTOR, 0.10 OHM 5W
中文描述: 4位單片機(jī)
文件頁(yè)數(shù): 84/109頁(yè)
文件大?。?/td> 430K
代理商: HD404654
HD404654 Series
84
Comparator
The block diagram of the comparator is shown in figure 71. The comparator compares input voltage with
the reference voltage.
Setting 1 to bit 3 (CER3) of the compare enable register (CER: $018) executes a voltage comparison. If an
input voltage at COMP
0
or COMP
1
is higher than the reference voltage, the TM or TMD command sets the
status flag (ST) high for the corresponding bits of the compare data register (CDR: $017) to COMP
0
or
COMP
1
. On the other hand, if an input voltage at COMP
0
or COMP
1
is lower than the reference voltage,
the TM or TMD command clears the ST to 0.
S
+
Com-
parator
Comparator data
register (CDR)
Comparator enable
register (CER)
I
0
COMP
VC
2
ref
COMP
1
Figure 71 Block Diagram of Comparator
Compare Enable Register (CER: $018):
Three-bit write-only register which enables comparator
operation, and selects the reference voltage and the analog input pin.
Compare Data Register (CDR: $017):
Two-bit read-only register which latches the result of the
comparison between the analog input pins and the reference voltage. Bits 0 and 1 reflect the results of
comparison with COMP
0
and COMP
1
, respectively. This register can be read only by the TM or TMD
command. Only bit CER3 corresponds to the analog input pin, which is selected by bits CER0 and CER1.
After a compare operation, the data in this register is not retained.
Note on Use:
During compare operation, pins RD
0
/COMP
0
and RD
1
/COMP
1
operate as analog inputs and
cannot operate as R ports.
The comparator can operate in active mode but is disabled in other modes.
RE
0
/VC
ref
cannot operate as an R port when the external input voltage is selected as the reference.
相關(guān)PDF資料
PDF描述
HD404654H 4-Bit Single-Chip Microcomputer
HD404654S 4-Bit Single-Chip Microcomputer
HD4074654 4-Bit Single-Chip Microcomputer
HD4074654H 4-Bit Single-Chip Microcomputer
HD4074654S 4-Bit Single-Chip Microcomputer
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HD404654H 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer
HD404654S 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:4-Bit Single-Chip Microcomputer
HD404654SERIES 制造商:未知廠家 制造商全稱:未知廠家 功能描述:
HD4046612 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit
HD4046612H 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit