參數(shù)資料
型號: M37221M6-079SP
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
中文描述: 單芯片8位CMOS微機電壓合成
文件頁數(shù): 31/61頁
文件大?。?/td> 1386K
代理商: M37221M6-079SP
MITSUBISHI MICROCOMPUTERS
M37221M6-XXXSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
with ON-SCREEN DISPLAY CONTROLLER
31
0
7
A-D control register 2
(AD2: address 00EF
16
)
AAAAAA
Refer to Table 7.
AAAAAA
A-D control register 2
Bit 4
0
0
0
0
Bit 1
0
0
1
0
1
1
Bit 0
0
1
0
1
0
1
A-D COMPARATOR
A-D comparator consists of 6-bit D-A converter and comparator. A-D
comparator block diagram is shown in Figure 30.
The reference voltage “V
ref
” for D-A conversion is set by bits 0 to 5 of
the A-D control register 2 (address 00EF
16
).
The comparison result of the analog input voltage and the reference
voltage “V
ref
” is stored in bit 4 of the A-D control register (address
00EE
16
).
For A-D comparison, set “0” to corresponding bits of the direction
register to use ports as analog input pins. Write the data for select of
analog input pins to bits 0 to 2 of the A-D control register 1 and write
the digital value corresponding to V
ref
to be compared to the bits 0 to
5 A-D control register 2. The voltage comparison starts by writing to
the A-D control register 2, and it is completed after 16 machine cycles
(NOP instruction
8).
Table 7. Relation between contents of A-D control register 2 and
reference voltage “V
ref
1
1
1
Bit 3
0
0
1
1
1
Bit 2
0
0
0
1
1
1
Bit 5
0
0
0
1
1
1
1/128 V
CC
3/128 V
CC
5/128 V
CC
123/128 V
CC
125/128 V
CC
127/128 V
CC
Reference
voltage “V
ref
Fig. 28. Structure of A-D control register 1
Fig. 29. Structure of A-D control register 2
Fig. 30. A-D comparator block diagram
Storage bit of comparison result
0 : Input voltage < reference voltage
1 : Input voltage > reference voltage
A-D control register 1
(AD1: address 00EE
16
)
Analog input pin selection bits
b2
b1
b0
0 0 0 : A-D1
0 0 1 : A-D2
0 1 0 : A-D3
0 1 1 : A-D4
1 0 0 : A-D5
1 0 1 : A-D6
1 1 0 :
1 1 1 :
Do not set.
7
0
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 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
A-D control
register 1
P1
5
/A-D1/INT3
P1
6
/A-D2
P1
7
/A-D3
P0
6
/INT2/A-D4
P3
0
/A-D5
P3
1
/A-D6
相關(guān)PDF資料
PDF描述
M37221M6-286SP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
M37221M6 Single Chip 8 Bits Microcomputer(8位單片機)
M37221 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
M37221EFSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
M37266ME-XXXSP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M37221M6-286SP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
M37221M6H 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
M37221M6H-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
M37221M6H-XXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
M37221M6-XXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER