upd78f0103hmca1-5a4-a Renesas Electronics Corporation., upd78f0103hmca1-5a4-a Datasheet - Page 186

no-image

upd78f0103hmca1-5a4-a

Manufacturer Part Number
upd78f0103hmca1-5a4-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(2) Analog input channel specification register (ADS)
(3) A/D conversion result register (ADCR)
186
Symbol
ADCR
Cautions 1. When writing to the A/D converter mode register (ADM) and analog input channel
This register specifies the analog voltage input port to be A/D converted.
ADS can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears this register to 00H.
Cautions 1. Be sure to clear bits 2 to 7 of ADS to 0.
This register is a 16-bit register that stores the A/D conversion result. The lower six bits are fixed to 0. Each time
A/D conversion ends, the conversion result is loaded from the successive approximation register, and is stored in
ADCR in order starting from the most significant bit (MSB). FF09H indicates the higher 8 bits of the conversion
result, and FF08H indicates the lower 2 bits of the conversion result.
ADCR can be read by a 16-bit memory manipulation instruction.
RESET input makes ADCR undefined.
Address: FF08H, FF09H
2. If data is read from ADCR, a wait cycle is generated.
2. If data is written to ADS, a wait cycle is generated.
specification register (ADS), the contents of ADCR may become undefined.
conversion result following conversion completion before writing to ADM and ADS. Using
timing other than the above may cause an incorrect conversion result to be read.
CAUTIONS FOR WAIT.
CAUTIONS FOR WAIT.
Figure 10-5. Format of Analog Input Channel Specification Register (ADS)
Address: FF29H
Symbol
ADS
Figure 10-6. Format of A/D Conversion Result Register (ADCR)
ADS1
0
7
0
0
1
1
FF09H
After reset: Undefined
After reset: 00H
ADS0
0
6
0
1
0
1
CHAPTER 10 A/D CONVERTER
User’s Manual U16846EJ3V0UD
ANI0
ANI1
ANI2
ANI3
5
0
Analog input channel specification
R/W
0
4
R
0
3
0
2
0
ADS1
1
For details, see CHAPTER 27
For details, see CHAPTER 27
0
FF08H
ADS0
0
0
0
0
Read the
0

Related parts for upd78f0103hmca1-5a4-a