參數(shù)資料
型號: M37161M8-XXXFP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO42
封裝: 0.450 INCH, 0.80 MM PITCH, PLASTIC, SSOP-42
文件頁數(shù): 72/129頁
文件大小: 1092K
代理商: M37161M8-XXXFP
Rev.1.00
2003.11.25
page 47 of 128
M37161M8/MA/MF-XXXSP/FP,M37161EFSP/FP
8.8 A-D COMPARATOR
The A-D comparator consists of a 7-bit D-A converter and a com-
parator. The A-D comparator block diagram is shown in Figure 8.8.1.
The reference voltage “Vref” for D-A conversion is set by bits 0 to 6 of
A-D control register 2 (address 00ED16).
The comparison result of the analog input voltage and the reference
voltage “Vref” is stored in bit 4 of A-D control register 1 (address
00EC16).
For A-D comparison, set “0” to corresponding bits of the direction
register to use ports as analog input pins. Write the data to select
analog input pins for bits 0 to 2 of A-D control register 1 and write the
digital value corresponding to Vref to be compared to bits 0
to 4 of A-D control register 2. The voltage comparison is started by
writing to A-D control register 2, and it is completed after 16 machine
cycles (NOP instruction 8).
Fig. 8.8.1 A-D Comparator Block Diagram
A-D control register 1
Bits 0 to 2
Comparator control
Data bus
Bit 4
Switch tree
A-D control
register 2
Resistor ladder
Compa-
rator
Analog
signal
switch
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
A-D control
register 1
AD1
AD2
AD3
AD4
AD5
AD6
AD7
AD8
相關(guān)PDF資料
PDF描述
M37161MF-XXXSP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP42
M37161EFSP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP42
M37161MA-XXXSP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP42
M37161M8-XXXSP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP42
M37202E3SP 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PDIP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M37161M8-XXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37161MA-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37161MA-XXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37161MF-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37161MF-XXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER