UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 417

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
14.2 A/D CONVERTER MODE REGISTER (ADM)
is shown in Figure 14-3.
bit is set (1), the conversion operation is initialized with each input of a valid edge as an external trigger to the INTP5 pin.
When the TRG bit is cleared (0), the conversion operation is performed without regard to the INTP5 pin.
when cleared (0), all conversion operations are stopped even if conversion is in progress. In this case, the A/D conversion
result register (ADCR) is not updated and an INTPAD interrupt request is not generated. Also, the power supply to the
voltage comparator is stopped, and the A/D converter consumption current is reduced.
ADM is an 8-bit register that controls A/D converter operations.
The ADM register can be read or written to with an 8-bit manipulation instruction or bit manipulation instruction. Its format
Bit 0 (MS) controls the operating mode.
Bits 1, 2 and 3 (ANI0, 1, 2) select the analog inputs for A/D conversion.
Bit 5 (SCMD) controls the A/D conversion operation in scan mode.
Bit 6 (TRG) enables external synchronization of the A/D conversion operation. If the TRG bit is set (1) when the CS
Bit 7 (CS) controls the A/D conversion operation. When the CS bit is set (1) the conversion operation is started, and
RESET input clears the ADM register to 00H.
Caution When the STOP mode or IDLE mode is used, the consumption current should be reduced by clearing
(0) the CS bit before entering the STOP or IDLE mode. If the CS bit remains set (1), the conversion
operation will be stopped by entering the STOP or IDLE mode, but the power supply to the voltage
comparator will not be stopped, and therefore the A/D converter consumption current will not be
reduced.
CHAPTER 14 A/D CONVERTER
377

Related parts for UPD784026