參數(shù)資料
型號(hào): HD404394S
廠商: Hitachi,Ltd.
英文描述: 4-bit HMCS400-series microcomputer(4位單片微計(jì)算機(jī))
中文描述: 4位HMCS400系列微電腦(4位單片微計(jì)算機(jī))
文件頁數(shù): 73/100頁
文件大?。?/td> 610K
代理商: HD404394S
HD404344R Series/HD404394 Series
73
A/D Converter
The MCU has a built-in A/D converter that uses a sequential comparison method with a register ladder. It
can perform a digital conversion with 3 or 4 analog inputs at 8-bit resolution. The following describes the
features of the A/D converter.
A/D mode register 1 (AMR1: $019) is used to select digital or analog ports (figure 53).
A/D mode register 2 (AMR2: $01A) is used to set the A/D conversion speed (figure 54).
The A/D channel register (ACR: $016) is used to select an analog input channel (figure 55).
A/D conversion is started by setting the A/D start flag (ADSF: $020, bit 2) to 1. After the conversion is
completed, converted data is stored in the A/D data register, and at the same time, the A/D start flag is
cleared to 0 (figure 56).
By setting the I
AD
off flag (IAOF: $021, bit 2) to 1, the current flowing through the resistance ladder
can be cut off even in standby or active mode (figure 57).
A/D data registers (ADRL: $017, ADRU: $018) are read-only registers used to store the conversion
result. (ADRL: lower 4 bits, ADRU: upper 4 bits.) These registers cannot be cleared by a reset input.
Also, data in these registers are not guaranteed during the conversion period. After the conversion is
completed, an 8-bit result is set to these registers and kept until the next conversion starts (figures 58,
59, and 60).
Notes On Use:
Use the SEM or SEMD instruction for writing to the A/D start flag (ADSF).
Do not write to the A/D start flag during A/D conversion.
Data in the A/D data register during A/D conversion is undefined.
Since the operation of the A/D converter is based on the clock from the system oscillator, the A/D
converter does not operate in stop mode. In addition, to save power dissipation while in a stop mode, all
current flowing through the converter’s resistance ladder is cut off.
Output signal level from other ports should be fixed during A/D conversion.
The port data register (PDR) is initialized to 1 by an MCU reset. At this time, if pull-up MOS is selected
as active by bit 3 of the miscellaneous register (MIS3), the port will be pulled up to V
CC
. When using a
shared R port/analog input pin as an input pin, clear PDR to 0. Otherwise, if pull-up MOS is selected by
MIS3 and PDR is set to 1, a pin selected by bit 1 of the A/D mode register as an analog pin will remain
pulled up.
相關(guān)PDF資料
PDF描述
HD404612 4-Bit Single-Chip Microcomputer
HD404612FS 4-Bit Single-Chip Microcomputer
HD404612H 4-Bit Single-Chip Microcomputer
HD404612TF 4-Bit Single-Chip Microcomputer
HD404614 4-Bit Single-Chip Microcomputer
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HD404418F 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-Bit Microcontroller
HD404418H 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-Bit Microcontroller
HD404418S 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-Bit Microcontroller
HD404439FS 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:Five timer/counters
HD404439H 制造商:HITACHI 制造商全稱:Hitachi Semiconductor 功能描述:Five timer/counters