English
Language : 

HD6475328-CP10 Datasheet, PDF (293/459 Pages) Hitachi Semiconductor – original Hitachi CMOS microcomputer unit (MCU)
Group Select
CH2
0
1
CH1
0
0
1
1
0
0
1
1
Channel Select
CH0
0
1
0
1
0
1
0
1
Selected Channels
Single Mode Scan Mode
AN0
AN0
AN1
AN0 and AN1
AN2
AN0 to AN2
AN3
AN0 to AN3
AN4
AN4
AN5
AN4 and AN5
AN6
AN4 to AN6
AN7
AN4 to AN7
15.3 CPU Interface
The A/D data registers (ADDRA to ADDRD) are 16-bit registers. The upper byte of each register
can be read directly, but the lower byte is accessed through an 8-bit temporary register (TEMP).
When the CPU or DTC reads the upper byte of an A/D data register, at the same time as the upper
byte is placed on the internal data bus, the lower byte is transferred to TEMP. When the lower
byte is accessed, the value in TEMP is placed on the internal data bus.
A program that requires all 10 bits of an A/D result should perform word access, or should read
first the upper byte, then the lower byte of the A/D data register. Either way, it is assured of
obtaining consistent data. Consistent data are not assured if the program reads the lower byte first.
A program that requires only 8-bit A/D accuracy should perform byte access to the upper byte of
the A/D data register. The value in TEMP can be left unread.
Figure 15-2 shows the data flow when the CPU (or DTC) reads an A/D data register.
279